Skip to content

Commit

Permalink
chore:lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tHeMaskedMan981 committed Sep 16, 2023
1 parent 6162bda commit e9cf762
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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_
);
Expand Down
8 changes: 7 additions & 1 deletion test/Setup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9cf762

Please sign in to comment.