-
Notifications
You must be signed in to change notification settings - Fork 18
feat!: EIP-4844 support #381
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: dev
Are you sure you want to change the base?
Conversation
b7575f5 to
c91c727
Compare
a996945 to
cd979c2
Compare
cd979c2 to
7d222a5
Compare
6252e19 to
b9e19ae
Compare
b9e19ae to
ea157f1
Compare
ea157f1 to
87dbfb5
Compare
0476075 to
1577701
Compare
104059b to
7df9c67
Compare
|
Should we merge it before the corresponding implementation in "V2"? |
87dbfb5 to
ca3b05b
Compare
Note: for now we just pass blob_fee instead of excess blob gas. This means that tests related to excess blob gas aren't supported.
ca3b05b to
e2afe08
Compare
| )); | ||
| } | ||
|
|
||
| system.set_tx_context(TxLevelMetadata { |
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.
nit: I don't really like that we do it in validate_and_compute_fee_for_transaction function - it's easy to forget/be confused about when and where we do different steps of the tx initialization. I see why it's here, maybe we will restructure it in the future
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.
Had to move it to avoid a copy of the blobs I think
basic_bootloader/src/bootloader/transaction_flow/zk/validation_impl.rs
Outdated
Show resolved
Hide resolved
c4341b5 to
f184cfe
Compare
Benchmark report
|
What ❔
This PR adds (limited) EIP-4844 support. This includes:
This PR doesn't include excess-gas related computation/checks, as for now blob_fee is passed as metadata.
EIP-4844 is disabled for production and is only used for eth-runner, as we need to be fully EVM-equivalent to minimize divergences.
Why ❔
Is this a breaking change?
Checklist