-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
https://etherscan.io/address/0xD624B08C83bAECF0807Dd2c6880C3154a5F0B288#code
function invocation, submitReport should be covered
function submitReport(uint256 slot, bytes32 report, uint256 consensusVersion) external {
_submitReport(slot, report, consensusVersion);
}
function _submitReport(uint256 slot, bytes32 report, uint256 consensusVersion) internal {
if (slot == 0) revert InvalidSlot();
if (slot > type(uint64).max) revert NumericOverflow();
if (report == ZERO_HASH) revert EmptyReport();
uint256 memberIndex = _getMemberIndex(_msgSender());
...
function _getMemberIndex(address addr) internal view returns (uint256) {
uint256 index1b = _memberIndices1b[addr];
if (index1b == 0) {
revert NonMember();
}
unchecked {
return uint256(index1b - 1);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels