-
Notifications
You must be signed in to change notification settings - Fork 3.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
EIP4844 L1 Smart Contract Updates #8715
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8715 +/- ##
===========================================
+ Coverage 34.57% 44.47% +9.89%
===========================================
Files 167 41 -126
Lines 7170 2071 -5099
Branches 1213 117 -1096
===========================================
- Hits 2479 921 -1558
+ Misses 4539 1104 -3435
+ Partials 152 46 -106
Flags with carried forward coverage won't be shown. Click here to find out more. |
762db8f
to
f56d83b
Compare
/// block distrubution. | ||
enum UpdateType { | ||
BATCHER, | ||
GAS_CONFIG, | ||
GAS_LIMIT, | ||
UNSAFE_BLOCK_SIGNER | ||
UNSAFE_BLOCK_SIGNER, | ||
FEE_SCALARS_ECOTONE |
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.
went back and forth around keeping the old GAS_CONFIG
naming vs this FEE_SCALARS
one - if using the Fee Scalar naming instead, we could techincally omit the "ecotone" suffix throughout - open to thoughts
basefeeScalar = _basefeeScalar; | ||
blobBasefeeScalar = _blobBasefeeScalar; | ||
|
||
bytes memory data = abi.encode(_basefeeScalar, _blobBasefeeScalar); |
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 do encodePacked
Taking over this PR from Anika since she's out for the holidays, will resubmit a new PR with these changes. Feel free to close this one (I don't have permission). |
Superceded by: #8723 |
Description
Splitting out L1 contract changes in a separate PR since they're fully separate from the L2 contract changes in #8712 .
Adds new scalars to the SystemConfig contract
Tests
Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.
Additional context
Add any other context about the problem you're solving.
Metadata