File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ impl Block for alloy::rpc::types::eth::Header {
272
272
}
273
273
}
274
274
275
- impl < T > Block for alloy:: rpc:: types:: eth:: Block < T > {
275
+ impl < T : Send + Sync > Block for alloy:: rpc:: types:: eth:: Block < T > {
276
276
fn fill_block_env ( & self , block_env : & mut revm:: primitives:: BlockEnv ) {
277
277
self . header . fill_block_env ( block_env) ;
278
278
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use revm::{
4
4
} ;
5
5
6
6
/// Types that can fill the EVM transaction environment [`TxEnv`].
7
- pub trait Tx {
7
+ pub trait Tx : Send + Sync {
8
8
/// Fill the transaction environment.
9
9
///
10
10
/// ## Note:
@@ -23,7 +23,7 @@ pub trait Tx {
23
23
}
24
24
}
25
25
/// Types that can fill the EVM block environment [`BlockEnv`].
26
- pub trait Block {
26
+ pub trait Block : Send + Sync {
27
27
/// Fill the block environment.
28
28
///
29
29
/// ## Note:
@@ -64,7 +64,7 @@ pub trait Block {
64
64
/// - `disable_beneficiary_reward` - gated by `optional_beneficiary_reward`
65
65
///
66
66
/// Cfg fillers should consider these feature gates when implementing the trait.
67
- pub trait Cfg {
67
+ pub trait Cfg : Send + Sync {
68
68
/// Fill the configuration environment.
69
69
fn fill_cfg_env ( & self , cfg_env : & mut CfgEnv ) ;
70
70
You can’t perform that action at this time.
0 commit comments