Function is_too_early_to_resubmit

Source
pub fn is_too_early_to_resubmit(
    tx: &TransactionRepoModel,
) -> Result<bool, TransactionError>
Expand description

Check if transaction is too young for resubmission and timeout checks.

Returns true if the transaction was created less than EVM_MIN_AGE_FOR_RESUBMIT_SECONDS ago. This is used to defer resubmission logic and timeout checks for newly created transactions, while still allowing basic status updates from the blockchain.