Skip to content

Commit

Permalink
test: Add foundry plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
thorseldon committed Apr 25, 2023
1 parent 923d55a commit dfca2a2
Show file tree
Hide file tree
Showing 9 changed files with 16,049 additions and 39,032 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ cache
artifacts
abis/

# Foundry files
cache_forge
out

# Others
lib

Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ gasReporterOutput.json
typechain-types
.history
deployments
tasks/x2y2
tasks/x2y2
cache_forge
out
lib
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", "0.8.9"],
"compiler-version": ["error", "0.8.18"],
"func-visibility": ["error", { "ignoreConstructors": true }],
"func-name-mixedcase": "off",
"no-inline-assembly": "off",
Expand Down
6 changes: 6 additions & 0 deletions 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 hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "@nomicfoundation/hardhat-chai-matchers";
import "@openzeppelin/hardhat-upgrades";
import "@nomiclabs/hardhat-etherscan";
import "@nomiclabs/hardhat-ethers";
import "@nomicfoundation/hardhat-foundry";
import "@typechain/hardhat";
import "hardhat-abi-exporter";
import "hardhat-gas-reporter";
Expand Down
Loading

0 comments on commit dfca2a2

Please sign in to comment.