Horizon upgrade will consist of 4 deployment phases
Phase | Executed by | Execution strategy | Description |
---|---|---|---|
1 | Deployer account | ||
(E&N Protocol team) | Hardhat Ignition script | New contract proxies are deployed. | |
2 | Protocol governor | ||
(Graph Council) | Batched transaction via | ||
OpenZeppelin Defender | The new proxies are registered in the Controller contract. | ||
3 | Deployer account | ||
(E&N Protocol team) | Hardhat Ignition script | New implementations are deployed. | |
4 | Protocol governor | ||
(Graph Council) | Batched transaction via | ||
OpenZeppelin Defender | Contracts are upgraded to their new implementations. |
Horizon script 1
npx hardhat deploy:migrate --network <network> --horizon-config <config> --step 1
> npx hardhat deploy:migrate --network sepolia --horizon-config sepolia --step 1
Subgraph service script 1
npx hardhat deploy:migrate --network <network> --subgraph-service-config <config> --step 1
> npx hardhat deploy:migrate --network sepolia --subgraph-service-config sepolia --step 1
Horizon script 2 / Council tx 1
npx hardhat deploy:migrate --network <network> --horizon-config <config> --step 2
Horizon script 3
npx hardhat deploy:migrate --network <network> --horizon-config <config> --step 3
> npx hardhat deploy:migrate --network sepolia --horizon-config sepolia --step 3
Subgraph service script 2
npx hardhat deploy:migrate --network <network> --subgraph-service-config <config> --step 2
Horizon script 4 / Council tx 2
npx hardhat deploy:migrate --network <network> --horizon-config <config> --step 4