requestMintWeatherNFT
function does not enforce a minimum heartbeat value.Initial State: A user sets a 1-second heartbeat during minting.
Step 1: The upkeep function is triggered excessively.
Outcome: This causes gas congestion and high costs.
Implications: This can lead to network instability and inefficiency.
Impact:
Affected Parties: NFT owners and the Ethereum network.
How They Are Affected: Owners face high costs, and the network experiences congestion.
MIN_HEARTBEAT
is defined to set the minimum allowable heartbeat value (e.g., 60 seconds).The require
statement ensures that _heartbeat
is greater than or equal to MIN_HEARTBEAT
.
If the condition is not met, the transaction reverts with the error message "WeatherNft__HeartbeatTooLow"
This is informational. It is user's responsibility to provide correct input arguments. If the user provides incorrect arguments, it will lead to incorrect results, lost funds or failed transaction.
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.