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

Implement read-only wrapper for db #80

Closed
gsalgado opened this issue Aug 23, 2017 · 0 comments
Closed

Implement read-only wrapper for db #80

gsalgado opened this issue Aug 23, 2017 · 0 comments

Comments

@gsalgado
Copy link
Collaborator

gsalgado commented Aug 23, 2017

It'd be nice to have a wrapper around BaseDB that allows only methods that just read from the db (e.g. .get(), .exists()), raising an error if any methods that write to the DB are called. For more info, see https://github.com/pipermerriam/py-evm/pull/76#discussion_r134647156

pacrob added a commit to pacrob/py-evm that referenced this issue Dec 18, 2023
* template cleanup following initial merge with py-evm

* add flake8 pin comment

* correct license years

* add pin note to mypy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants