@@ -110,9 +110,9 @@ impl From<TypedTransactionRequest> for EthersTypedTransactionRequest {
110110 nonce : Some ( 0 . into ( ) ) ,
111111 chain_id : None ,
112112 } ,
113- source_hash : Some ( source_hash) ,
113+ source_hash : source_hash,
114114 mint : Some ( mint) ,
115- is_system_tx : Some ( is_system_tx) ,
115+ is_system_tx : is_system_tx,
116116 } )
117117 }
118118 }
@@ -145,9 +145,9 @@ fn to_ethers_transaction_with_hash_and_sender(
145145 s : t. signature . s ,
146146 access_list : None ,
147147 transaction_type : None ,
148- source_hash : None ,
148+ source_hash : H256 :: zero ( ) ,
149149 mint : None ,
150- is_system_tx : None ,
150+ is_system_tx : false ,
151151 other : Default :: default ( ) ,
152152 } ,
153153 TypedTransaction :: EIP2930 ( t) => EthersTransaction {
@@ -170,9 +170,9 @@ fn to_ethers_transaction_with_hash_and_sender(
170170 s : U256 :: from ( t. s . as_bytes ( ) ) ,
171171 access_list : Some ( t. access_list ) ,
172172 transaction_type : Some ( 1u64 . into ( ) ) ,
173- source_hash : None ,
173+ source_hash : H256 :: zero ( ) ,
174174 mint : None ,
175- is_system_tx : None ,
175+ is_system_tx : false ,
176176 other : Default :: default ( ) ,
177177 } ,
178178 TypedTransaction :: EIP1559 ( t) => EthersTransaction {
@@ -195,9 +195,9 @@ fn to_ethers_transaction_with_hash_and_sender(
195195 s : U256 :: from ( t. s . as_bytes ( ) ) ,
196196 access_list : Some ( t. access_list ) ,
197197 transaction_type : Some ( 2u64 . into ( ) ) ,
198- source_hash : None ,
198+ source_hash : H256 :: zero ( ) ,
199199 mint : None ,
200- is_system_tx : None ,
200+ is_system_tx : false ,
201201 other : Default :: default ( ) ,
202202 } ,
203203 TypedTransaction :: Deposit ( t) => EthersTransaction {
@@ -220,9 +220,9 @@ fn to_ethers_transaction_with_hash_and_sender(
220220 s : 0 . into ( ) ,
221221 access_list : None ,
222222 transaction_type : Some ( 126u64 . into ( ) ) ,
223- source_hash : Some ( t. source_hash ) ,
223+ source_hash : t. source_hash ,
224224 mint : Some ( t. mint ) ,
225- is_system_tx : Some ( t. is_system_tx ) ,
225+ is_system_tx : t. is_system_tx ,
226226 other : Default :: default ( ) ,
227227 } ,
228228 }
0 commit comments