Skip to content

Commit

Permalink
add hardhat-foundry
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Sep 29, 2023
1 parent 59d3c01 commit 7daf22c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ contracts-exposed

# Foundry
/out
/cache_forge

# Certora
.certora*
Expand Down
7 changes: 7 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'

[fuzz]
runs = 10000
max_test_rejects = 150000
1 change: 1 addition & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const argv = require('yargs/yargs')()
}).argv;

require('@nomiclabs/hardhat-truffle5');
require('@nomicfoundation/hardhat-foundry');
require('hardhat-ignore-warnings');
require('hardhat-exposed');

Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@changesets/cli": "^2.26.0",
"@changesets/pre": "^1.0.14",
"@changesets/read": "^0.5.9",
"@nomicfoundation/hardhat-foundry": "^1.1.1",
"@nomicfoundation/hardhat-network-helpers": "^1.0.3",
"@nomiclabs/hardhat-truffle5": "^2.0.5",
"@nomiclabs/hardhat-web3": "^2.0.0",
Expand Down

0 comments on commit 7daf22c

Please sign in to comment.