-
Notifications
You must be signed in to change notification settings - Fork 956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
governance voting is broken in v0.44.0 #3859
Comments
I just tested this on one of our internal networks and I can see the votes:
|
From the block results of that block it seems like the tx didn't change any keys in storage: {
"jsonrpc":"2.0",
"id":-1,
"result":{
"height":"26579",
"txs_results":[
{
"code":0,
"data":null,
"log":"",
"info":"",
"gas_wanted":"0",
"gas_used":"0",
"events":[
],
"codespace":""
}
],
"begin_block_events":null,
"end_block_events":[
{
"type":"tx/applied",
"attributes":[
{
"key":"batch",
"value":"{\"F0E28A053E91E283FB1A15ADF1044EEEFAFECA1C6C8D2F7B84D3BE07384C37FE\":{\"Ok\":{\"changed_keys\":[],\"vps_result\":{\"accepted_vps\":[\"tnam1qxshaapfleewqjgdrqsfkz8zmjkzum088qpl76cn\"],\"rejected_vps\":[],\"errors\":[],\"status_flags\":\"\"},\"initialized_accounts\":[],\"events\":[]}}}",
"index":true
},
{
"key":"code",
"value":"0",
"index":true
},
{
"key":"gas_used",
"value":"56669",
"index":true
},
{
"key":"hash",
"value":"52AF06EC53AA9EE88289F318706396536D7CC31DC60754BCAF207422271D8988",
"index":true
},
{
"key":"height",
"value":"26579",
"index":true
},
{
"key":"info",
"value":"Check batch for result.",
"index":true
},
{
"key":"log",
"value":"",
"index":true
},
{
"key":"event-level",
"value":"tx",
"index":true
}
]
}
],
"validator_updates":null,
"consensus_param_updates":null
}
} |
I just tried again with a PGF Steward proposal that I have created, and I've been able to reproduce the same issue voting via a validator address, so not sure if this is related to an inconsistency in the configuration and/or the way Housefire v0.44.0 has been set up - due to the fact you are getting a different result on an internal devnet. Although if this is a way similar to the one in which we'll launch the mainnet, then it's definitely concerning. https://shielded.live/txs/9FB77E56DDD347936DE8BC3AD1CA756478B8BF78999D45F621CEDF2F7E017036 Block height in which the transaction has been processed: https://shielded.live/blocks/39984 (epoch 92)
|
I just voted https://shielded.live/txs/AE96E2C605D50065C7CA00E1E24EADDDC0EE6EC3E5B2B394A2C070A1070304DE Block height in which the transaction has been processed: https://shielded.live/blocks/40409 (epoch 93)
The odd thing, as we can see above, is that other delegator address has voted https://shielded.live/txs/5407151E5D617CB7692DA5D804E87AC92F0205836F99F4E3728275B2D57DE3D6 Block height in which the transaction has been processed: https://shielded.live/blocks/40256 (epoch 92) |
multiple votes from the same delegator is fine (the vote is stored in storage for each delegation, so probably |
Ah, got it. Well, then this would leave the major issue of validator votes not being included in the storage. I have just tried again in the proposal ID 3 at Housefire v0.44.0 and same, the validator vote it's not being counted/included in the storage: https://shielded.live/txs/1ADD8331438A73BAD731A3888B365DE5F13C1EA53A0A4E77479847DB2283F879 Block height in which the transaction has been processed: https://shielded.live/blocks/48308 (epoch 111) |
I might have a lead, ill keep you posted here. |
this might be due to your validator not having a self-bond. Can you try adding a self-bond and voting? |
@Fraccaman Okay. I'm going to reproduce this. I just self-bonded 100 NAM to my validator: I just created a new proposal with a voting period from epoch 122 to 125 (activation epoch is 128): I will vote on epoch 123 to ensure (121 +
We can now see that validator vote is counted/stored in the storage. |
Closed by #3874 |
While trying to collect data for Undexer improvements, we have voted
nay
on proposal ID 1 (voting period from epoch 60 to 63) on Housefire running onv0.44.0
:https://shielded.live/txs/52AF06EC53AA9EE88289F318706396536D7CC31DC60754BCAF207422271D8988
Block height in which the transaction has been processed: https://shielded.live/blocks/26579 (epoch 61)
But:
No votes shown.
No voting power shown on
nay
side.The text was updated successfully, but these errors were encountered: