Skip to content
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

Proposals not being tallied correctly #1903

Closed
bengtlofgren opened this issue Sep 18, 2023 · 1 comment · Fixed by #1944
Closed

Proposals not being tallied correctly #1903

bengtlofgren opened this issue Sep 18, 2023 · 1 comment · Fixed by #1944
Labels
bug Something isn't working

Comments

@bengtlofgren
Copy link
Contributor

Thanks to @McDaan , we have realised that namadac vote-proposal and tally_result are not working as expected.

Currently investigating this issue.

The bug was reported with the following queries:

namada client query-proposal-result --proposal-id 0
Proposal Id: 0
    passed with 15002638.990000 yay votes and 0.000000 nay votes (0.%)

And after the tally, the result was

namadac query-proposal-result --proposal-id 0
Proposal Id: 0
    rejected with 0.000000 yay votes and 0.000000 nay votes (0.%)

Storage after db_dump shows that votes were indeed recorded, but with 0 voting power

start_epoch" = "0801000000000000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36gvurqdpjggenvdp4xuuyxvzrgdz52v3exgcrw3fjx5cnws3hgepnqd2xxap5zv6yyef947/#atest1d9khqw36gezrzs6rgdzr2d3sgguyz3p4gcmnzs2rgyuyg3zpxaq5vs33xq6nq32rx4rrxd356g6uud" = "0000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36gvurqdpjggenvdp4xuuyxvzrgdz52v3exgcrw3fjx5cnws3hgepnqd2xxap5zv6yyef947/#atest1v4ehgw368ymnzsf5g5u5gv6rxezyxwfhxccnxsengdz5vdesg5mrjvp4xse5xs338ymry33cltfrgt" = "0000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36gvurqdpjggenvdp4xuuyxvzrgdz52v3exgcrw3fjx5cnws3hgepnqd2xxap5zv6yyef947/#atest1v4ehgw36ggenqsjpxfpyx3fex5cngvfkgyunzdpcg9zrydejgccrzd3hgvmnzd2xgg6rxd6xy9tr8d" = "0000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36gvurqdpjggenvdp4xuuyxvzrgdz52v3exgcrw3fjx5cnws3hgepnqd2xxap5zv6yyef947/#atest1v4ehgw36gvurqdpjggenvdp4xuuyxvzrgdz52v3exgcrw3fjx5cnws3hgepnqd2xxap5zv6yyef947" = "0000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36gy6y2dfngccnzsehggu5xsesg56yzv34gdpyzd2rgce5vsehxeryvd2xx56ngwp3l2la94/#atest1v4ehgw36gy6y2dfngccnzsehggu5xsesg56yzv34gdpyzd2rgce5vsehxeryvd2xx56ngwp3l2la94" = "0000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36x5cy2v2rxvery329xg6nq33cgfzns33cxsurzv3s89rrwvecx9zrs33nxgunx3pk95ld5f/#atest1v4ehgw36x5cy2v2rxvery329xg6nq33cgfzns33cxsurzv3s89rrwvecx9zrs33nxgunx3pk95ld5f" = "0000"
"#atest1v9hx7w36gahhvetjdeskucm9yqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq5a20qt/proposal/0/vote/#atest1v4ehgw36xeqnvsenxccyz32ygscrz3zygc6y2s6px9znsdecxqurjwp4xy6ngvphg56rjwph8wcvnh/#atest1v4ehgw36xeqnvsenxccyz32ygscrz3zygc6y2s6px9znsdecxqurjwp4xy6ngvphg56rjwph8wcvnh" = "0000"
@bengtlofgren bengtlofgren added the bug Something isn't working label Sep 18, 2023
@sug0
Copy link
Collaborator

sug0 commented Sep 24, 2023

Potentially related to #1857, as only validator data of the last 2 epochs is kept in storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants