Commit 793af40 1 parent ee9514b commit 793af40 Copy full SHA for 793af40
File tree 3 files changed +5
-5
lines changed
rpc-types-compat/src/transaction
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 60
60
chain_id,
61
61
blob_versioned_hashes,
62
62
max_fee_per_blob_gas,
63
- // authorization_list,
63
+ authorization_list,
64
64
..
65
65
} = request;
66
66
98
98
// EIP-4844 fields
99
99
blob_hashes : blob_versioned_hashes. unwrap_or_default ( ) ,
100
100
max_fee_per_blob_gas,
101
- authorization_list : Default :: default ( ) ,
101
+ authorization_list : authorization_list . map ( Into :: into ) ,
102
102
optimism : OptimismFields { enveloped_tx : Some ( Bytes :: new ( ) ) , ..Default :: default ( ) } ,
103
103
} ;
104
104
Original file line number Diff line number Diff line change @@ -853,7 +853,7 @@ pub trait Call: LoadState + SpawnBlocking {
853
853
chain_id,
854
854
blob_versioned_hashes,
855
855
max_fee_per_blob_gas,
856
- // authorization_list,
856
+ authorization_list,
857
857
..
858
858
} = request;
859
859
@@ -892,7 +892,7 @@ pub trait Call: LoadState + SpawnBlocking {
892
892
blob_hashes : blob_versioned_hashes. unwrap_or_default ( ) ,
893
893
max_fee_per_blob_gas,
894
894
// EIP-7702 fields
895
- // authorization_list: TODO
895
+ authorization_list : authorization_list . map ( Into :: into ) ,
896
896
..Default :: default ( )
897
897
} ;
898
898
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ fn fill(
44
44
#[ allow( unreachable_patterns) ]
45
45
let ( gas_price, max_fee_per_gas) = match signed_tx. tx_type ( ) {
46
46
TxType :: Legacy | TxType :: Eip2930 => ( Some ( signed_tx. max_fee_per_gas ( ) ) , None ) ,
47
- TxType :: Eip1559 | TxType :: Eip4844 => {
47
+ TxType :: Eip1559 | TxType :: Eip4844 | TxType :: Eip7702 => {
48
48
// the gas price field for EIP1559 is set to `min(tip, gasFeeCap - baseFee) +
49
49
// baseFee`
50
50
let gas_price = tx_info
You can’t perform that action at this time.
0 commit comments