Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Part 2] Update gas snapshot with forge test --isolate and readme #31

Merged
merged 11 commits into from
Jun 5, 2024
Original file line number Diff line number Diff line change
@@ -1 +1 @@
73618
186974
Original file line number Diff line number Diff line change
@@ -1 +1 @@
622992
656948
Original file line number Diff line number Diff line change
@@ -1 +1 @@
913401
945285
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1262461
1312637
Original file line number Diff line number Diff line change
@@ -1 +1 @@
75516
153583
Original file line number Diff line number Diff line change
@@ -1 +1 @@
111483
224877
Original file line number Diff line number Diff line change
@@ -1 +1 @@
108288
252792
Original file line number Diff line number Diff line change
@@ -1 +1 @@
29699
54387
Original file line number Diff line number Diff line change
@@ -1 +1 @@
29431
52359
2 changes: 1 addition & 1 deletion .forge-snapshots/BinFungibleTokenTest#testBurn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2062
27300
2 changes: 1 addition & 1 deletion .forge-snapshots/BinFungibleTokenTest#testMint.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
43613
67877
Original file line number Diff line number Diff line change
@@ -1 +1 @@
135771
162255
Original file line number Diff line number Diff line change
@@ -1 +1 @@
128493
156725
Original file line number Diff line number Diff line change
@@ -1 +1 @@
133310
159530
Original file line number Diff line number Diff line change
@@ -1 +1 @@
129277
160249
Original file line number Diff line number Diff line change
@@ -1 +1 @@
129352
160312
Original file line number Diff line number Diff line change
@@ -1 +1 @@
160822
186338
Original file line number Diff line number Diff line change
@@ -1 +1 @@
141280
172624
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134786
170630
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134873
170705
Original file line number Diff line number Diff line change
@@ -1 +1 @@
165621
200509
Original file line number Diff line number Diff line change
@@ -1 +1 @@
126842
162954
2 changes: 1 addition & 1 deletion .forge-snapshots/CLSwapRouterTest#ExactInput.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
243641
266645
2 changes: 1 addition & 1 deletion .forge-snapshots/CLSwapRouterTest#ExactInputSingle.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
177764
201852
2 changes: 1 addition & 1 deletion .forge-snapshots/CLSwapRouterTest#ExactOutput.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
249640
272728
2 changes: 1 addition & 1 deletion .forge-snapshots/CLSwapRouterTest#ExactOutputSingle.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
177330
201502
2 changes: 1 addition & 1 deletion .forge-snapshots/NonfungiblePositionManager#burn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10794
62578
2 changes: 1 addition & 1 deletion .forge-snapshots/NonfungiblePositionManager#collect.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
198059
276679
Original file line number Diff line number Diff line change
@@ -1 +1 @@
72736
190144
Original file line number Diff line number Diff line change
@@ -1 +1 @@
79553
218325
2 changes: 1 addition & 1 deletion .forge-snapshots/NonfungiblePositionManager#mint.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
624105
653033
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
## Running test

1. Install dependencies with `forge install`
2. Run test with `forge test`
2. Run test with `forge test --isolate`

See https://github.com/pancakeswap/pancake-v4-core/pull/35 on why `--isolate` flag is used.

## Update dependencies

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"devDependencies": {},
"scripts": {
"compile": "forge compile",
"test": "forge test",
"dev": "forge test -vvv -w",
"test": "forge test --isolate",
"dev": "forge test --isolate -vvv -w",
"snapshot": "rm -fr .forge-snapshots && forge test",
"prettier": "forge fmt src/ && forge fmt test/ && forge fmt script/",
"prettier-check": "forge fmt --check"
Expand Down
Loading