-
Notifications
You must be signed in to change notification settings - Fork 337
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
XCMP #311
Conversation
TODO: must wait until both parachains are fully registered to open the channel (2 sessions after parachain registration is called => 4 hours) Blocked until we add the parachain registration to |
This is the core of my idea about how to register paras from genesis. https://github.com/paritytech/polkadot/blob/76bfd9fa9c828155eb46cf09eb14becd3058408a/runtime/parachains/src/paras.rs#L306 Ultimately it should go into polakdot-launch paritytech/polkadot-launch#66 But we should be able to use it manually in the meantime. |
so stale, I'd just start from scratch with any XCMP config |
What does it do?
Resurrects #263 using the most recent set of dependencies.
Steps for a parachain -> parachain transfer.
We have NOT yet successfully opened a channel on the relay chain, which is required for the
xtransfer
function.What important points reviewers should know?
Instructions for running polkadot-launch tests
Compile the code. First the local node and then the correct polkadot version in the parent repo of the local
moonbeam
repo.Install local polkadot-js types. Enter
moonbeam-types-bundle
and runnpm i
.enter
tools
and runyarn run moonbeam-xcmp
Here is the output from running these commands. Both parachains are registered successfully. The paraSudoWrapper call to open the channel is failing. The error index points to
OpenHrmpChannelInvalidRecipient
inpolkadot::parachains::hrmp
so we need to check that the parachain registration is persisting. I have a feeling that the ParaLifeCycle is onboarding so that's why the recipient isn't a valid para yet...Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?
Checklist