File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 22
22
"V4Router_ExactOut3Hops_nativeOut" : " 224943" ,
23
23
"V4Router_ExactOutputSingle" : " 133337" ,
24
24
"V4Router_ExactOutputSingle_nativeIn_sweepETH" : " 126419" ,
25
- "V4Router_ExactOutputSingle_nativeOut" : " 119821"
25
+ "V4Router_ExactOutputSingle_nativeOut" : " 119821" ,
26
+ "position manager initcode hash (without constructor params, as uint256)" : " 27545762869727400677117557485685740862616789454191614676777323590122002226479"
26
27
}
Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ contract V4RouterTest is RoutingTestHelpers {
22
22
vm.snapshotValue ("V4Router_Bytecode " , address (router).code.length );
23
23
}
24
24
25
+ function test_router_initcodeHash () public {
26
+ vm.snapshotValue (
27
+ "position manager initcode hash (without constructor params, as uint256) " ,
28
+ uint256 (keccak256 (abi.encodePacked (vm.getCode ("MockV4Router.sol:MockV4Router " ))))
29
+ );
30
+ }
31
+
25
32
/*//////////////////////////////////////////////////////////////
26
33
ERC20 -> ERC20 EXACT INPUT
27
34
//////////////////////////////////////////////////////////////*/
You can’t perform that action at this time.
0 commit comments