We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
currently, an AtomicDB cannot be iterated over. this makes it tricky to inspect, ex.
>>> t.env.vm.state._db.items() ItemsView(<eth.db.atomic.AtomicDB object at 0x7fdf23f260e0>) >>> list(t.env.vm.state._db.items()) NotImplementedError: By default, DB classes cannot return the total number of keys.
probably, add __iter__ and __len__ methods to all useful db classes
__iter__
__len__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is wrong?
currently, an AtomicDB cannot be iterated over. this makes it tricky to inspect, ex.
How can it be fixed
probably, add
__iter__
and__len__
methods to all useful db classesThe text was updated successfully, but these errors were encountered: