ghostnet governance stuck on period 58
We changed the cycles_per_voting_period to 1: !5751 (merged)
This caused the "number of remaining blocks" to jump to the negative:
ubuntu@ip-10-19-160-86:~$ curl http://localhost:8732/chains/main/blocks/1191936/metadata | jq .voting_period_info
{
"voting_period": {
"index": 58,
"kind": "proposal",
"start_position": 1187840
},
"position": 4095,
"remaining": 16384
}
ubuntu@ip-10-19-160-86:~$ curl http://localhost:8732/chains/main/blocks/1191937/metadata | jq .voting_period_info
{
"voting_period": {
"index": 58,
"kind": "proposal",
"start_position": 1187840
},
"position": 4096,
"remaining": -1
}
and now it's decreasing forever, and we are stuck on period 58.
I see two ways where maybe this can be fixed:
- sending a dictator update operation and then a cancellation (empty proposal). would that reset the period counter? (I don't think so)
- edit the governance code so if the "number of blocks remaining" is negative, it's treated as a zero and the new period starts at the beginning of the next cycle? this could be added to L and we would do a ghostnet UAU to L