Skip to content

Conversation

@Imod7
Copy link
Contributor

@Imod7 Imod7 commented Mar 11, 2025

Description

Closes #1611 which describes the issue that this PR solves.

Testing

Without the current change in this PR, running Sidecar connected to Westend and requesting this endpoint:

http://127.0.0.1:8080/pallets/staking/progress?at=12718998

returns an empty array in unappliedSlashes.

After applying the current change, for the same chain and same endpoint, the response is 18 entries in unappliedSlashes.

Todos

  • Update the code
  • Update current
  • Add a new test
  • Submit an issue in pjs-apps regarding the same

@filvecchiato
Copy link
Contributor

Nice! LGTM

Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Imod7 Imod7 merged commit 344491f into master Mar 11, 2025
12 checks passed
@Imod7 Imod7 deleted the domi-fix-unapplied-westend branch March 11, 2025 17:07
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.

Update staking/progress endpoint to handle breaking changes

4 participants