Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/fixed-rate
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Jan 19, 2024
2 parents e259e87 + 5b48608 commit a24554d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Build contracts via IR & check sizes
run: forge build --force --sizes # don't use compilation cache
run: yarn build:forge --force --sizes # don't use compilation cache
env:
FOUNDRY_PROFILE: build

Expand All @@ -43,6 +43,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Run forge tests
run: forge test -vvv
run: yarn test:forge -vvv
env:
FOUNDRY_PROFILE: test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ All audits are stored in the [audits](audits)' folder.

## Getting started

Install dependencies: `forge install`
Install dependencies: `yarn`

Run tests: `forge test`
Run tests: `yarn test:forge`

## Licenses

Expand Down
6 changes: 3 additions & 3 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ src = "src"
out = "out"
test = "test"
libs = ["lib"]
optimizer_runs = 999999 # Etherscan does not support verifying contracts with more optimization runs.
via_ir = true
optimizer_runs = 999999 # Etherscan does not support verifying contracts with more optimizer runs.

[profile.default.fuzz]
runs = 4096
Expand All @@ -16,13 +17,12 @@ wrap_comments = true


[profile.build]
via-ir = true
test = "/dev/null"
script = "/dev/null"


[profile.test]
via-ir = false
via_ir = false

[profile.test.fuzz]
runs = 16384
Expand Down

0 comments on commit a24554d

Please sign in to comment.