Skip to content

Commit 1b51d2d

Browse files
committed
add commitment publisher to SS
1 parent aa153b4 commit 1b51d2d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/protocol/ISignalService.sol

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,15 @@ interface ISignalService {
4444
/// @dev Signals are not deleted when verified, and can be
4545
/// verified multiple times by calling this function
4646
/// @param height This refers to the block number / commitmentId where the trusted root is mapped to
47+
/// @param commitmentPublisher The address that published the commitment containing the signal.
4748
/// @param sender The address that originally sent the signal on the source chain
4849
/// @param value The signal value to verify
4950
/// @param proof The encoded value of the SignalProof struct
50-
function verifySignal(uint256 height, address sender, bytes32 value, bytes memory proof) external;
51+
function verifySignal(
52+
uint256 height,
53+
address commitmentPublisher,
54+
address sender,
55+
bytes32 value,
56+
bytes memory proof
57+
) external;
5158
}

0 commit comments

Comments
 (0)