chore: Add script to remove executor addresses from Tycho Router

--- don't change below this line ---
ENG-4454 Took 1 hour 6 minutes
This commit is contained in:
Diana Carvalho
2025-05-08 15:11:07 +01:00
parent 5ee9d79a15
commit 30b8f9dd19
3 changed files with 51 additions and 7 deletions

View File

@@ -48,3 +48,9 @@ For each of the following, you must select one of `tenderly_ethereum`, `tenderly
1. In `scripts/deploy-executors.js` define the executors to be deployed
2. Deploy executors: `npx hardhat run scripts/deploy-executors.js --network NETWORK`
3. Fill in the executor addresses in `config/executor_addresses.json`
### Remove executors
1. If you set a new executor for the same protocol, you need to remove the old one.
2. Run: `npx hardhat run scripts/remove-executor.js --network NETWORK`
3. There will be a prompt for you to insert the executor address you want to remove.