-
Notifications
You must be signed in to change notification settings - Fork 1k
[pallet-revive] revm refactor #9818
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 5 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
630c1ad
refactor
pgherveou 8d15995
rm comments
pgherveou dd361ed
wip
pgherveou d0efc26
fix
pgherveou 3bcde5b
lint
pgherveou 66db1b2
fix missing alloc import
pgherveou 3015039
fix
pgherveou d52c3c7
Update substrate/frame/revive/src/vm/evm/instructions/arithmetic/modu…
pgherveou 1eb8141
fixes
pgherveou fec8286
wip
pgherveou 87517a9
just use safe code
pgherveou 7331790
nit
pgherveou d745f06
simplify tests
pgherveou 8b7d87f
PR reviews
pgherveou 2f82899
fix
pgherveou fb7da96
pr review
pgherveou d93dd78
rm exra copytocontract
pgherveou a1c29aa
fix
pgherveou e2c0230
pr review
pgherveou 3f73bc1
pr review
pgherveou a6a3293
PR review
pgherveou 15542fa
resize
pgherveou 4c34be1
fix
pgherveou b5ddc9a
set capacity
pgherveou 91f676f
nit
pgherveou 9ca0ac9
fix
pgherveou 9ea176c
clippy
pgherveou 96d2a51
fix
pgherveou 4ff8fe2
fix
pgherveou 77c4871
share common error
pgherveou 07f5c9f
fix
pgherveou a51ea32
Update substrate/frame/revive/src/vm/evm/instructions/system.rs
pgherveou 600e5ac
Merge branch 'master' into pg/revm-refactor
pgherveou e8f42ac
fixes
pgherveou 0424993
fix
pgherveou 233c6cb
fix
pgherveou 398c5af
nit
pgherveou c02a01d
fmt
pgherveou f8b88ec
nit
pgherveou 262172f
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] caed10e
nit
pgherveou a9d6ee9
rm log
pgherveou 4d74dbe
nit
pgherveou 05f57d1
simpler sol interface
pgherveou 7f4bb09
clippy
pgherveou fd541ad
fmt prdoc
pgherveou ae05b84
fmt
pgherveou 73d3f15
simplify tests
pgherveou 389e749
fmt with forge fmt
pgherveou 01c7d46
nit
pgherveou 2c0964a
add back removed test
pgherveou 48105db
Merge branch 'master' into pg/revm-refactor
pgherveou 56a0c34
fix
pgherveou 7bf26db
Rve/9565 pallet revive evm backend ensure memory dos safety2 (#9887)
0xRVE 8d6b69b
Update substrate/frame/revive/src/limits.rs
pgherveou 4e24f59
Update substrate/frame/revive/src/limits.rs
pgherveou 6329694
cleanup unsafe & unsued traits impl
pgherveou 765733d
nit
pgherveou efd0512
Merge branch 'master' into pg/revm-refactor
pgherveou 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary? Isn't charge already supposed to stop execution when not enough gas? Can't the
ControlFlowbe created by the caller?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is similar just a convenient fn to return a ControlFlow instead of a Result