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

chore(state): Make Database more generic. #687

Merged
merged 3 commits into from
Sep 5, 2023
Merged

chore(state): Make Database more generic. #687

merged 3 commits into from
Sep 5, 2023

Conversation

rakita
Copy link
Member

@rakita rakita commented Sep 5, 2023

Make the State database more generic and introduce StateDBBox as an alternative to the current type.

@rakita rakita merged commit 7d7f63f into main Sep 5, 2023
7 checks passed
Comment on lines -31 to +30
impl Default for StateBuilder<'_, Infallible> {
impl Default for StateBuilder<Box<EmptyDB>> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be made generic

impl<DB: Default> Default for StateBuilder<DB> {

mikelodder7 pushed a commit to LIT-Protocol/revm that referenced this pull request Sep 12, 2023
* chore(state): Make database more generic

* doc
Evalir pushed a commit to Evalir/revm that referenced this pull request Sep 14, 2023
* chore(state): Make database more generic

* doc
@rakita rakita deleted the generic_db branch September 21, 2023 23:47
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.

None yet

2 participants