11use crate :: { driver:: BundleDriver , BlockDriver , ChainDriver , Trevm } ;
2- use revm:: { context:: result:: EVMError , Database } ;
2+ use revm:: { context:: result:: EVMError , inspector :: NoOpInspector , Database } ;
33use sealed:: * ;
44
55/// A [`Trevm`] that requires a [`Cfg`].
@@ -8,7 +8,7 @@ use sealed::*;
88/// - [`EvmNeedsCfg::fill_cfg`]
99///
1010/// [`Cfg`]: crate::Cfg
11- pub type EvmNeedsCfg < Db , Insp > = Trevm < Db , Insp , NeedsCfg > ;
11+ pub type EvmNeedsCfg < Db , Insp = NoOpInspector > = Trevm < Db , Insp , NeedsCfg > ;
1212
1313/// A [`Trevm`] that requires a [`Block`] and contains no
1414/// outputs. This EVM has not yet executed any transactions or state changes.
@@ -19,7 +19,7 @@ pub type EvmNeedsCfg<Db, Insp> = Trevm<Db, Insp, NeedsCfg>;
1919/// - [`EvmNeedsBlock::drive_chain`]
2020///
2121/// [`Block`]: crate::Block
22- pub type EvmNeedsBlock < Db , Insp > = Trevm < Db , Insp , NeedsBlock > ;
22+ pub type EvmNeedsBlock < Db , Insp = NoOpInspector > = Trevm < Db , Insp , NeedsBlock > ;
2323
2424/// A [`Trevm`] that requires a [`Tx`].
2525///
@@ -29,46 +29,46 @@ pub type EvmNeedsBlock<Db, Insp> = Trevm<Db, Insp, NeedsBlock>;
2929/// - [`EvmNeedsTx::finish`]
3030///
3131/// [`Tx`]: crate::Tx
32- pub type EvmNeedsTx < Db , Insp > = Trevm < Db , Insp , NeedsTx > ;
32+ pub type EvmNeedsTx < Db , Insp = NoOpInspector > = Trevm < Db , Insp , NeedsTx > ;
3333
3434/// A [`Trevm`] that is ready to execute a transaction.
3535///
3636/// The transaction may be executed with [`EvmReady::run`] or cleared
3737/// with [`EvmReady::clear_tx`]
38- pub type EvmReady < Db , Insp > = Trevm < Db , Insp , Ready > ;
38+ pub type EvmReady < Db , Insp = NoOpInspector > = Trevm < Db , Insp , Ready > ;
3939
4040/// A [`Trevm`] that run a transaction, and contains the resulting execution
4141/// details and state.
4242///
4343/// Expected continuations include:
4444/// - [`EvmTransacted::reject`]
4545/// - [`EvmTransacted::accept`]
46- pub type EvmTransacted < Db , Insp > = Trevm < Db , Insp , TransactedState > ;
46+ pub type EvmTransacted < Db , Insp = NoOpInspector > = Trevm < Db , Insp , TransactedState > ;
4747
4848/// A [`Trevm`] that encountered an error during transaction execution.
4949///
5050/// Expected continuations include:
5151/// - [`EvmErrored::discard_error`]
5252/// - [`EvmErrored::into_error`]
53- pub type EvmErrored < Db , Insp , E = EVMError < <Db as Database >:: Error > > =
53+ pub type EvmErrored < Db , Insp = NoOpInspector , E = EVMError < <Db as Database >:: Error > > =
5454 Trevm < Db , Insp , ErroredState < E > > ;
5555
5656/// A [`Trevm`] that encountered an error during [`BlockDriver`] execution.
5757///
5858/// This is an [`EvmErrored`] parameterized with the driver's error type.
59- pub type EvmBlockDriverErrored < Db , Insp , T > =
59+ pub type EvmBlockDriverErrored < T , Db , Insp = NoOpInspector > =
6060 EvmErrored < Db , Insp , <T as BlockDriver < Db , Insp > >:: Error > ;
6161
6262/// A [`Trevm`] that encountered an error during [`ChainDriver`] execution.
6363///
6464/// This is an [`EvmErrored`] parameterized with the driver's error type.
65- pub type EvmChainDriverErrored < Db , Insp , T > =
65+ pub type EvmChainDriverErrored < T , Db , Insp = NoOpInspector > =
6666 EvmErrored < Db , Insp , <T as ChainDriver < Db , Insp > >:: Error > ;
6767
6868/// A [`Trevm`] that encountered an error during [`BundleDriver`] execution.
6969///
7070/// This is an [`EvmErrored`] parameterized with the driver's error type.
71- pub type EvmBundleDriverErrored < Db , Insp , T > =
71+ pub type EvmBundleDriverErrored < T , Db , Insp = NoOpInspector > =
7272 EvmErrored < Db , Insp , <T as BundleDriver < Db , Insp > >:: Error > ;
7373
7474#[ allow( unnameable_types, dead_code, unreachable_pub) ]
0 commit comments