-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit updates to use the gas snapshots built into forge instead of the GasSnapshot library
- 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 @@ | ||
{ | ||
"Base-DutchOrder-BaseExecuteSingleWithFee": "181438", | ||
"Base-DutchOrder-ExecuteBatch": "196244", | ||
"Base-DutchOrder-ExecuteBatchMultipleOutputs": "205893", | ||
"Base-DutchOrder-ExecuteBatchMultipleOutputsDifferentTokens": "259435", | ||
"Base-DutchOrder-ExecuteBatchNativeOutput": "189770", | ||
"Base-DutchOrder-ExecuteSingle": "147820", | ||
"Base-DutchOrder-ExecuteSingleNativeOutput": "133383", | ||
"Base-DutchOrder-ExecuteSingleValidation": "157131", | ||
"Base-DutchOrder-RevertInvalidNonce": "26372" | ||
} |
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 @@ | ||
{ | ||
"Base-ExclusiveDutchOrder-BaseExecuteSingleWithFee": "181682", | ||
"Base-ExclusiveDutchOrder-ExecuteBatch": "196730", | ||
"Base-ExclusiveDutchOrder-ExecuteBatchMultipleOutputs": "206374", | ||
"Base-ExclusiveDutchOrder-ExecuteBatchMultipleOutputsDifferentTokens": "259924", | ||
"Base-ExclusiveDutchOrder-ExecuteBatchNativeOutput": "190250", | ||
"Base-ExclusiveDutchOrder-ExecuteSingle": "148073", | ||
"Base-ExclusiveDutchOrder-ExecuteSingleNativeOutput": "133635", | ||
"Base-ExclusiveDutchOrder-ExecuteSingleValidation": "157383", | ||
"Base-ExclusiveDutchOrder-RevertInvalidNonce": "26629" | ||
} |
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 @@ | ||
{ | ||
"Base-LimitOrderReactor-BaseExecuteSingleWithFee": "177666", | ||
"Base-LimitOrderReactor-ExecuteBatch": "188610", | ||
"Base-LimitOrderReactor-ExecuteBatchMultipleOutputs": "197369", | ||
"Base-LimitOrderReactor-ExecuteBatchMultipleOutputsDifferentTokens": "250029", | ||
"Base-LimitOrderReactor-ExecuteBatchNativeOutput": "182131", | ||
"Base-LimitOrderReactor-ExecuteSingle": "144054", | ||
"Base-LimitOrderReactor-ExecuteSingleNativeOutput": "129612", | ||
"Base-LimitOrderReactor-ExecuteSingleValidation": "153360", | ||
"Base-LimitOrderReactor-RevertInvalidNonce": "22590" | ||
} |
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 @@ | ||
{ | ||
"Base-PriorityOrderReactor-BaseExecuteSingleWithFee": "184270", | ||
"Base-PriorityOrderReactor-ExecuteBatch": "201986", | ||
"Base-PriorityOrderReactor-ExecuteBatchMultipleOutputs": "211513", | ||
"Base-PriorityOrderReactor-ExecuteBatchMultipleOutputsDifferentTokens": "264944", | ||
"Base-PriorityOrderReactor-ExecuteBatchNativeOutput": "195506", | ||
"Base-PriorityOrderReactor-ExecuteSingle": "150656", | ||
"Base-PriorityOrderReactor-ExecuteSingleNativeOutput": "136223", | ||
"Base-PriorityOrderReactor-ExecuteSingleValidation": "159971", | ||
"Base-PriorityOrderReactor-InputPriorityFee": "152964", | ||
"Base-PriorityOrderReactor-OutputPriorityFee": "152968", | ||
"Base-PriorityOrderReactor-OutputPriorityFeeAndBaselinePriorityFee": "152962", | ||
"Base-PriorityOrderReactor-OverrideAuctionTargetBlock": "130099", | ||
"Base-PriorityOrderReactor-RevertInvalidNonce": "13608" | ||
} |