-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
* feat: use built-in gas snapshots This commit updates to use the gas snapshots built into forge instead of the GasSnapshot library * fix: naming * fix: remove unnecessary base snaps
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
+193 −0 | CONTRIBUTING.md | |
+17 −1 | README.md | |
+1 −1 | package.json | |
+12 −1 | scripts/vm.py | |
+4 −0 | src/StdChains.sol | |
+3 −3 | src/StdCheats.sol | |
+104 −0 | src/StdJson.sol | |
+1 −1 | src/StdStorage.sol | |
+104 −0 | src/StdToml.sol | |
+388 −73 | src/Vm.sol | |
+471 −463 | src/console.sol | |
+2 −2 | src/interfaces/IERC4626.sol | |
+693 −4 | src/safeconsole.sol | |
+1 −1 | test/StdAssertions.t.sol | |
+14 −12 | test/StdChains.t.sol | |
+10 −10 | test/StdCheats.t.sol | |
+12 −12 | test/StdError.t.sol | |
+1 −1 | test/StdJson.t.sol | |
+4 −14 | test/StdMath.t.sol | |
+13 −5 | test/StdStorage.t.sol | |
+1 −1 | test/StdStyle.t.sol | |
+1 −1 | test/StdToml.t.sol | |
+12 −12 | test/StdUtils.t.sol | |
+9 −6 | test/Vm.t.sol |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"DirectFillerFillMacroSingleOrder": "135973", | ||
"DirectFillerFillMacroSingleOrderWithFee": "174570", | ||
"DirectFillerFillMacroThreeOrdersWithFees": "433904", | ||
"DirectFillerFillMacroTwoOrders": "255553" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"BaseExecuteSingleWithFee": "176379", | ||
"ExecuteBatch": "188624", | ||
"ExecuteBatchMultipleOutputs": "197968", | ||
"ExecuteBatchMultipleOutputsDifferentTokens": "251215", | ||
"ExecuteBatchNativeOutput": "184650", | ||
"ExecuteSingle": "142762", | ||
"ExecuteSingleNativeOutput": "130824", | ||
"ExecuteSingleValidation": "152072", | ||
"RevertInvalidNonce": "22192" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"DirectFillerFillMacroTestEth1Output": "147146", | ||
"DirectFillerFillMacroTestEth2Outputs": "170234" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"EthOutputTest3OrdersWithEthAndERC20Outputs": "362445", | ||
"EthOutputTestEthOutput": "156342" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"BaseExecuteSingleWithFee": "176480", | ||
"ExecuteBatch": "188814", | ||
"ExecuteBatchMultipleOutputs": "198158", | ||
"ExecuteBatchMultipleOutputsDifferentTokens": "251405", | ||
"ExecuteBatchNativeOutput": "184840", | ||
"ExecuteSingle": "142871", | ||
"ExecuteSingleNativeOutput": "130933", | ||
"ExecuteSingleValidation": "152181", | ||
"RevertInvalidNonce": "22290" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"testExclusiveFillerSucceeds": "171199" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"BaseExecuteSingleWithFee": "172831", | ||
"ExecuteBatch": "181452", | ||
"ExecuteBatchMultipleOutputs": "189990", | ||
"ExecuteBatchMultipleOutputsDifferentTokens": "242428", | ||
"ExecuteBatchNativeOutput": "177478", | ||
"ExecuteSingle": "139215", | ||
"ExecuteSingleNativeOutput": "127277", | ||
"ExecuteSingleValidation": "148525", | ||
"RevertInvalidNonce": "18656" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"V3-DutchDecay": "16413", | ||
"V3-DutchDecayFullyDecayed": "7908", | ||
"V3-DutchDecayFullyDecayedNegative": "7619", | ||
"V3-DutchDecayNegative": "15389", | ||
"V3-DutchDecayNoDecayYet": "5720", | ||
"V3-DutchDecayNoDecayYetNegative": "5694", | ||
"V3-ExtendedMultiPointDutchDecay": "106707", | ||
"V3-LocateCurvePositionMulti": "17727", | ||
"V3-LocateCurvePositionSingle": "4227", | ||
"V3-MultiPointDutchDecay": "33868" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"BaseExecuteSingleWithFee": "178696", | ||
"ExecuteBatch": "193279", | ||
"ExecuteBatchMultipleOutputs": "202497", | ||
"ExecuteBatchMultipleOutputsDifferentTokens": "255617", | ||
"ExecuteBatchNativeOutput": "189305", | ||
"ExecuteSingle": "145087", | ||
"ExecuteSingleNativeOutput": "133149", | ||
"ExecuteSingleValidation": "154397", | ||
"InputPriorityFee": "147392", | ||
"OutputPriorityFee": "147396", | ||
"OutputPriorityFeeAndBaselinePriorityFee": "147396", | ||
"OverrideAuctionTargetBlock": "124529", | ||
"RevertInvalidNonce": "8853" | ||
} |