update foundry

This commit is contained in:
sanchaymittal 2023-05-01 14:28:20 +09:00
parent e7f83499c1
commit e38c287196
No known key found for this signature in database
GPG Key ID: D794EEBC262F179E
2 changed files with 6 additions and 3 deletions

View File

@ -2,5 +2,5 @@
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test'
test = 'forge-test'
cache_path = 'cache_forge'

View File

@ -7,7 +7,10 @@
"build": "npm run clean && npm run compile",
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"test": "npx hardhat test"
"test": "npx hardhat test",
"forge:install": "forge install",
"forge:build": "forge build --via-ir",
"forge:test": "forge test --via-ir"
},
"repository": {
"type": "git",
@ -24,7 +27,7 @@
"dependencies": {
"@connext/interfaces": "^2.0.5",
"@openzeppelin/contracts": "^4.8.3"
},
},
"devDependencies": {
"@nomicfoundation/hardhat-foundry": "^1.0.1",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",