pub async fn make_noop<P: EvmProviderTrait>(
evm_data: &mut EvmTransactionData,
network: &EvmNetwork,
provider: Option<&P>,
) -> Result<(), TransactionError>
Expand description
Updates an existing transaction to be a “noop” transaction (transaction to self with zero value and no data) This is commonly used for cancellation and replacement transactions For Arbitrum networks, uses eth_estimateGas to account for L1 + L2 costs