-
Notifications
You must be signed in to change notification settings - Fork 321
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
crypto(gov): submitting delegator vote proofs fail to verify #2967
Comments
Reproducing on
This was fixed by 907d6f854ddc98c829a0ea97ece4386f9e3b546b. You can do |
I'm checking that the public inputs to the proof match those that we feed to the verifier, and I noticed that on one hand (proving) we use the balance commitment to the unbonded amount and in the other we use the balance commitment to the staked note. I think that what we want to do is have a commitment to the voting power at the time of delegation (i.e. unbonded amount). Opened #2969 to fix this. |
Fixed in #2969 |
Describe the bug
I am not able to submit a vote on any governance proposal on my local devnet because the delegator vote proof fails to verify.
To Reproduce
Steps to reproduce the behavior:
cargo run --release --bin pcli -- tx proposal template signaling
and save it tosignal.toml
cargo run --release --bin pcli -- tx proposal submit --file signal.toml
cargo run --release --bin pcli -- query governance list-proposals
cargo run --release --bin pcli -- tx vote yes --on 0
Expected behavior
The proof should not fail to verify during the pre-submission checks.
Additional context
It's possible that the proof uses the wrong balance commitment (unbonded amount or staked note) as input.
The text was updated successfully, but these errors were encountered: