From 44a2c6cb2303b18d077ee06bd1e19f8ea50abbcd Mon Sep 17 00:00:00 2001 From: Rens Rooimans Date: Tue, 8 Oct 2024 11:43:30 +0200 Subject: [PATCH] fix fuzz naming --- contracts/gas-snapshots/ccip.gas-snapshot | 1 - .../ccip/test/pools/BurnWithFromMintRebasingTokenPool.t.sol | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/gas-snapshots/ccip.gas-snapshot b/contracts/gas-snapshots/ccip.gas-snapshot index 6481184465..40e53aef0b 100644 --- a/contracts/gas-snapshots/ccip.gas-snapshot +++ b/contracts/gas-snapshots/ccip.gas-snapshot @@ -37,7 +37,6 @@ BurnWithFromMintTokenPool_lockOrBurn:test_Setup_Success() (gas: 24168) BurnWithFromMintTokenPool_releaseOrMint:test_Setup_Success() (gas: 24547) BurnWithFromMintTokenPool_releaseOrMint:test_releaseOrMint_NegativeMintAmount_reverts() (gas: 93840) BurnWithFromMintTokenPool_releaseOrMint:test_releaseOrMint_Success() (gas: 93423) -BurnWithFromMintTokenPool_releaseOrMint:test_releaseOrMint_rebasing_success(uint16) (runs: 257, μ: 95578, ~: 97505) CCIPClientExample_sanity:test_ImmutableExamples_Success() (gas: 2052431) CCIPHome__validateConfig:test__validateConfigLessTransmittersThanSigners_Success() (gas: 334693) CCIPHome__validateConfig:test__validateConfigSmallerFChain_Success() (gas: 466117) diff --git a/contracts/src/v0.8/ccip/test/pools/BurnWithFromMintRebasingTokenPool.t.sol b/contracts/src/v0.8/ccip/test/pools/BurnWithFromMintRebasingTokenPool.t.sol index 95cc8a3666..c88f030c56 100644 --- a/contracts/src/v0.8/ccip/test/pools/BurnWithFromMintRebasingTokenPool.t.sol +++ b/contracts/src/v0.8/ccip/test/pools/BurnWithFromMintRebasingTokenPool.t.sol @@ -50,7 +50,7 @@ contract BurnWithFromMintTokenPool_releaseOrMint is BurnWithFromMintRebasingToke assertEq(balancePre + amount, s_rebasingToken.balanceOf(address(OWNER))); } - function test_releaseOrMint_rebasing_success(uint16 multiplierPercentage) public { + function testFuzz_releaseOrMint_rebasing_success(uint16 multiplierPercentage) public { uint256 amount = 1000; uint256 expectedAmount = amount * multiplierPercentage / 100; s_rebasingToken.setMultiplierPercentage(multiplierPercentage);