From b619b6718e31aa5b4fa0286520c455ceb950276d Mon Sep 17 00:00:00 2001 From: Mark Gretzke <65617397+vimageDE@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:14:04 +0100 Subject: [PATCH] standardize the init code hash (#917) disable the inclusion of the metadata hash in the creation code --- foundry.toml | 1 + snapshots/PoolManagerTest.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/foundry.toml b/foundry.toml index 1e633aaed..7cc053d2d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -6,6 +6,7 @@ fs_permissions = [{ access = "read-write", path = ".forge-snapshots/"}, { access solc = "0.8.26" evm_version = "cancun" gas_limit = "300000000" +bytecode_hash = "none" [profile.default.fuzz] runs = 1000 diff --git a/snapshots/PoolManagerTest.json b/snapshots/PoolManagerTest.json index 4b6cd6039..d43defca1 100644 --- a/snapshots/PoolManagerTest.json +++ b/snapshots/PoolManagerTest.json @@ -5,7 +5,7 @@ "donate gas with 2 tokens": "145510", "erc20 collect protocol fees": "57500", "native collect protocol fees": "59643", - "poolManager bytecode size": "24050", + "poolManager bytecode size": "24009", "removeLiquidity with empty hook": "130613", "removeLiquidity with native token": "112523", "simple addLiquidity": "161276",