Skip to content

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

Merged
Fraccaman merged 3 commits intomainfrom
brent/fix-slashing-client-query
Jun 14, 2023
Merged

Fix slashing in client queries for bond and unbond info#1533
Fraccaman merged 3 commits intomainfrom
brent/fix-slashing-client-query

Conversation

@brentstone
Copy link
Copy Markdown
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
@brentstone brentstone requested a review from tzemanovic June 11, 2023 04:50
@tzemanovic
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

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