From 1bdcbb83e089c012dde3a33f159653a004c43c1d Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Tue, 25 Feb 2025 17:18:54 -0500 Subject: [PATCH] fix: (deployment) add tenderly keys to json files --- foundry/hardhat.config.js | 4 ++-- foundry/scripts/roles.json | 32 +++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/foundry/hardhat.config.js b/foundry/hardhat.config.js index 3248f29..626b8d2 100644 --- a/foundry/hardhat.config.js +++ b/foundry/hardhat.config.js @@ -18,11 +18,11 @@ module.exports = { networks: { tenderly_mainnet: { - url: process.env.RPC_URL, + url: process.env.TENDERLY_RPC_URL, accounts: [process.env.PRIVATE_KEY] }, tenderly_base: { - url: process.env.RPC_URL, + url: process.env.TENDERLY_RPC_URL, accounts: [process.env.PRIVATE_KEY] }, mainnet: { diff --git a/foundry/scripts/roles.json b/foundry/scripts/roles.json index c5609f0..9d93835 100644 --- a/foundry/scripts/roles.json +++ b/foundry/scripts/roles.json @@ -13,7 +13,22 @@ "FUND_RESCUER_ROLE": [ "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" ] - }, + }, + "tenderly_mainnet": { + "EXECUTOR_SETTER_ROLE": [ + "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" + ], + "FEE_SETTER_ROLE": [], + "PAUSER_ROLE": [ + "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" + ], + "UNPAUSER_ROLE": [ + "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" + ], + "FUND_RESCUER_ROLE": [ + "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" + ] + }, "base": { "EXECUTOR_SETTER_ROLE": [ "0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662" @@ -28,5 +43,20 @@ "FUND_RESCUER_ROLE": [ "0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662" ] + }, + "tenderly_base": { + "EXECUTOR_SETTER_ROLE": [ + "0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662" + ], + "FEE_SETTER_ROLE": [], + "PAUSER_ROLE": [ + "0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662" + ], + "UNPAUSER_ROLE": [ + "0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662" + ], + "FUND_RESCUER_ROLE": [ + "0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662" + ] } } \ No newline at end of file