From 8daeae8e6539a3585ca477bd6de57f1e0679ba83 Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni Date: Wed, 25 Oct 2023 14:11:47 -0400 Subject: [PATCH] chore: add profile ignoring test compilation during deployment --- packages/1155-contracts/foundry.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/1155-contracts/foundry.toml b/packages/1155-contracts/foundry.toml index e7f75fb4f..d81eafd40 100644 --- a/packages/1155-contracts/foundry.toml +++ b/packages/1155-contracts/foundry.toml @@ -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}"