diff --git a/snapshots/PositionDescriptorTest.json b/snapshots/PositionDescriptorTest.json index f47e81a9..8ca090f1 100644 --- a/snapshots/PositionDescriptorTest.json +++ b/snapshots/PositionDescriptorTest.json @@ -1,4 +1,5 @@ { "position descriptor initcode hash (without constructor params, as uint256)": "90002686278379416913385532438840669828848441637921711710845035729125835578244", - "positionDescriptor bytecode size": "1488" + "positionDescriptor bytecode size": "24138", + "proxy bytecode size": "1488" } \ No newline at end of file diff --git a/test/PositionDescriptor.t.sol b/test/PositionDescriptor.t.sol index 6d62e7dd..0d725cd0 100644 --- a/test/PositionDescriptor.t.sol +++ b/test/PositionDescriptor.t.sol @@ -48,7 +48,11 @@ contract PositionDescriptorTest is Test, PosmTestSetup { } function test_bytecodeSize_positionDescriptor() public { - vm.snapshotValue("positionDescriptor bytecode size", address(proxyAsImplementation).code.length); + vm.snapshotValue("positionDescriptor bytecode size", address(positionDescriptor).code.length); + } + + function test_bytecodeSize_proxy() public { + vm.snapshotValue("proxy bytecode size", address(proxyAsImplementation).code.length); } function test_setup_succeeds() public view {