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