0xPolygonHermez / cdk-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
35 stars 39 forks source link

[zero - Cancun] - Remove unecessary Cancun bits from cdk-erigon #1133

Closed Nashtare closed 1 month ago

Nashtare commented 2 months ago

Similarly to the Napoli upgrade on Polygon PoS, we don't need inclusion of EIP-4788 (Beacon Roots) or EIP-4844 (sharding). In particular, the former affects block pre-state execution and should be disabled before attempting to prove type2 cdk-based chains with Zero prover.

cc @cffls @temaniarpit27

cffls commented 2 months ago

Confirmed that EIP-4788 won't be enabled when TerminalTotalDifficulty isn't provided in chain spec, e.g. this one.

cffls commented 2 months ago

This PR removes opcodes and precompile from EIP-4844.

cffls commented 1 month ago

Closing this as the issues have be addressed.