fix: rename mainnet -> ethereum

we must match what we have in the executors file (which is what tycho-indexer gives us)
This commit is contained in:
TAMARA LIPOWSKI
2025-02-26 13:20:51 -05:00
parent e5759b9498
commit ac35256c69
3 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ module.exports = {
}, },
networks: { networks: {
tenderly_mainnet: { tenderly_ethereum: {
url: process.env.RPC_URL, url: process.env.RPC_URL,
accounts: [process.env.PRIVATE_KEY] accounts: [process.env.PRIVATE_KEY]
}, },
@@ -25,7 +25,7 @@ module.exports = {
url: process.env.RPC_URL, url: process.env.RPC_URL,
accounts: [process.env.PRIVATE_KEY] accounts: [process.env.PRIVATE_KEY]
}, },
mainnet: { ethereum: {
url: process.env.RPC_URL, url: process.env.RPC_URL,
accounts: [process.env.PRIVATE_KEY] accounts: [process.env.PRIVATE_KEY]
}, },

View File

@@ -32,8 +32,8 @@ from being stored in the shell history.
## Deploy Tycho Router ## Deploy Tycho Router
For each of the following, you must select one of `tenderly_mainnet`, `tenderly_base`, For each of the following, you must select one of `tenderly_ethereum`, `tenderly_base`,
`mainnet`, or `base` as the network. `ethereum`, or `base` as the network.
1. Deploy router: `npx hardhat run scripts/deploy-router.js --network 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` 2. Define the accounts to grant roles to in `scripts/roles.json`

View File

@@ -1,5 +1,5 @@
{ {
"mainnet": { "ethereum": {
"EXECUTOR_SETTER_ROLE": [ "EXECUTOR_SETTER_ROLE": [
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
], ],
@@ -14,7 +14,7 @@
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
] ]
}, },
"tenderly_mainnet": { "tenderly_ethereum": {
"EXECUTOR_SETTER_ROLE": [ "EXECUTOR_SETTER_ROLE": [
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655" "0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
], ],