Skip to main content

GRT $0.01984 up 0.58% Market cap $218.9M

Update protocol parameters due to post merge reduced block times

GGP-0019 · Council vote #22 on The Graph

Overview

Updated

Approved

Voting ended
Feb 9, 2023
Opened Jan 26, 2023
Submitted
Jan 26, 2023
Jan 26, 21:35 UTC
Members voted
6
One vote each, on Snapshot

GGP-0019 was also put to a vote as #20.

Put to the Council by 0xd201c9…22aa

Votes

  • Yes 6 votes
  • No 0 votes

How BitBasic reads the result

  • Approved when more Council members chose Yes than No.
  • Each member has one vote, and Snapshot keeps a member's last.

Description

GGP: 0019 Scope: EpochManager and Staking contracts Created: 2023-01-26 Discussion: https://forum.thegraph.com/t/update-some-protocol-parameters-due-to-post-merge-reduced-block-times/3754

Graph Governance Proposal 0019

With the merge the block time has changed from an average of 13.4 seconds to a fixed 12 seconds. This means that any protocol parameters that depend on or were set considering the pre-merge average block time are now slightly off their intended targets since essentially the clock is running faster. While this is not necessarily detrimental to the protocol it signifies a “silent” update and participants interacting with the protocol might experience unexpected behavior. It is then desirable to update the parameters to match their original targets in days/hours.

This process has already been done for the protocol’s issuance rate in GGP 0013. However, there are at least two more parameters to update: EpochManager.epochLength and Staking.thawingPeriod.

epochLength: This parameter sets the length of an epoch in blocks and it’s currently set to 6646 blocks on mainnet. Pre-merge this translated to epoch duration of ~24 hours; post-merge it means epochs are ~22.15 hours long. This is most noticeable for example when considering the allocation epoch cap (maxAllocationEpochs), which is set in epochs so it changed from ~28 days to ~25,8 days. Anyone can close allocations after this period which means unaware indexers might lose out on rewards due to griefers closing allocations they thought were still safe.

thawingPeriod: Thawing period is the amount of time tokens are locked after unstaking and it’s also set in blocks; on mainnet it’s set to 186092 which means ~28 days pre-merge and ~25,8 days post-merge.

Following a successful "yes" vote, the protocol update should be carried out at the earliest convenience using The Graph Council’s Gnosis Multisig, changing the parameters according to the following table:

Parameter Current value Proposed value
EpochManager.epochLength 6646 (~24 hours pre-merge; ~22.15 hours post-merge) 7200 (24 hours post-merge)
Staking.thawingPeriod 186092 (~28 days pre-merge; ~25.8 days post-merge) 201600 (28 days post-merge)

How the Council voted

In the order they voted. Snapshot knows members by address only, so BitBasic doesn't name them.

Member Vote When
0x37bc95…b391 Yes Jan 27, 01:18 UTC
0xb02ce5…80b0 Yes Jan 27, 08:22 UTC
0x7c1b13…297d Yes Jan 27, 08:24 UTC
0x17118d…2c21 Yes Jan 27, 10:51 UTC
0xc23efd…54e6 Yes Jan 27, 15:42 UTC
0x38fa68…4da8 Yes Jan 27, 22:31 UTC