Insufficient Balance Check:
_validateTransaction
: The balance check is performed after the nonce increment. If the transaction fails due to insufficient balance, the nonce is still incremented, potentially causing issues.
Vulnerability Details:
The current implementation leads to nonce incrementation even when a transaction fails due to insufficient balance.
Impact:
Unnecessary nonce increments on failed transactions, which can cause issues such as transaction invalidation and sequence mismatches.
Tools Used:
👀 (Visual Inspection)
Audit Wizard
AI
Recommendations:
Perform balance checks before incrementing the nonce to avoid unnecessary nonce increments on failed transactions.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.