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

constrain cumulativeGasUsed not exceed gas limit in block

Open DreamWuGit opened this issue 2 years ago • 1 comments

since we have cumulativeGasUsed data per tx in RW table now for receipt importing, we can constrain cumulativeGasUsed of all txs not exceed gas limit in the block now, proper place to handle is in end_block gadget !

DreamWuGit avatar May 27 '22 02:05 DreamWuGit

I forgot to add this https://github.com/privacy-scaling-explorations/zkevm-specs/pull/243 U.U We need to update EndBlock with this check.

ed255 avatar Aug 06 '22 09:08 ed255