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
Prepare migrations for parachain-staking
#488
Prepare migrations for parachain-staking
#488
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all thanks for adopting this issue!
I have no idea why the patch did not work properly on your end, but it was well-configured. I removed pallet-author-mapping
from the patch instructions, added the original rev
to the moonbeam dependencies and applied cargo update
on the relevant crates. Locally and in the pipeline all tests seem to pass. Can you verify this once please? In case you still get errors, please cargo clean
within the git repo once and try again.
Besides that, the testing errors seem to originate from the node
crate within the moonbeam repository. I assume you accidentally executed the tests there. At least I have no other explanation for why this could have happened.
Works for me now. No idea what happened earlier.
Yes, I tested |
parachain-staking
parachain-staking
We have to fix the version of
substrate-fixed
to prevent incompatability issues. This was done in the moonbeam fork for theparachain-staking
andauthor-mapping
pallets.The required migrations are now made available by the moonbeam fork. It was also necessary to add an implementation of
Default
forAccountId
, as it was since removed from substrate.It is noteworthy that the moonbeam fork's tests fail (with and without our changes) with the following error:
I haven't investigated further. Given that the tests fail without our changes, I have little reason to be concerned.