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

Only allow users to transition using the latest history tree root #396

Open
vimwitch opened this issue Apr 7, 2023 · 0 comments
Open

Only allow users to transition using the latest history tree root #396

vimwitch opened this issue Apr 7, 2023 · 0 comments

Comments

@vimwitch
Copy link
Member

vimwitch commented Apr 7, 2023

Users could execute a UST using an old history tree root. This could reveal what epoch they are transitioning from. A malicious application could do this without a users knowledge to try to de-anonymize them. Users could also conspire to transition using old history tree roots to reveal users that transition using a newer root.

To solve this we should require the UST proof to use the latest history tree root. This also gets rid of the historyTreeRoots mapping and an SSTORE operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

1 participant