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

Protect internals of the provider classes using hash names #243

Open
Mrtenz opened this issue Feb 1, 2023 · 0 comments
Open

Protect internals of the provider classes using hash names #243

Mrtenz opened this issue Feb 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Mrtenz
Copy link
Member

Mrtenz commented Feb 1, 2023

Currently in snaps-monorepo we wrap the Ethereum provider in a Proxy, to prevent access to internal fields. A better alternative would be to protect these fields in the first place using hash names, which are not accessible in any way.

@Mrtenz Mrtenz added the enhancement New feature or request label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant