Skip to content

Commit

Permalink
exclude MarketGasExplorer from gas snapshots (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycenhorton authored Aug 10, 2023
1 parent 46da675 commit b5c87a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ LockedNORITest:testNormalWithdrawal() (gas: 1102743)
LockedNORITest:testReentryTokensReceived() (gas: 1102887)
LockedNORITest:testReentryTokensToSend() (gas: 1104432)
LockedNORITest:testTokensReceivedReverts() (gas: 69026)
MarketGasExplorer:test_0_bestPossibleCaseOneRemoval() (gas: 29784823)
MarketGasExplorer:test_1_mostRealisticSeveralSuppliersModerateAmounts() (gas: 54632596)
MarketGasExplorer:test_2_uniqueSuppliersBulkAmounts() (gas: 77978844)
MarketGasExplorer:test_3_uniqueSuppliersVariableAmounts() (gas: 1517539092)
MarketGasExplorer:test_4_singleSupplierGranularAmounts() (gas: 3629646788)
MarketGasExplorer:test_5_uniqueSuppliersGranularAmounts() (gas: 5791445583)
MarketInvariantTest:invariant_callSummary() (runs: 400, calls: 6000, reverts: 4265)
MarketInvariantTest:invariant_sumOfPurchaseAmounts() (runs: 400, calls: 6000, reverts: 4265)
MarketSupplierSelectionNotUsingUpSuppliersLastRemoval:test() (gas: 922133)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@
"hardhat": "hardhat",
"node:verbose": "TRACE=true LOG_HARDHAT_NETWORK=true hardhat node",
"docgen": "SOLC_PROFILE=test npx hardhat docgen",
"snapshot": "forge snapshot",
"snapshot:test": "FOUNDRY_PROFILE=test forge snapshot --snap .gas-snapshot-test",
"snapshot:production": "FOUNDRY_PROFILE=production forge snapshot --snap .gas-snapshot-production",
"snapshot": "forge snapshot --no-match-path MarketGasExplorer.t.sol",
"snapshot:test": "FOUNDRY_PROFILE=test forge snapshot --snap .gas-snapshot-test --no-match-path MarketGasExplorer.t.sol",
"snapshot:production": "FOUNDRY_PROFILE=production forge snapshot --snap .gas-snapshot-production --no-match-path MarketGasExplorer.t.sol",
"lint:diff": "npx eslint --cache --cache-location ./.eslintcache -c .eslintrc.js $(git diff --relative --name-only --diff-filter=d $(git merge-base HEAD origin/master) -- \"*.ts\" \"*.js\" \"*.env\" \"*.toml\")",
"artifactregistry-login": "npx google-artifactregistry-auth"
}
Expand Down

0 comments on commit b5c87a8

Please sign in to comment.