Skip to content

Commit aac102d

Browse files
committed
test: strict post migration totalSupply check
1 parent 4697b8d commit aac102d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/spell/V2Cleanings.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ contract V2CleaningsSpellTest is Test {
8585
// CFG minting assertions
8686
uint256 expectedMintAmount = preWcfgTotalSupply - preWcfgBalanceOfIouCfg + CENTRIFUGE_CHAIN_CFG_AMOUNT;
8787
assertEq(IERC20(CFG).totalSupply(), preCfgTotalSupply + expectedMintAmount);
88-
assertLe(IERC20(CFG).totalSupply(), MAX_POST_MINT_CFG_SUPPLY, "Total CFG supply exceeds max post-mint cap");
88+
assertEq(IERC20(CFG).totalSupply(), MAX_POST_MINT_CFG_SUPPLY, "Total CFG supply exceeds max post-mint cap");
8989
assertEq(IERC20(CFG).balanceOf(CNF_TREASURY_WALLET), preCfgMintTreasuryBalance + expectedMintAmount);
9090
assertEq(IAuth(CFG).wards(address(spell)), 0);
9191
}

0 commit comments

Comments
 (0)