-
Notifications
You must be signed in to change notification settings - Fork 966
Migrate primitive_types::U256 to ruint::Uint<256, 4>
#239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
bf17327
wip
shekhirin 3e3c9b5
fix comparisons with zero
shekhirin 4f4ee35
new failing test in run()
shekhirin 5a999b6
remove failing test testing
shekhirin 5876d22
fix default BlockEnv values
shekhirin a86388b
splice -> copy_from_slice
shekhirin 1611897
use more ruint algorithms
shekhirin e0fb329
revertme: use primitive_types for ADD/MUL/SUB which is better than ruint
shekhirin 07956b2
Revert "revertme: use primitive_types for ADD/MUL/SUB which is better…
shekhirin 3a2c2f1
4 * 8 -> 32 :kekw:
shekhirin c2fc13a
bump ruint
shekhirin 86e7bdf
fix revm-js
shekhirin 6df65f8
Use ruint 1.5.1.
recmo a107572
Better inlining
recmo 5a72f4f
fix clippy
shekhirin 391669e
fixes after remco's review
shekhirin 037d94e
bump ruint, fix wasm example
shekhirin fd32ec2
replace exp implementation with pow from ruint
shekhirin 46b92f2
revert B160 changes
shekhirin cc9756b
bump ruint
shekhirin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -34,6 +34,16 @@ run tests with command: `cargo run --release -- statetest tests/GeneralStateTest | |
|
|
||
| `GeneralStateTests` contains all tests related to EVM. | ||
|
|
||
| ## Running benchmarks | ||
|
|
||
| ```shell | ||
| cargo run --package revm-test --release --bin snailtracer | ||
| ``` | ||
|
|
||
| ```shell | ||
| cargo flamegraph --root --freq 4000 --min-width 0.001 --package revm-test --bin snailtracer | ||
| ``` | ||
|
|
||
| # Used by | ||
|
|
||
| * Foundry project (as their main EVM): https://github.com/foundry-rs/foundry | ||
|
|
@@ -46,5 +56,3 @@ run tests with command: `cargo run --release -- statetest tests/GeneralStateTest | |
| There is public telegram group: https://t.me/+Ig4WDWOzikA3MzA0 | ||
|
|
||
| Or if you want to hire me or contact me directly, here is my email: [email protected] and telegram: https://t.me/draganrakita | ||
|
|
||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.