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

Disable try state payees check from pallet-staking temporarily #3259

Closed
wants to merge 3 commits into from

Conversation

gpestana
Copy link
Contributor

@gpestana gpestana commented Feb 8, 2024

Westend try-state checks are currently failing and blocking the CI. This PR will unblock the CI until the issue is sorted out.

Related to #3245. These changes should be reverted once the issue is fixed.

@gpestana gpestana self-assigned this Feb 8, 2024
@gpestana gpestana marked this pull request as draft February 8, 2024 11:37
@gpestana gpestana added R0-silent Changes should not be mentioned in any release notes T10-tests This PR/Issue is related to tests. labels Feb 8, 2024
#[test]
#[should_panic = "called `Result::unwrap()` on an `Err` value: Other(\"number of entries in payee storage items does not match the number of bonded ledgers\")"]
//#[should_panic = "called `Result::unwrap()` on an `Err` value: Other(\"number of entries in payee
//#[should_panic storage items does not match the number of bonded ledgers\")"]
fn check_payee_invariant1_works() {
Copy link
Member

Choose a reason for hiding this comment

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

I think you can also add something like #[cfg(feature = "unused")] but its not a big difference.

@ggwpez ggwpez self-requested a review February 8, 2024 12:16
@ggwpez
Copy link
Member

ggwpez commented Feb 8, 2024

Actually this disables it on all networks. Maybe just comment the CI check instead. I asked in chat now.

@gpestana gpestana marked this pull request as ready for review February 8, 2024 12:19
@gpestana gpestana closed this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T10-tests This PR/Issue is related to tests.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants