File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use crate::{
1010use alloy_consensus:: SignableTransaction ;
1111use alloy_eips:: eip2718:: Encodable2718 ;
1212use alloy_network:: { EthereumWallet , TransactionBuilder } ;
13- use alloy_primitives:: { Address , Bytes , U256 } ;
13+ use alloy_primitives:: { Address , Bytes } ;
1414use alloy_provider:: Provider ;
1515use alloy_signer:: Signer ;
1616use clap:: Parser ;
@@ -115,9 +115,7 @@ impl BatchMakeTxArgs {
115115 // Set dummy "to" from first call
116116 let first_call_to = call_specs. first ( ) . map ( |s| s. to ) ;
117117 let builder = builder. with_to ( first_call_to. map ( Into :: into) ) . await ?;
118- let mut tx_builder = builder. with_code_sig_and_args ( None , None , vec ! [ ] ) . await ?;
119- tx_builder. tx . clear_kind ( ) ;
120- tx_builder. tx . set_value ( U256 :: ZERO ) ;
118+ let tx_builder = builder. with_code_sig_and_args ( None , None , vec ! [ ] ) . await ?;
121119
122120 if raw_unsigned {
123121 if eth. wallet . from . is_none ( ) && !has_nonce {
You can’t perform that action at this time.
0 commit comments