diff --git a/contracts/switchboard/default-switchboards/FastSwitchboard.sol b/contracts/switchboard/default-switchboards/FastSwitchboard.sol index 95b9aba4..6d37da97 100644 --- a/contracts/switchboard/default-switchboards/FastSwitchboard.sol +++ b/contracts/switchboard/default-switchboards/FastSwitchboard.sol @@ -107,7 +107,7 @@ contract FastSwitchboard is SwitchboardBase { address watcher = signatureVerifier__.recoverSigner( keccak256( - abi.encode(address(this), chainSlug, packetId_, proposalCount_) + abi.encode(address(this), chainSlug, packetId_, proposalCount_, root_) ), signature_ ); diff --git a/test/Setup.t.sol b/test/Setup.t.sol index 55712024..a2154b61 100644 --- a/test/Setup.t.sol +++ b/test/Setup.t.sol @@ -760,7 +760,7 @@ contract Setup is Test { uint256 watcherPrivateKey_ ) internal { bytes32 digest = keccak256( - abi.encode(switchboardAddress, dstSlug, packetId_, proposalCount_) + abi.encode(switchboardAddress, dstSlug, packetId_, proposalCount_, root_) ); // generate attest-signature