Open
Milestone
Shorter periods
The goal here is to shorten some periods of the protocol:
- cycles will last 4 hours
- test a mainnet node with 4 hours GC
- tolerated inactivity period will be differentiated according to the staking power
Have a look at %Protocol periods shortening to see what has been done previously for period shortening.
Work breakdown
-
change cycle length to 4 hours for mainnet and ghostnet !17583 (merged) -
change the parametric constant -
keep voting period to 14 days -
change delegate parameters delay to preserve the same timing -
document the change in tezos.gitlab.io -
add an entry in protocol changelog -
check that baking rights distribution over cycles fits the stake distribution as before -
check that 4 hours cycles are fine with respect to context GC in rolling mode -
GC start in the second quarter of the cycle, they have thus, at worth 2 hours to complete -
GC last less than the remaining time on low end machine (1h)
-
-
-
make tolerated_inactivity_periodthree constants (high, low, threshold) !17582 (merged)-
implement -
adapt tests -
add tests !19295 (closed) -
ensure that reactivation is smooth (no deactivation after reactivation due to loss of rights) -
document the change in tezos.gitlab.io !19127 (merged) -
add an entry in protocol changelog -
adapt/duplicate tezt test of tolerated_inactivity_periodchange inprotocol_migration.ml
-
-
change consensus_rights_delayto one cycle !18783 (merged)-
implement -
adapt tests -
add tests -
document the change in tezos.gitlab.io -
add an entry in protocol changelog
-
-
Manual migration test on mainnet and ghostnet contexts -
ideally bake 15 cycles after migration -
see https://drive.google.com/drive/u/0/folders/1CdEw04Jd86W0cj6Rht8hdsB8AdiFZRg9
-
Loading
Loading
Loading
Loading