pub fn check_transaction_compatibility(
old_evm_data: &EvmTransactionData,
new_evm_data: &EvmTransactionData,
) -> Result<(), TransactionError>
Expand description
Checks if an old transaction and new transaction request are compatible for replacement.
§Arguments
old_evm_data
- The EVM transaction data from the old transactionnew_evm_data
- The EVM transaction data for the new transaction
§Returns
A Result
indicating compatibility or a TransactionError
if incompatible.