Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should proof verification happen at the beginning? #54

Open
s1na opened this issue Dec 18, 2019 · 0 comments
Open

Should proof verification happen at the beginning? #54

s1na opened this issue Dec 18, 2019 · 0 comments
Labels
evm Eth1 EE supporting EVM

Comments

@s1na
Copy link
Collaborator

s1na commented Dec 18, 2019

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 s1na added the evm Eth1 EE supporting EVM label Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
evm Eth1 EE supporting EVM
Projects
None yet
Development

No branches or pull requests

1 participant