From e9cf7626cf50999e5814cf666581f51ad22f9a9f Mon Sep 17 00:00:00 2001 From: Akash Date: Sat, 16 Sep 2023 16:52:14 +0530 Subject: [PATCH] chore:lint --- .../switchboard/default-switchboards/FastSwitchboard.sol | 8 +++++++- test/Setup.t.sol | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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