-
Notifications
You must be signed in to change notification settings - Fork 966
feat: Optimism execution changes #682
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 1 commit
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
ec46f3e
Start `op-revm` changes
clabby 66d200d
Start fee distribution changes
clabby c61c762
Add L1 fee deduction
clabby 2257bb9
Start deposit tx gas accounting
clabby 3fd2f61
Move L1 cost into `TxEnv`
clabby 2cc96da
Add helpers for computing the L1 cost of a transaction back
clabby 75f8287
:broom:
clabby 4154183
Enforce runtime config flag for cross-compatibility
clabby 9bb0c49
style: Use env rather than passing a flag
clabby a31c31c
review: Address first few comments
clabby 9490270
Flatten optimism hoisted tx fields
refcell 8f0caa1
feat flag ontop
refcell 2d137e2
Merge pull request #2 from anton-rs/refcell/tx-field-flattening
refcell 128e440
Refactor l1 cost and mint computations
refcell 6b868b3
l1 cost erroring
refcell ae76b7e
Merge pull request #4 from anton-rs/refcell/refactors
refcell d642582
Refactor gas usage functions
refcell 868f593
Rip gas construction back to the transact
refcell 8eab1ad
Rip out crate use gas
refcell f2d59b9
Merge pull request #5 from anton-rs/refcell/gas-refactor
refcell 063b4e6
push gas usage unit logic into the gas impl
refcell 21bba33
Resolve env conflicts
refcell f97400f
Merge pull request #7 from anton-rs/refcell/upstream-sync
refcell b0d703c
Further document the cfg env optimism bool field.
refcell 0404385
Reword
refcell d9cd733
Add deposit sys tx docs
refcell cee3dae
Fix the spec enabled function and add unit tests.
refcell af654a3
data gas tests
refcell e60a4d5
calculate tx l1 cost test
refcell fa8b4e0
Add a zero rollup data gas cost check
refcell f0d7ad6
Fix suggestions
refcell 43254d1
Merge pull request #10 from anton-rs/refcell/spec-enabling-fixes
refcell 5ef737f
Merge pull request #8 from anton-rs/refcell/optimism-hot-toggle
refcell fc227f6
Merge pull request #9 from anton-rs/refcell/deposit-sys-tx
refcell d193011
Bump the account nonce post-regolith for contract creation
refcell 710c6ed
Add tx validation tests
refcell 988d640
Add a deposit tx test
refcell f7a3373
Add gas tests
refcell b31029e
Add gas tests
refcell a0cc070
Fix regolith check
refcell dc28e02
Merge pull request #12 from anton-rs/refcell/validate-tx-tests
refcell 99a364e
Merge pull request #11 from anton-rs/refcell/bump-nonce-post-regolith
refcell b163419
Fix func ordering
refcell 742c79a
Merge pull request #6 from anton-rs/refcell/refactor-gas-usage
refcell b0f4d1f
Merge branch 'main' into refcell/upstreamsync
refcell d3057fd
Merge pull request #14 from anton-rs/refcell/upstreamsync
refcell 23373ae
Fix test
refcell 4acb344
Merge pull request #15 from anton-rs/refcell/fix-test
refcell 531aca0
Swap the l1_cost to use the raw enveloped tx
refcell bdc334e
Update crates/revm/src/evm_impl.rs
refcell a92bb4f
Update crates/revm/src/evm_impl.rs
refcell 21d907d
Update crates/primitives/src/env.rs
refcell 8b0a222
Merge pull request #16 from anton-rs/refcell/l1_cost_refactor
refcell 27760ca
Make clippy happy
clabby 4fd2422
Merge pull request #17 from anton-rs/clippy
refcell 0d4ccb5
perf: Only load `L1BlockInfo` once
clabby bb9acfe
Remove extra `try_fetch` fn
clabby 3f9ca9d
perf: lazy `try_fetch` eval
clabby 8fd3a3c
andreas was right
clabby 2c72f86
Improve error abstraction
clabby 03fd637
Merge pull request #18 from anton-rs/clabby/reduce-db-reads
refcell 61b21a0
EVM Impl Tests
refcell 476f7f2
More tests
refcell 2096fd0
Merge pull request #13 from anton-rs/refcell/mint-value-commits
clabby e7a2440
Fix breaking changes
refcell 21880f7
Merge pull request #21 from anton-rs/refcell/hot-fix
clabby 2962e7a
Update the enveloped tx to be optional.
refcell 0970280
Merge branch 'main' into refcell/quick-upstream-sync
refcell ad2c951
Merge pull request #23 from anton-rs/refcell/quick-upstream-sync
refcell bd03c2f
Merge pull request #22 from anton-rs/refcell/optional-envelope
refcell c1d667f
Merge REVM upgrades
clabby 3c7878a
Merge pull request #24 from anton-rs/cl/merge-revm-upgrades
refcell fff1d42
Upstream sync?
refcell 572f52c
Merge pull request #25 from anton-rs/refcell/upstream-fixes
clabby feec29a
Introduce call return handler
rakita 2b9d0cc
Merge pull request #26 from rakita/call_return_handler
refcell 5918f28
feat: Handler logic
rakita 07c4cbc
Merge remote-tracking branch 'origin/main' into final_handler
rakita 8fa4ea3
Merge pull request #27 from rakita/handler
refcell c656896
Merge pull request #28 from rakita/oprevm-merge
refcell 8d97ea3
remove USE_GAS from handlers
rakita feaafe8
Merge pull request #30 from rakita/rm_handler_use_gas
refcell 5eacff1
Fix lints
refcell ba0266a
Merge branch 'main' into refcell/quick-us
refcell d87381b
Merge pull request #31 from anton-rs/refcell/quick-us
refcell e63c990
Update runner.rs
clabby 7aaf390
Merge branch 'main' into refcell/another-quick-us
refcell 4a615ea
Merge pull request #32 from anton-rs/refcell/another-quick-us
refcell ec1f488
Fix param mutability
refcell 8048613
Merge pull request #33 from anton-rs/refcell/fix-param-mutability
refcell 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
Next
Next commit
Start
op-revm changes
- Loading branch information
commit ec46f3e5e13d0eeeefc5e17941eb863463b6cdeb
There are no files selected for viewing
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 |
|---|---|---|
|
|
@@ -59,3 +59,4 @@ arbitrary = [ | |
| "dep:proptest-derive", | ||
| "revm-primitives/arbitrary", | ||
| ] | ||
| optimism = ["revm-primitives/optimism"] | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,3 +89,4 @@ arbitrary = [ | |
| "dep:proptest-derive", | ||
| "bitflags/arbitrary", | ||
| ] | ||
| optimism = [] | ||
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
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.