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

Fix slashing in client queries for bond and unbond info #1533

Merged
merged 3 commits into from
Jun 14, 2023

Conversation

brentstone
Copy link
Collaborator

Based on v0.17.0

The PoS library function bonds_and_unbonds is primarily used in client queries of PoS system information and provides bond and unbond information, including known slashes that affect these bonds. The computation of the slashed token amounts corresponding to these bonds and unbonds was outdated and is fixed in this PR.

brentstone added a commit that referenced this pull request Jun 11, 2023
@brentstone brentstone force-pushed the brent/fix-slashing-client-query branch from 1967ef7 to b0c18f4 Compare June 11, 2023 04:50
@brentstone brentstone marked this pull request as ready for review June 11, 2023 04:50
@tzemanovic
Copy link
Member

pls update wasm

@tzemanovic tzemanovic force-pushed the brent/fix-slashing-client-query branch from f68c003 to eb3a1b0 Compare June 12, 2023 09:52
@tzemanovic
Copy link
Member

f-pushed to squash fixups

tzemanovic added a commit that referenced this pull request Jun 12, 2023
* brent/fix-slashing-client-query:
  [ci] wasm checksums update
  changelog: #1533
  pos/lib: fix slashing in `make_(un)bond_details`
@tzemanovic tzemanovic mentioned this pull request Jun 12, 2023
Fraccaman added a commit that referenced this pull request Jun 14, 2023
* origin/brent/fix-slashing-client-query:
  [ci] wasm checksums update
  changelog: #1533
  pos/lib: fix slashing in `make_(un)bond_details`
Fraccaman pushed a commit that referenced this pull request Jun 14, 2023
@Fraccaman Fraccaman merged commit 42a7836 into main Jun 14, 2023
@Fraccaman Fraccaman deleted the brent/fix-slashing-client-query branch June 14, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants