Skip to content

Commit

Permalink
Add Foundry
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuanx committed Apr 28, 2024
1 parent b717068 commit 826e63c
Show file tree
Hide file tree
Showing 19 changed files with 4,417 additions and 3,534 deletions.
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
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 @@ -9,6 +9,7 @@ import '@matterlabs/hardhat-zksync-verify'
import '@openzeppelin/hardhat-upgrades'
import 'solidity-docgen'
import 'hardhat-gas-reporter'
import '@nomicfoundation/hardhat-foundry'

if (process.env.NODE_ENV !== 'PRODUCTION') {
config()
Expand Down
1 change: 1 addition & 0 deletions lib/forge-std
Submodule forge-std added at bb4cee
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@matterlabs/hardhat-zksync-deploy": "1.2.0",
"@matterlabs/hardhat-zksync-solc": "1.1.4",
"@matterlabs/hardhat-zksync-verify": "1.4.1",
"@nomicfoundation/hardhat-foundry": "^1.1.1",
"@nomicfoundation/hardhat-toolbox": "4.0.0",
"@openzeppelin/hardhat-upgrades": "3.0.3",
"@types/bunyan": "^1.8.7",
Expand All @@ -54,11 +55,12 @@
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.1",
"ethers": "^6.12.0",
"hardhat": "2.20.0",
"hardhat-contract-sizer": "2.10.0",
"hardhat-deploy": "^0.12.1",
"hardhat-storage-layout": "0.1.7",
"hardhat-deploy": "^0.12.4",
"hardhat-gas-reporter": "^1.0.10",
"hardhat-storage-layout": "0.1.7",
"husky": "8.0.3",
"lint-staged": "15.0.2",
"prettier": "3.2.5",
Expand Down
7,930 changes: 4,400 additions & 3,530 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions subgraph/config/sepolia.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "sepolia",
"address": "0xcd83200F3aEdb5aa30817E2D983B426640fFe5E0",
"startBlock": 5372850
"address": "0x637142f9b097Bb096437903700Ba21d02b13dDa5",
"startBlock": 5758466
}

0 comments on commit 826e63c

Please sign in to comment.