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

Stateful precompiles have write access to all state, not just their own #41

Open
ARR4N opened this issue Sep 29, 2024 · 0 comments
Open

Comments

@ARR4N
Copy link
Collaborator

ARR4N commented Sep 29, 2024

We currently pass a vm.StateDB to stateful precompiles, providing global write access. Although precompiles know their own address and can limit writes to the correct scope (pending bug-fix in #40), this is error-prone.

Is there ever a need for this? If not, it should be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant