besu icon indicating copy to clipboard operation
besu copied to clipboard

Implement EIP 4762

Open matkt opened this issue 1 year ago • 1 comments

EIP-4762: Statelessness gas cost changes for verkle Changes the gas schedule to reflect the costs of creating a witness by requiring clients update their database layout to match.

More info in this link https://eips.ethereum.org/EIPS/eip-4762

matkt avatar Feb 28 '24 08:02 matkt

we can reach 123836 on devnet 6 .stopped to work on gascost and waiting for a test framework and spec update

matkt avatar May 22 '24 12:05 matkt

Support for a test framework has been added https://github.com/hyperledger/besu/pull/7674 since the last comment and with https://github.com/hyperledger/besu/pull/7802 we are passing all tests on the current version of EIP-4762.

This ticket will go a bit in the back-burner waiting for possible new updates. Devnet-7 will start soon and there are already some changes planed for devnet-8 at least around SelfDestruct costs.

Some things that are still missing:

  • implementation of CHUNK_FILL_COST and knowledge if previous value in trie was None - it's actually almost implemented but Geth and other clients are still running with CHUNK_EDIT_COST all the time.
  • Outcome of EIP-7702 and EIP-3074
  • Blockhash cost updates from EIP-7709 - this is being tracked in https://github.com/hyperledger/besu/issues/7811

lu-pinto avatar Oct 25 '24 08:10 lu-pinto

This is on hold for now since we can reach the head of the chain on devnet-7 and it can be moved to in progress to address the points mentioned above.

lu-pinto avatar Nov 26 '24 09:11 lu-pinto