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

Polkadot v1.7.2 #74

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Polkadot v1.7.2 #74

wants to merge 22 commits into from

Conversation

cdamian
Copy link
Contributor

@cdamian cdamian commented May 17, 2024

Update polkadot dependencies to v1.7.2.

Copy link
Contributor

@lemunozm lemunozm left a comment

Choose a reason for hiding this comment

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

Just some questions and NITs, but LGTM!! Good job @cdamian!

core/src/tests/parachain.rs Show resolved Hide resolved
core/src/tests/parachain.rs Outdated Show resolved Hide resolved
rust-toolchain.toml Outdated Show resolved Hide resolved
Copy link

@wischli wischli left a comment

Choose a reason for hiding this comment

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

Not sure if your eyes have already caught these two divergences from the recommended XCM configuration with the Polkadot SDK message queue refactor. If not, hope they will help us fixing the message issues.

core/src/tests/test-parachain/src/xcm.rs Outdated Show resolved Hide resolved
core/src/tests/test-parachain/src/lib.rs Outdated Show resolved Hide resolved
@cdamian cdamian force-pushed the polkadot-v1.7.2 branch from 2c896e0 to 3556cb6 Compare June 5, 2024 13:52
Copy link
Contributor

@lemunozm lemunozm left a comment

Choose a reason for hiding this comment

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

Seeing all those workspace dependencies is a big pleasure to my eyes ❤️

Cargo.toml Outdated
Comment on lines 61 to 63
## Currently only needed to make cumulus-relay-chain-inprocess-interface compile, not sure why cumulus works though
polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" }
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.7.2" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it due to some macro? Sometimes macros force you to include extra dependencies to unroll correctly on the user side.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the fudge-test-runtime is using it.

Cargo.toml Show resolved Hide resolved
pub struct MessageQueueWeightInfo;

// As of this version, the current implementation of WeightInfo for (), has weights that are bigger than 0.
impl pallet_message_queue::WeightInfo for MessageQueueWeightInfo {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Having this helps us avoid future failures due to new weights.

@cdamian cdamian marked this pull request as ready for review June 6, 2024 16:27
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