Add initialization actions to protocol deployment script
tmigone opened this issue · comments
The following actions need to be performed manually when deploying the protocol:
- Deployer renounce minter (GraphToken.renounceMinter)
- Set subgraph availability oracle (RewardsManager.setSubgraphAvailabilityOracle)
- Set AssetHolder (Staking.setAssetHolder)
- Set Pause Guardian (Controller.setPauseGuardian)
- Transfer contract ownership to governor
- Controller
- GraphProxyAdmin
- GraphToken
- SubgraphNFT
- Transfer contract ownership to allocation exchange owner
- AllocationExchange
These could be done automatically by incorporating the required parameters into the config file graph.<network>.yml
Fixed in #631