Description
Why
The Pectra update is scheduled on the 7th of may, 2025. Since we most probably won't be able to prove any block by then, and want to be showcased on ethproofs.org, we need to update the codebase to the new fork.
What
Follow the EELS migration
How
- Fork EELS, sync with the branch
forks/prague
, add our own changes (PR 1152). - Restore
finite_field
andcrypto/altbn128
only for our diff testing to continue working well - Create a new branch on keth,
cancun-updates
in which we will apply all the "api changes" that have no influence on behavior ->BlockEnvironment
struct,Access
struct, refactorvalidate_transaction
signature,StateWithEmptyAccount
exception.
Start by creating all new structs and new functions. Then, once we have all of these requirements, we can start modifying the function signatures.
The function bodies should not have significant changes, besides minor refactorings.
Then, once this Cancun types migration is done, we'll start implementing new logic from the Prague fork.
Prague changes:
- Message has a new field disable_precompiles
- generic_call signature changed
- eoa_delegation.py (EIP7702): call instructions are affected and need to call access_deletagation + new tx type SetCodeTransaction
- new BLS12 precompiles
- MessageCallOutput has a new field return_data
- Header has a new field requests_hash
- new class Authorization in fork types
New files
src/ethereum/cancun/requests.py
src/ethereum/cancun/vm/eoa_delegation.py
src/ethereum/cancun/vm/precompiled_contracts/bls12_381/
Sub-issues
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog