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

Fast unstake try_state check fails on Westend #484

Open
ggwpez opened this issue Mar 26, 2023 · 1 comment
Open

Fast unstake try_state check fails on Westend #484

ggwpez opened this issue Mar 26, 2023 · 1 comment

Comments

@ggwpez
Copy link
Member

ggwpez commented Mar 26, 2023

This assertion fails since MaxErasToCheckPerBlock is 1 whereas ErasToCheckPerBlock is 2.

assert!(
	ErasToCheckPerBlock::<T>::get() <= T::MaxErasToCheckPerBlock::get(),
	"the value of `ErasToCheckPerBlock` is greater than `T::MaxErasToCheckPerBlock`",
);

Should be trivial to fix.

@kianenigma
Copy link
Contributor

pretty sure this is fixed now, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants