Skip to content

Commit e159b8f

Browse files
committed
fix: really really remove the commit bound
1 parent 3bc93d2 commit e159b8f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trevm"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
rust-version = "1.79.0"
55
edition = "2021"
66
authors = ["init4"]

src/evm.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -882,18 +882,15 @@ impl<'a, Ext, Db: Database + DatabaseCommit, TrevmState: HasBlock> Trevm<'a, Ext
882882

883883
// --- Needs Block with State<Db>
884884

885-
impl<'a, Ext, Db: Database + DatabaseCommit> EvmNeedsBlock<'a, Ext, State<Db>> {
885+
impl<'a, Ext, Db: Database> EvmNeedsBlock<'a, Ext, State<Db>> {
886886
/// Finish execution and return the outputs.
887887
///
888888
/// ## Panics
889889
///
890890
/// If the State has not been built with StateBuilder::with_bundle_update.
891891
///
892892
/// See [`State::merge_transitions`] and [`State::take_bundle`].
893-
pub fn finish(self) -> BundleState
894-
where
895-
Db: Database,
896-
{
893+
pub fn finish(self) -> BundleState {
897894
let Self { inner: mut evm, .. } = self;
898895

899896
evm.db_mut().merge_transitions(BundleRetention::Reverts);

0 commit comments

Comments
 (0)