Skip to content

Commit

Permalink
added foundry config, npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r committed Jul 21, 2023
1 parent 1efafc0 commit 8c7acf3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[profile.default]
# seems to have no effect (?)
src = 'contracts'
test = 'test/foundry/'
solc_version = "0.8.19"
out = 'build/foundry'
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"scripts": {
"build": "truffle compile --all",
"test": "truffle test",
"test:foundry": "scripts/test-foundry.sh",
"test:foundry:fraction-on-op": "TOKEN=0xbd80cfa9d93a87d1bb895f810ea348e496611cd4 scripts/test-foundry.sh optimism-mainnet",
"prepare": "husky install"
},
"dependencies": {
Expand Down

0 comments on commit 8c7acf3

Please sign in to comment.