Skip to content

Commit

Permalink
Merge pull request #79 from gnosis/feat/hardhat-foundry
Browse files Browse the repository at this point in the history
feat: add foundry support
  • Loading branch information
allemanfredi authored Nov 11, 2024
2 parents 9d02f26 + 78d1073 commit 6105a67
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "packages/evm/lib/forge-std"]
path = packages/evm/lib/forge-std
url = https://github.com/foundry-rs/forge-std
6 changes: 6 additions & 0 deletions packages/evm/foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'
1 change: 1 addition & 0 deletions packages/evm/hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "@nomicfoundation/hardhat-chai-matchers"
import "@nomicfoundation/hardhat-foundry"
import "@nomicfoundation/hardhat-toolbox"
import { config as dotenvConfig } from "dotenv"
import "hardhat-change-network"
Expand Down
1 change: 1 addition & 0 deletions packages/evm/lib/forge-std
Submodule forge-std added at 1eea5b
1 change: 1 addition & 0 deletions packages/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.4",
"@nomicfoundation/hardhat-foundry": "^1.1.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.8",
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,13 @@
deep-eql "^4.0.1"
ordinal "^1.0.3"

"@nomicfoundation/hardhat-foundry@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-foundry/-/hardhat-foundry-1.1.2.tgz#4f5aaa1803b8f5d974dcbc361beb72d49c815562"
integrity sha512-f5Vhj3m2qvKGpr6NAINYwNgILDsai8dVCsFb1rAVLkJxOmD2pAtfCmOH5SBVr9yUI5B1z9rbTwPBJVrqnb+PXQ==
dependencies:
chalk "^2.4.2"

"@nomicfoundation/hardhat-network-helpers@^1.0.8":
version "1.0.12"
resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.12.tgz#2c0abec0c50b75f9d0d71776e49e3b5ef746d289"
Expand Down

0 comments on commit 6105a67

Please sign in to comment.