Skip to content

Commit 62553fd

Browse files
add foundry flatten script (#746)
1 parent b03c011 commit 62553fd

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/wet-carrots-laugh.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-eth": patch
3+
---
4+
5+
forge flatten for foundy

templates/extensions/foundry/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"test": "yarn foundry:test",
1313
"verify": "yarn workspace @se-2/foundry verify",
1414
"generate": "yarn workspace @se-2/foundry generate",
15+
"flatten": "yarn workspace @se-1/foundry flatten",
1516
"format": "yarn next:format && yarn foundry:format"
1617
}
1718
}

templates/extensions/foundry/packages/foundry/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"fork": "anvil --fork-url ${0:-mainnet} --chain-id 31337 --config-out localhost.json",
88
"compile": "forge compile",
99
"generate": "node script/generateAccount.js",
10+
"flatten": "forge flatten",
1011
"deploy": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy && node script/generateTsAbis.js",
1112
"deploy:verify": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy --verify ; node script/generateTsAbis.js",
1213
"verify": "forge build --build-info --build-info-path out/build-info/ && forge script script/VerifyAll.s.sol --ffi --rpc-url ${1:-default_network}",

0 commit comments

Comments
 (0)