-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update to polkadot-v1.6.0 #22
Conversation
Not sure why the compiler is throwing this:
|
Because Edit: just tried to remove it, it tells you this:
So ignore this comment, I was wrong. If you are wondering why this wasn't an error before, it's most likely because this PR also updates the rust version. New versions come with new warnings, which shouldn't be a compile error but we use |
@fgamundi can you add an explicit |
I've allowed the warning. I'll also create an issue in polkadot-sdk, but I'm trying to debug a bit a to see if I can offer some more info in the issue of what's happening |
I'm no closer to finding why this is happening, but figured out that if the pallet is imported as public (chaging https://github.com/Moonsong-Labs/moonkit/blob/main/template/runtime/src/lib.rs#L69 to |
Nice find, that means it is related to some |
* Adapt maintenance mode pallet to MessageQueue dmp/xcmp pause * Remove hooks and add QueuePausedQuery tests
There is an error when trying to export a raw chain spec:
Building a non-raw genesis works fine. I also checked all these commands in the 1.3.0 branch and the work fine. |
This is because of a missing runtime api |
Thanks for catching that @tmpolaczyk ! Implementation added to the runtime as well as a test for chain spec's |
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.
LGTM
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.
Apart from the pipeline failing, the changes look good to me 👍
Some relevant PRs:
paritytech/polkadot-sdk#1246 for
DmpQueue
change toMessageQueue
paritytech/polkadot-sdk#2834 for consensus proposer optional block
paritytech/polkadot-sdk#1343 for
RuntimeTask
paritytech/polkadot-sdk#2767 for
PartialComponents
paritytech/polkadot-sdk#1256 for chain spec changes