Skip to content

Conversation

@0xForerunner
Copy link
Contributor

See #234 for context

This PR completes the transition from the concrete State<DB> to StateDB. We must introduce the fn drain_balances to accomplish this. Both drain_balances and increment_balances should be implementable with DatabaseCommit + Database which is why I have this PR open in revm. If this is accepted then it should be possible to remove these methods. Alternatively, DatabaseCommitExt could be moved here.

PR Checklist

  • Added Tests
  • Added Documentation
  • No Breaking changes from latest release.

Copy link
Member

@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.

@klkvr I believe all of this is okay

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.

2 participants