0xPolygonHermez / cdk-erigon

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

tweak(zkevm_api): accinput batch 0/1 #1464

Closed revitteth closed 6 days ago

revitteth commented 1 week ago

Seems like the issues previously were due to an assumption of the accInputHash of batch 1 (injected) at etrog+ being 0x0, however this is not true. The oldAccInputHash of the injected batch is 0x0, otherwise it is fed into the calculation of accInputHash for the given fork as normal.