Skip to content

Update polkadot-v0.9.29#144

Merged
clangenb merged 15 commits intomasterfrom
szp/polkadot-v0.9.29
Nov 11, 2022
Merged

Update polkadot-v0.9.29#144
clangenb merged 15 commits intomasterfrom
szp/polkadot-v0.9.29

Conversation

@OverOrion
Copy link
Contributor

@OverOrion OverOrion commented Oct 7, 2022

Using reverse pallet orders is deprecated, which is why AllPalletsReversedWithSystemFirst has been changed to AllPalletsWithSystem.

This may affect the worker, but it should not.

@OverOrion OverOrion force-pushed the szp/polkadot-v0.9.29 branch from 0cb0fbf to 7911c80 Compare October 10, 2022 14:42
@OverOrion OverOrion force-pushed the szp/polkadot-v0.9.29 branch 2 times, most recently from f2d848f to 4d96624 Compare October 19, 2022 10:20
@OverOrion OverOrion requested review from coax1d and haerdib October 19, 2022 11:57
pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "master" }
pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "szp/polkadot-v0.9.29" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should point to master once integritee-network/pallets#103 has been merged.

@OverOrion OverOrion marked this pull request as ready for review October 20, 2022 12:10
@OverOrion OverOrion requested a review from haerdib October 20, 2022 12:10
Copy link
Collaborator

@haerdib haerdib left a comment

Choose a reason for hiding this comment

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

LGTM. One question left, but I think it should be fine either way.

frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsReversedWithSystemFirst,
AllPalletsWithSystem,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is AllPalletsReversedWithSystemFirst not available anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is, but deprecated, and gives a warning if used.
If it should stay then let me know and I'll revert this patch.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah. No, that's fine then. But can you add this specific change to the PR description? It should not, but it might affect the worker.

@OverOrion OverOrion force-pushed the szp/polkadot-v0.9.29 branch from 85cc438 to 0889a2f Compare November 9, 2022 07:50
@OverOrion OverOrion requested a review from clangenb November 11, 2022 07:19
Copy link
Collaborator

@clangenb clangenb left a comment

Choose a reason for hiding this comment

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

Nice, looks good to me!

This does not affect the worker, I believe it is only relevant for some specific edge cases where the order of the pallets-matter for the runtime-internal logic.

The only thing, I don't know if a runtime upgrade can be bricked due to such a change in the order. This, we need to check if we run into this in the parachain.

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.

3 participants