8000 epic: Prague fork · Issue #1352 · kkrt-labs/keth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
epic: Prague fork #1352
Open
10 of 15 issues completed
Open
Epic
10 of 15 issues completed
@ClementWalter

Description

@ClementWalter

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

  1. Fork EELS, sync with the branch forks/prague, add our own changes (PR 1152).
  2. Restore finite_field and crypto/altbn128 only for our diff testing to continue working well
  3. 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, refactor validate_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

Labels

Type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0