Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add way to unlink contracts before verifying
Browse files Browse the repository at this point in the history
oveddan committed Oct 25, 2023
1 parent edb0ba0 commit e5f62ec
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/1155-contracts/foundry.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[profile.default]
fs_permissions = [{access = "read", path = "./addresses"}, {access = "read", path = "./chainConfigs"}, {access = "read", path = "./package.json"}, {access = "readwrite", path = "./deterministicConfig"}]
fs_permissions = [
{ access = "read", path = "./addresses" },
{ access = "read", path = "./chainConfigs" },
{ access = "read", path = "./package.json" },
{ access = "readwrite", path = "./deterministicConfig" },
]
libs = ['_imagine', 'node_modules', 'script']
allow_paths = ["node_modules/@zoralabs/protocol-rewards"]
optimizer = true
4 changes: 3 additions & 1 deletion packages/1155-contracts/package.json
Original file line number Diff line number Diff line change
@@ -29,7 +29,9 @@
"storage-inspect:check": "./script/storage-check.sh check ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"storage-inspect:generate": "./script/storage-check.sh generate ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"js-test:watch": "vitest dev",
"anvil": "source .env.anvil && anvil --fork-url $FORK_RPC_URL --fork-block-number $FORK_BLOCK_NUMBER --chain-id 31337"
"anvil": "source .env.anvil && anvil --fork-url $FORK_RPC_URL --fork-block-number $FORK_BLOCK_NUMBER --chain-id 31337",
"unlink-contracts": "rm -rf ./node_modules/@zoralabs/protocol-rewards && cp -r ../protocol-rewards ./node_modules/@zoralabs/protocol-rewards",
"link-contracts": "rm -rf ./node_modules && cd .. && yarn"
},
"files": [
"dist/",

0 comments on commit e5f62ec

Please sign in to comment.