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

Add db and db_mut to evm #1133

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Add db and db_mut to evm #1133

merged 2 commits into from
Feb 29, 2024

Conversation

CorrM
Copy link
Contributor

@CorrM CorrM commented Feb 29, 2024

Old

evm.context.evm.db.clone();
evm.context.evm.db.insert_account_info(...);

New

evm.db().clone();
evm.db_mut().insert_account_info(...);

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is reasonable

@rakita rakita merged commit bc77b08 into bluealloy:main Feb 29, 2024
25 checks passed
@github-actions github-actions bot mentioned this pull request Feb 27, 2024
fubuloubu pushed a commit to ApeWorX/revm that referenced this pull request Apr 11, 2024
* Add `db` and `db_mut` to evm

* Fix format
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

Successfully merging this pull request may close these issues.

3 participants