From ac35256c6961b8f8783b8461302594aaeb0eaa95 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Wed, 26 Feb 2025 13:20:51 -0500 Subject: [PATCH] fix: rename mainnet -> ethereum we must match what we have in the executors file (which is what tycho-indexer gives us) --- foundry/hardhat.config.js | 4 ++-- foundry/scripts/README.md | 4 ++-- foundry/scripts/roles.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/foundry/hardhat.config.js b/foundry/hardhat.config.js index 3248f29..8969e8a 100644 --- a/foundry/hardhat.config.js +++ b/foundry/hardhat.config.js @@ -17,7 +17,7 @@ module.exports = { }, networks: { - tenderly_mainnet: { + tenderly_ethereum: { url: process.env.RPC_URL, accounts: [process.env.PRIVATE_KEY] }, @@ -25,7 +25,7 @@ module.exports = { url: process.env.RPC_URL, accounts: [process.env.PRIVATE_KEY] }, - mainnet: { + ethereum: { url: process.env.RPC_URL, accounts: [process.env.PRIVATE_KEY] }, diff --git a/foundry/scripts/README.md b/foundry/scripts/README.md index bf85db7..3bd07fd 100644 --- a/foundry/scripts/README.md +++ b/foundry/scripts/README.md @@ -32,8 +32,8 @@ from being stored in the shell history. ## Deploy Tycho Router -For each of the following, you must select one of `tenderly_mainnet`, `tenderly_base`, -`mainnet`, or `base` as the network. +For each of the following, you must select one of `tenderly_ethereum`, `tenderly_base`, +`ethereum`, or `base` as the network. 1. Deploy router: `npx hardhat run scripts/deploy-router.js --network NETWORK` 2. Define the accounts to grant roles to in `scripts/roles.json` diff --git a/foundry/scripts/roles.json b/foundry/scripts/roles.json index 9d93835..3a7ad7a 100644 --- a/foundry/scripts/roles.json +++ b/foundry/scripts/roles.json @@ -1,5 +1,5 @@ { - "mainnet": { + "ethereum": { "EXECUTOR_SETTER_ROLE": [ "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" ], @@ -14,7 +14,7 @@ "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" ] }, - "tenderly_mainnet": { + "tenderly_ethereum": { "EXECUTOR_SETTER_ROLE": [ "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" ],