pub fn validate_explicit_price_bump(
old_evm_data: &EvmTransactionData,
new_evm_data: &EvmTransactionData,
relayer: &RelayerRepoModel,
network_lacks_mempool: bool,
) -> Result<PriceParams, TransactionError>Expand description
Validates explicit gas prices from a replacement request against bump requirements.
§Arguments
old_evm_data- The original transaction datanew_evm_data- The new transaction data with explicit pricesrelayer- The relayer model for policy validationnetwork_lacks_mempool- Whether the network lacks mempool (skips bump validation)
§Returns
A Result containing validated price parameters or a TransactionError.