Skip to content

Commit

Permalink
chore: add profile ignoring test compilation during deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kulkarohan committed Oct 25, 2023
1 parent e288ef8 commit 8daeae8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/1155-contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ optimizer = false
optimizer_runs = 0
via_ir = false

[profile.deploy]
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
optimizer_runs = 50
via_ir = true
solc_version = '0.8.17'
out = 'out'
src = 'src'
test = 'src'


[rpc_endpoints]
goerli = "https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
Expand Down

0 comments on commit 8daeae8

Please sign in to comment.