Severity: Medium
Category: Gas Optimization / DoS Risk
Impact: Potential transaction failure due to gas limits
Likelihood: Medium - depends on network congestion and gas prices
Contract: ScrvusdVerifierV1
Function: _extractParametersFromProof
Lines: 89-109
Each loop iteration performs:
RLP decoding (toList()
)
keccak256 hashing
Merkle proof verification
Storage slot extraction
Gas costs increase with proof complexity
Network congestion increases gas prices
Complex proofs require more gas for verification
Transaction hits block gas limit
Price updates fail, causing oracle staleness
Split parameter verification into batches
Implement gas-optimized RLP decoding
Cache frequently accessed proof data
Impact: Medium
Can prevent price updates
Temporary DoS condition
Recoverable with higher gas limits
Likelihood: Medium
Bounded loop (8 iterations)
Network congestion common
Complex proofs likely
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.