zkevm-specs icon indicating copy to clipboard operation
zkevm-specs copied to clipboard

Support EIP-1559

Open KimiWu123 opened this issue 2 years ago • 3 comments

see #69 for more details

KimiWu123 avatar Sep 19 '23 04:09 KimiWu123

I think Taiko/Scroll may already have this implemented?

ed255 avatar Oct 05 '23 09:10 ed255

We have this partially implemented. The evm circuit can support 1559 related mechanism (like fee burn) and rlp circuit/tx circuit can accept 1559 txs(but may not fully sound now). But we have not implemented the basefee mechanism itself such as how it is adjusted.

lispc avatar Oct 05 '23 09:10 lispc

We also only have partial support at this point. We do the basefee adjusting code in a smart contract so we don't have to implement it in a dedicated circuit, but this approach doesn't seem easy for standard Ethereum blocks. We also don't use the standard EIP-1559 formula because that one only works with fixed block times and blocks that efficiently support dynamic sizes (but with the chunked prover this last problem should be solved).

Brechtpd avatar Oct 05 '23 10:10 Brechtpd