Conversation
WalkthroughWalkthroughThe changes across the codebase involve updates to contract deployment configurations, error handling enhancements, and test modifications. A new field related to output bisection game genesis output root has been added to several contracts, and hard-coded values have replaced configurable ones in some instances. Error handling has been improved in various functions, and new test scenarios have been added to ensure robustness. Additionally, there are updates to logging, signal handling, and temporary directory creation for end-to-end testing. Changes
Note: The table groups files with similar changes together to save space and omits parts of the file paths that are not essential for identifying the file. TipsChat with CodeRabbit Bot (
|
|
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #8351 +/- ##
===========================================
+ Coverage 40.01% 40.40% +0.38%
===========================================
Files 164 132 -32
Lines 6180 5336 -844
Branches 1004 855 -149
===========================================
- Hits 2473 2156 -317
+ Misses 3633 3106 -527
Partials 74 74
Flags with carried forward coverage won't be shown. Click here to find out more.
|
27f6d8e to
579fdcc
Compare
ajsutton
left a comment
There was a problem hiding this comment.
Logic looks good to me. I'm guessing not all the bindings changes will be required when updated to the latest develop. I haven't tried to review the solidity tests carefully but all the solidity code should be reviewed by someone who knows what they're doing there anyway. :)
The local context calculation and finding the starting and disputed claims matches what the challenger does.
6e58b8b to
6a20e8d
Compare
packages/contracts-bedrock/src/dispute/interfaces/IOutputBisectionGame.sol
Show resolved
Hide resolved
tynes
left a comment
There was a problem hiding this comment.
I wouldn't say that I have the context to thoroughly review the implementation details but the code looks sane to me. Going to need to rely on testing for correctness
6a20e8d to
263c041
Compare
|
Need this in to fix tests in #8394 since it relies on having the |
|
The test failing in the merge queue is for the output bisection game - exactly what this PR is changing. I'd say it's legit broken when this PR combines with the latest changes on develop, but either way it definitely is getting flakier so we shouldn't just keep retrying the merge an need to work out how to fix it. |
78d5475 to
d37b1c3
Compare
The test failing is the codecov test which is saying 0% of the output bisection game is covered with tests (incorrect). This is why i was attempting to add to the merge queue a few times... |
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Load the split depth from the contract when creating output_cannon games Increase the max game depth so the cannon trace completes. Legacy cannon games now have a fixed depth of 30 to avoid making those tests even slower. Fix extra data creation in e2e helpers so the l2 block number is set correctly.
d37b1c3 to
833e355
Compare



Overview
Implements the first iteration of the
OutputBisectionGame, specified in Notion.Notes
Metadata
closes https://github.com/ethereum-optimism/client-pod/issues/94
closes https://github.com/ethereum-optimism/client-pod/issues/256