This repository has been archived by the owner on Aug 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement bn256 precompiles * implement bigModExp * add comments and test * run precompile tests * skip failing tests for now * add distinction between atlantis and pre-atlantis precompiles * refactor precompiles to separate pre and post atlantis * implement bn256 precompiles * implement bigModExp * add comments and test * run precompile tests * skip failing tests for now * add distinction between atlantis and pre-atlantis precompiles * refactor precompiles to separate pre and post atlantis * fix ecrecover edge case * implement bn256 precompiles * implement bigModExp * add comments and test * run precompile tests * skip failing tests for now * add distinction between atlantis and pre-atlantis precompiles * refactor precompiles to separate pre and post atlantis * implement bn256 precompiles * implement bigModExp * add comments and test * run precompile tests * fix ecrecover edge case * update go.mod * remove skip for previously failing tests * attempt to fix go.mod * attempt to fix go.mod * fix go.mod termiu version
- Loading branch information
Showing
12 changed files
with
307 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,5 @@ coverage.txt | |
.vscode | ||
|
||
accounts/testdata/keystore/accounts.db | ||
*sublime-project | ||
*sublime-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package common | ||
|
||
const ( | ||
MaxInt8 = 1<<7 - 1 | ||
MinInt8 = -1 << 7 | ||
MaxInt16 = 1<<15 - 1 | ||
MinInt16 = -1 << 15 | ||
MaxInt32 = 1<<31 - 1 | ||
MinInt32 = -1 << 31 | ||
MaxInt64 = 1<<63 - 1 | ||
MinInt64 = -1 << 63 | ||
MaxUint8 = 1<<8 - 1 | ||
MaxUint16 = 1<<16 - 1 | ||
MaxUint32 = 1<<32 - 1 | ||
MaxUint64 = 1<<64 - 1 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.