Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions contracts/protocol/switchboard/EVMxSwitchboard.sol
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ contract EVMxSwitchboard is SwitchboardBase {
emit TransmitterAssigned(digestParams_.payloadId, newTransmitter_);
}

function markIsValid(bytes32 payloadId_, bytes32 digest_) external {
if (attestations[payloadId_][digest_] >= totalWatchers) isValid[payloadId_][digest_] = true;
}

/**
* @notice Sets the transmitter address for payload execution
* @param transmitter_ The new transmitter address
Expand Down