The InvalidSequencerUptimeFeedReturn
error is defined in Errors.sol
and is thrown when the provided sequencerUptimeFeed
is the zero address.
However, this error is not utilized anywhere in the code. Specifically, in the following two functions, when the sequencer uptime feed is fetched, it is not checked for a zero address:
The zero address check for the sequencer uptime feed is only performed in ChainlinkUtil
but SequencerUptimeFeedNotDefined
is still not utilized.
The SequencerUptimeFeedNotDefined
error is defined in Errors.sol
but is not used anywhere in the codebase. Now if a feed is not defined and zero address is return which is normal, so it will not revert.
Whenever globalConfiguration.sequencerUptimeFeedByChainId
is fetched, it should be checked for a zero address. If it is a zero address, the SequencerUptimeFeedNotDefined
error should be thrown.
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.