From f2d0a36a450a55d989e99baa52e1002697225fed Mon Sep 17 00:00:00 2001 From: James Date: Wed, 14 Aug 2024 16:29:34 +0100 Subject: [PATCH 1/2] fix: remove Commit bound on finish as it is provided by State --- src/evm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evm.rs b/src/evm.rs index 890872b..615bd10 100644 --- a/src/evm.rs +++ b/src/evm.rs @@ -892,7 +892,7 @@ impl<'a, Ext, Db: Database + DatabaseCommit> EvmNeedsBlock<'a, Ext, State> { /// 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; From 401811276c80d25a423286e9202b91c1797f2c2a Mon Sep 17 00:00:00 2001 From: James Date: Wed, 14 Aug 2024 16:29:56 +0100 Subject: [PATCH 2/2] chore: bump to 0.5.2 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 117883a..f0e6afc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trevm" -version = "0.5.1" +version = "0.5.2" rust-version = "1.79.0" edition = "2021" authors = ["init4"]