feat: Squash libraries in dispute contracts#10351
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Semgrep found 2 Named return arguments to functions must be appended with an underscore ( Semgrep found 6
Prefer Semgrep found 3 Inputs to functions must be prepended with an underscore ( |
754bca1 to
c02683f
Compare
a95b6ae to
62d430b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #10351 +/- ##
===========================================
+ Coverage 42.33% 43.47% +1.14%
===========================================
Files 73 41 -32
Lines 4845 3986 -859
Branches 766 614 -152
===========================================
- Hits 2051 1733 -318
+ Misses 2684 2143 -541
Partials 110 110
Flags with carried forward coverage won't be shown. Click here to find out more. |
62d430b to
f184c56
Compare
Reorganizes the libraries in the dispute contracts to remove circular dependencies. The existing dependency structure resolves within the monorepo's environment, but not when the monorepo's contracts are imported as a forge project dependency. This unblocks our ability to use these contracts for post-checks in `superchain-ops`.
f184c56 to
f186cf9
Compare
WalkthroughWalkthroughThe recent updates involve a significant reorganization of the file structure and renaming of import paths, focusing on dispute-related types and error handling in Solidity contracts. New types and utility libraries have been introduced, enhancing data handling and functionality. The changes also include updates to versioning and adjustments in variable naming and type declarations to ensure consistency and clarity across the contract suite. Changes
Recent Review DetailsConfiguration used: .coderabbit.yml Files ignored due to path filters (5)
Files selected for processing (33)
Files skipped from review due to trivial changes (9)
Additional Context UsedLearnings (1)
Additional comments not posted (35)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
## Overview Removes references to the `ClaimHash` type, in favor of "state witness hash". This is a more accurate description, and the `ClaimHash` type was removed in ethereum-optimism/optimism#10351
Removes references to the `ClaimHash` type, in favor of "state witness hash". This is a more accurate description, and the `ClaimHash` type was removed in ethereum-optimism/optimism#10351
* feat: Squash libraries in dispute contracts Reorganizes the libraries in the dispute contracts to remove circular dependencies. The existing dependency structure resolves within the monorepo's environment, but not when the monorepo's contracts are imported as a forge project dependency. This unblocks our ability to use these contracts for post-checks in `superchain-ops`. * Remove `IDisputeGame` dep in `LibUDT` * semver lock
Removes references to the `ClaimHash` type, in favor of "state witness hash". This is a more accurate description, and the `ClaimHash` type was removed in ethereum-optimism/optimism#10351 Co-authored-by: Inphi <mlaw2501@gmail.com>

Overview
Reorganizes the libraries in the dispute contracts to remove circular
dependencies. The existing dependency structure resolves within the
monorepo's environment, but not when the monorepo's contracts are
imported as a forge project dependency. This unblocks our ability to use
these contracts for post-checks in
superchain-ops.