Concordium / concordium-node

The main concordium node implementation.
GNU Affero General Public License v3.0
45 stars 22 forks source link

Validator 7 - special case #1190

Closed mh-concordium closed 2 weeks ago

mh-concordium commented 4 months ago

VM name: ubuntu@172.31.16.46

  1. ✅ Have the node version 7.x.
    1. ✅ setup debug logs
    2. ✅ Setup Prometheus with CONCORDIUM_NODE_PROMETHEUS_LISTEN_PORT=9090 and also I think CONCORDIUM_NODE_PROMETHEUS_LISTEN_ADDRESS=0.0.0.0
    3. ✅ node catches up
  2. ✅ Register validator that will have a large stake enough to be finalizer.
    1. ✅ Make sure that the validator is receiving rewards.
    2. ✅ Wait several paydays.
  3. ✅ Reduce validators stake - ensure that validator is in cooldown at the time when PU takes in effect
  4. WAIT FOR PROTOCOL UPDATE
  5. After protocol update verify:
    1. ✅ Stake goes to pre-pre cooldown
    2. ✅ Rewards are being received for the next payday but not after that.
    3. ✅ At the snapshot of the payday, stake is in pre-cooldown.
    4. ✅ At the payday stake goes to cooldown.
  6. ✅ Move the stake to delegation to a pool
  7. At the next payday:
    1. ✅ Account is delegating