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

PoS bonds query doesn't find delegation unbonds when validator is not specified #1219

Closed
tzemanovic opened this issue Mar 14, 2023 · 0 comments · Fixed by #1239
Closed

PoS bonds query doesn't find delegation unbonds when validator is not specified #1219

tzemanovic opened this issue Mar 14, 2023 · 0 comments · Fixed by #1239
Assignees
Labels
bug Something isn't working client PoS

Comments

@tzemanovic
Copy link
Member

To reproduce using e2e tests:

Run:

RUST_BACKTRACE=1 NAMADA_E2E_KEEP_TEMP=true NAMADA_E2E_DEBUG=true cargo +nightly-2022-11-03 test e2e::ledger_tests::pos_bonds -Z unstable-options -- --test-threads=1 --nocapture

Shut it down after unbonds are applied.

Resume the node and query bonds:

# This works fine and shows all the bonds and unbonds
namadac bonds --owner Bertha --validator validator-0 --ledger-address 127.0.0.1:27657

# This doesn't find the unbonds
namadac bonds --owner Bertha --ledger-address 127.0.0.1:27657

Thanks @Fraccaman for finding the issue!

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

Successfully merging a pull request may close this issue.

1 participant