File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
use crate :: { EvmEnv , EvmError , IntoTxEnv } ;
4
4
use alloy_primitives:: { Address , Bytes } ;
5
- use core:: { error:: Error , fmt:: Debug } ;
5
+ use core:: { error:: Error , fmt:: Debug , hash :: Hash } ;
6
6
use revm:: {
7
7
context:: { result:: ExecutionResult , BlockEnv } ,
8
8
context_interface:: {
@@ -41,7 +41,7 @@ pub trait Evm {
41
41
type HaltReason : HaltReasonTr + Send + Sync + ' static ;
42
42
/// Identifier of the EVM specification. EVM is expected to use this identifier to determine
43
43
/// which features are enabled.
44
- type Spec : Debug + Copy + Send + Sync + ' static ;
44
+ type Spec : Debug + Copy + Hash + Eq + Send + Sync + Default + ' static ;
45
45
/// Precompiles used by the EVM.
46
46
type Precompiles ;
47
47
/// Evm inspector.
@@ -166,7 +166,7 @@ pub trait EvmFactory {
166
166
/// Halt reason. See [`Evm::HaltReason`].
167
167
type HaltReason : HaltReasonTr + Send + Sync + ' static ;
168
168
/// The EVM specification identifier, see [`Evm::Spec`].
169
- type Spec : Debug + Copy + Send + Sync + ' static ;
169
+ type Spec : Debug + Copy + Hash + Eq + Send + Sync + Default + ' static ;
170
170
/// Precompiles used by the EVM.
171
171
type Precompiles ;
172
172
You can’t perform that action at this time.
0 commit comments