Skip to content

Commit

Permalink
feat: remove initcode hash test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChefMist committed Jan 25, 2025
1 parent 489937f commit ca93ee7
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 46 deletions.
3 changes: 0 additions & 3 deletions snapshots/BinMigratorFromPancakeswapV3Test.json

This file was deleted.

3 changes: 0 additions & 3 deletions snapshots/BinMigratorFromUniswapV3Test.json

This file was deleted.

3 changes: 0 additions & 3 deletions snapshots/BinPositionManagerTest.json

This file was deleted.

3 changes: 0 additions & 3 deletions snapshots/CLMigratorFromPancakeswapV3Test.json

This file was deleted.

3 changes: 0 additions & 3 deletions snapshots/CLMigratorFromUniswapV3Test.json

This file was deleted.

3 changes: 0 additions & 3 deletions snapshots/PositionManagerTest.json

This file was deleted.

7 changes: 0 additions & 7 deletions test/pool-bin/BinPositionManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,4 @@ contract BinPositionManagerTest is Test, GasSnapshot, DeployPermit2 {
revert ContractSizeTooLarge(address(binPm).code.length - 24576);
}
}

function test_initcodeHash() public {
vm.snapshotValue(
"BinPositionManager initcode hash (without constructor params, as uint256)",
uint256(keccak256(type(BinPositionManager).creationCode))
);
}
}
7 changes: 0 additions & 7 deletions test/pool-bin/migrator/BinMigratorFromV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,6 @@ abstract contract BinMigratorFromV3 is
}
}

function test_initcodeHash() public {
vm.snapshotValue(
"BinMigrator initcode hash (without constructor params, as uint256)",
uint256(keccak256(type(BinMigrator).creationCode))
);
}

function testMigrateFromV3_WhenPaused() public {
// 1. mint some liquidity to the v3 pool
_mintV3Liquidity(address(weth), address(token0));
Expand Down
7 changes: 0 additions & 7 deletions test/pool-cl/migrator/CLMigratorFromV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,6 @@ abstract contract CLMigratorFromV3 is OldVersionHelper, PosmTestSetup, Permit2Ap
}
}

function test_initcodeHash() public {
vm.snapshotValue(
"CLMigrator initcode hash (without constructor params, as uint256)",
uint256(keccak256(type(CLMigrator).creationCode))
);
}

function testCLMigrateFromV3_WhenPaused() public {
// 1. mint some liquidity to the v3 pool
_mintV3Liquidity(address(weth), address(token0));
Expand Down
7 changes: 0 additions & 7 deletions test/pool-cl/position-managers/CLPositionManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ contract PositionManagerTest is Test, GasSnapshot, PosmTestSetup, LiquidityFuzze
}
}

function test_initcodeHash() public {
vm.snapshotValue(
"CLPositionManager initcode hash (without constructor params, as uint256)",
uint256(keccak256(type(CLPositionManager).creationCode))
);
}

function test_tokenURI() public {
assertEq(lpm.tokenURI(1), "https://pancakeswap.finance/v4/pool-cl/positions/1");
assertEq(lpm.tokenURI(10), "https://pancakeswap.finance/v4/pool-cl/positions/10");
Expand Down

0 comments on commit ca93ee7

Please sign in to comment.