Skip to content

Commit

Permalink
fix: remove Commit bound on finish as it is provided by State (#38)
Browse files Browse the repository at this point in the history
* fix: remove Commit bound on finish as it is provided by State

* chore: bump to 0.5.2
  • Loading branch information
prestwich committed Aug 14, 2024
1 parent 8568cc3 commit 3bc93d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trevm"
version = "0.5.1"
version = "0.5.2"
rust-version = "1.79.0"
edition = "2021"
authors = ["init4"]
Expand Down
2 changes: 1 addition & 1 deletion src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ impl<'a, Ext, Db: Database + DatabaseCommit> EvmNeedsBlock<'a, Ext, State<Db>> {
/// See [`State::merge_transitions`] and [`State::take_bundle`].
pub fn finish(self) -> BundleState
where
Db: Database + DatabaseCommit,
Db: Database,
{
let Self { inner: mut evm, .. } = self;

Expand Down

0 comments on commit 3bc93d2

Please sign in to comment.