-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat/interop: update L1BlockInterop
#10584
Conversation
WalkthroughThe recent updates bring significant enhancements to the Changes
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 (
|
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.
Actionable comments posted: 1
Out of diff range and nitpick comments (1)
packages/contracts-bedrock/src/L2/L1BlockInterop.sol (1)
5-6
: Consider documenting the purpose of the new imports.Adding comments to explain why
EnumerableSetLib
andGasPayingToken
are imported could improve code readability and maintainability.
704c556
to
ffe58a6
Compare
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.
Actionable comments posted: 1
ffe58a6
to
c937501
Compare
ff7bc14
to
a293c9e
Compare
Needs tests but code structure is good |
a293c9e
to
5387da4
Compare
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.
Actionable comments posted: 1
5387da4
to
29cccad
Compare
06a3a27
to
57c45d0
Compare
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.
Actionable comments posted: 2
ad2107f
to
4b1c1a8
Compare
6fcf17b
to
6860c6f
Compare
4b1c1a8
to
227998d
Compare
6860c6f
to
1f3fc0a
Compare
1f3fc0a
to
479bc50
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #10584 +/- ##
============================================
- Coverage 55.13% 39.26% -15.88%
============================================
Files 37 27 -10
Lines 2900 1821 -1079
Branches 415 415
============================================
- Hits 1599 715 -884
+ Misses 1269 1106 -163
+ Partials 32 0 -32
Flags with carried forward coverage won't be shown. Click here to find out more. |
* contracts-bedrock: create diff tests for StaticConfig * contracts-bedrock: refactor encodeGasPayingToken * contracts-bedrock: define uint256Type for differential testing * contracts-bedrock: fix missing line in differential-testing * contracts-bedrock: return packed in utils * contracts-bedrock: define args as global vars in differential-testing * contracts-bedrock: improve args for encodeGasPayingToken in diff testing * contracts-bedrock: update L1BlockInterop * contracts-bedrock: remove duplicates in differential-testing * contracts-bedrock: use SET_GAS_PAYING_TOKEN in L1BlockInterop * contracts-bedrock: update semver-lock
L1BlockInterop
is updated according to the updates to the specs. This PR implements theL1BlockInterop
,L1Block
changes from #10452, which was closed in support of smaller PRs