The WeatherNft contract tracks NFT state through a mapping called s_weatherNftInfo
that includes a lastFulfilledAt
timestamp to determine when the next update should occur.
In the performUpkeep
function, it incorrectly updates a non-existent mapping called s_NftInfo
instead of the correct s_weatherNftInfo
, leading to a failure in tracking update timestamps.
Likelihood: High
The error exists in the core upkeep execution path and will trigger every time performUpkeep is called
Chainlink Keeper automation will continue calling this function based on the original checkUpkeep conditions
Impact: High
NFT weather information will update at a much faster rate than intended because checkUpkeep
compares the current timestamp with s_weatherNftInfo[_tokenId].lastFulfilledAt
, which is never updated
This causes excessive Chainlink Function calls, rapidly depleting the user's LINK balance
Automatic weather updates will occur at every block rather than following the user's configured heartbeat parameter
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.