File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " trevm"
3
- version = " 0.27.2 "
3
+ version = " 0.27.3 "
4
4
rust-version = " 1.83.0"
5
5
edition = " 2021"
6
6
authors = [" init4" ]
Original file line number Diff line number Diff line change 1
1
use alloy:: {
2
- consensus:: { Signed , TxType } ,
2
+ consensus:: { Signed , TxEip4844 , TxType } ,
3
3
primitives:: U256 ,
4
4
} ;
5
5
use revm:: context:: { BlockEnv , TxEnv } ;
@@ -273,6 +273,18 @@ impl Tx for alloy::consensus::TxEnvelope {
273
273
}
274
274
}
275
275
276
+ impl Tx for alloy:: consensus:: EthereumTxEnvelope < TxEip4844 > {
277
+ fn fill_tx_env ( & self , tx_env : & mut TxEnv ) {
278
+ match self {
279
+ Self :: Legacy ( t) => t. fill_tx_env ( tx_env) ,
280
+ Self :: Eip2930 ( t) => t. fill_tx_env ( tx_env) ,
281
+ Self :: Eip1559 ( t) => t. fill_tx_env ( tx_env) ,
282
+ Self :: Eip4844 ( t) => t. fill_tx_env ( tx_env) ,
283
+ Self :: Eip7702 ( t) => t. fill_tx_env ( tx_env) ,
284
+ }
285
+ }
286
+ }
287
+
276
288
impl Block for alloy:: consensus:: Header {
277
289
fn fill_block_env ( & self , block_env : & mut BlockEnv ) {
278
290
let BlockEnv {
You can’t perform that action at this time.
0 commit comments