GGP: 0007 Scope: Smart Contracts Created: 2021-11-23 GIPs-Repo-Latest-Commit: 6db18c583241694b9bb4c78714a7de06895d3ce7
GIP: 0015 Title: Allow unstake passing a larger amount than available Authors: Ariel Barmat ariel@edgeandnode.com Created: 2021-09-25 Stage: Candidate Implementations: https://github.com/graphprotocol/contracts/pull/487
GIP: 0016 Title: Revert when not enough precision to assign a delegation share Authors: Ariel Barmat ariel@edgeandnode.com Created: 2021-09-25 Stage: Candidate Implementations: https://github.com/graphprotocol/contracts/pull/491
GIP: 0017 Title: Allow batching calls in Staking contract Authors: Ariel Barmat ariel@edgeandnode.com Created: 2021-09-25 Stage: Candidate Implementations: https://github.com/graphprotocol/contracts/pull/475
This proposal is to upgrade The Graph’s protocol smart contracts running on Ethereum mainnet with the changes described in Graph Improvement Proposals (GIP) 0015, 0016, 0017. The motivation and scope of the changes are captured in the language of the proposal itself.
The code deployed that implements GIP-0015, GIP-0016 and GIP-0017 must correspond to the commit hash included in the front matter of this governance proposal, which corresponds to the version of the implementation that was audited by OpenZeppelin including fixes.
Following a successful “yes” vote, given that the change described in the GIPs are backwards compatible, the protocol upgrade should be carried out at the earliest convenience using The Graph Council’s Gnosis Multisig after one condition has been met: GIP-0017 adds a multicall function but removes some functions the Indexer agent is using that will be replaced by the multicall. The changes in the Indexer agent must therefore be implemented before executing GGP-0007. The Indexer agent upgrade must be verified prior to initiating the upgrade on the Multisig.