biturbo icon indicating copy to clipboard operation
biturbo copied to clipboard

Should proof verification happen at the beginning?

Open s1na opened this issue 5 years ago • 0 comments

In the current token EE prototype we first process txes and produce a set of updated accounts, and only then verify the multiproof and compute the post state root.

This leads to the question of whether this is DoSable. Attackers can craft a block with completely invalid accounts/proofs which imposes a lot of evm bytecode processing, and only after the EE has undergone all the processing can it see that the proof is invalid.

I think this will depend on how the fee market looks like and how the block producer determines whether a block is payable.

s1na avatar Dec 18 '19 15:12 s1na