Skip to content

Add Paseo NetworkId for the new testnet to XCM#3328

Closed
franciscoaguirre wants to merge 7 commits intomasterfrom
xcm-add-paseo-network-id
Closed

Add Paseo NetworkId for the new testnet to XCM#3328
franciscoaguirre wants to merge 7 commits intomasterfrom
xcm-add-paseo-network-id

Conversation

@franciscoaguirre
Copy link
Copy Markdown
Contributor

@franciscoaguirre franciscoaguirre commented Feb 14, 2024

NOTE

This needs an RFC discussion (TBD) that, if approved, should happen at minimum in v5.

Added Paseo Network Id to XCMv4

Given the new Paseo testnet and how it will be used in the ecosystem, it sounded like a good idea for it to have its own NetworkId.

Conversion from v4::NetworkId to v3::NetworkId is now fallible

Because all NetworkIds were the same in both v3 and v4, the conversions between them were infallible. Now, v4::NetworkId contains an extra variant, so the conversion from it to v3::NetworkId is fallible. The only case were there'll be an error is if the new "Paseo" NetworkId tries to be converted into v3.

@franciscoaguirre franciscoaguirre requested a review from a team as a code owner February 14, 2024 17:00
@franciscoaguirre franciscoaguirre added the T6-XCM This PR/Issue is related to XCM. label Feb 14, 2024
@franciscoaguirre
Copy link
Copy Markdown
Contributor Author

bot fmt

@command-bot
Copy link
Copy Markdown

command-bot bot commented Feb 14, 2024

@franciscoaguirre https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5219438 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh". Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 4-f812e0a1-772e-45c6-b057-1910f7149355 to cancel this command or bot cancel to cancel all commands in this pull request.

@command-bot
Copy link
Copy Markdown

command-bot bot commented Feb 14, 2024

@franciscoaguirre Command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5219438 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5219438/artifacts/download.

@paritytech-cicd-pr
Copy link
Copy Markdown

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable 2/3
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5219604

BitcoinCash => Self::BitcoinCash,
PolkadotBulletin => Self::PolkadotBulletin,
}
Paseo => return Err(()),
Copy link
Copy Markdown
Contributor

@hbulgarini hbulgarini Feb 28, 2024

Choose a reason for hiding this comment

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

@franciscoaguirre i'm struggling to understand the logic here: Why Paseo would return an error?

This means that Paseo NetworkId would not be supported for XCM v3?

@xlc
Copy link
Copy Markdown
Contributor

xlc commented Feb 28, 2024

umm… Gav told me XCM v4 is only rename and therefore does not require RFC. but I guess that’s not the case anymore?

This is a breaking change is someway so https://forum.polkadot.network/t/improve-xcm-development-and-release-process/6497

@franciscoaguirre
Copy link
Copy Markdown
Contributor Author

franciscoaguirre commented Mar 1, 2024

@hbulgarini @xlc Let's go through the RFC process and aim for V5 with this

@franciscoaguirre franciscoaguirre marked this pull request as draft March 1, 2024 10:40
@bkchr
Copy link
Copy Markdown
Member

bkchr commented Jul 24, 2024

Not needed anymore.

@bkchr bkchr closed this Jul 24, 2024
@bkchr bkchr deleted the xcm-add-paseo-network-id branch July 24, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T6-XCM This PR/Issue is related to XCM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants