-
Notifications
You must be signed in to change notification settings - Fork 3.9k
op-acceptance-tests: Add EL eth_simulate acceptance test #18724
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
base: develop
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## develop #18724 +/- ##
===========================================
- Coverage 73.82% 66.58% -7.25%
===========================================
Files 189 55 -134
Lines 11252 4031 -7221
===========================================
- Hits 8307 2684 -5623
+ Misses 2799 1203 -1596
+ Partials 146 144 -2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Add ReturnFullTransactions to simulation params and require the RPC call to succeed. Assert exactly one block and one transaction are returned and verify the transaction is a dynamic fee tx (type 0x2).
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.
lgtm, passes for me locally. I think this threads the needle well: adding coverage where it's needed (ensuring eth_simulateV1 continues to function) without duplicating coverage already present in op-geth/op-reth.
Decode blobGasUsed with hexutil and assert it's nonzero to ensure eth_simulateV1 can estimate DA size. Also fix a comment typo (bock -> block).
Call eth_simulateV1 with block "0x0" (genesis) and require an error to ensure the method cannot be used on the genesis block move test under "base" directory
| ) | ||
|
|
||
| replace github.com/ethereum/go-ethereum => github.com/ethereum-optimism/op-geth v1.101603.6-rc.1 | ||
| replace github.com/ethereum/go-ethereum => github.com/ethereum-optimism/op-geth v1.101604.1-0.20260108133432-e4826126d221 |
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.
Will this make develop non-release ready?
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.
Let's keep this convo open and not merge the PR until we have an RC to point to.
I expect this to fail, but it passes against ethereum-optimism/op-geth#732.
Merge plan:
eth_simulateV1after Jovian fork op-geth#732