From 7fd03d3135c8d2ee8bcfe174b5b80c309823560f Mon Sep 17 00:00:00 2001 From: 0xtekgrinder <72015889+0xtekgrinder@users.noreply.github.com> Date: Thu, 7 Dec 2023 10:01:39 -0500 Subject: [PATCH] chore: update fuzzruns from 100k to 10k (#102) * chore: update fuzzruns from 100k to 10k * chore: add more verbose to ci --- .github/workflows/ci-deep.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-deep.yml b/.github/workflows/ci-deep.yml index 3be11778..df2c4592 100644 --- a/.github/workflows/ci-deep.yml +++ b/.github/workflows/ci-deep.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: inputs: fuzzRuns: - default: "100000" + default: "10000" description: "Unit: number of fuzz runs." required: false invariantRuns: @@ -146,4 +146,4 @@ jobs: - name: Run Foundry tests run: yarn test:fuzz env: - FOUNDRY_FUZZ_RUNS: ${{ github.event.inputs.fuzzRuns || '100000' }} \ No newline at end of file + FOUNDRY_FUZZ_RUNS: ${{ github.event.inputs.fuzzRuns || '10000' }} \ No newline at end of file diff --git a/package.json b/package.json index 5db439b3..1c59be3b 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "fork:optimism": "source .env && anvil --fork-url $ETH_NODE_URI_OPTIMISM", "run": "docker run -it --rm -v $(pwd):/app -w /app ghcr.io/foundry-rs/foundry sh", "script:fork": "source .env && forge script --skip test --fork-url fork --broadcast -vvvv", - "test:unit": "forge test -vvv --gas-report --match-path \"test/units/**/*.sol\"", + "test:unit": "forge test -vvvv --gas-report --match-path \"test/units/**/*.sol\"", "test:invariant": "forge test -vvv --gas-report --match-path \"test/invariants/**/*.sol\"", "test:fuzz": "forge test -vvv --gas-report --match-path \"test/fuzz/**/*.sol\"", "slither": "chmod +x ./slither.sh && ./slither.sh",