From ab7909e150567fbd669b4a03b2697d1e15fd12b2 Mon Sep 17 00:00:00 2001 From: Franco NG Date: Fri, 21 Jun 2024 15:51:26 +0200 Subject: [PATCH] Update format --- test/invariant/L1LiskTokenInvariants.t.sol | 4 ++-- test/invariant/handler/L2ClaimHandler.t.sol | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/invariant/L1LiskTokenInvariants.t.sol b/test/invariant/L1LiskTokenInvariants.t.sol index 723eff2d..5810c343 100644 --- a/test/invariant/L1LiskTokenInvariants.t.sol +++ b/test/invariant/L1LiskTokenInvariants.t.sol @@ -31,13 +31,13 @@ contract L1LiskTokenInvariants is Test { // #1 address gets 1 portion, #2 gets 2 portions etc. l1LiskToken.transfer(balanceHolder, l1LiskToken.totalSupply() * i / totalPortions); - // Last address gets the rest of the balances, to ensure address(this) has no balance left because of rounding + // Last address gets the rest of the balances, to ensure address(this) has no balance left because of + // rounding if (i == l1LiskTokenHandler.numOfAddresses()) { l1LiskToken.transfer(balanceHolder, l1LiskToken.balanceOf(address(this))); } } - // add the handler selectors to the fuzzing targets bytes4[] memory selectors = new bytes4[](1); selectors[0] = L1LiskTokenHandler.burnFrom.selector; diff --git a/test/invariant/handler/L2ClaimHandler.t.sol b/test/invariant/handler/L2ClaimHandler.t.sol index 0e27a12b..816c3f85 100644 --- a/test/invariant/handler/L2ClaimHandler.t.sol +++ b/test/invariant/handler/L2ClaimHandler.t.sol @@ -3,7 +3,7 @@ pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; -import { Test, stdJson } from "forge-std/Test.sol"; +import { Test, stdJson } from "forge-std/Test.sol"; import { L2Claim, ED25519Signature, MultisigKeys } from "src/L2/L2Claim.sol"; import { L2ClaimHelper, MerkleTreeLeaf, Signature, MerkleLeaves } from "test/L2/helper/L2ClaimHelper.sol";