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

XCM Integration #687

Merged
merged 22 commits into from Jan 18, 2023
Merged

XCM Integration #687

merged 22 commits into from Jan 18, 2023

Conversation

Hounsette
Copy link
Contributor

Integration and configuration of the pallet xcm to allow cross-chain messaging.

@Hounsette Hounsette changed the title XCM Integration [WIP] XCM Integration Dec 18, 2022
@Hounsette Hounsette marked this pull request as draft December 18, 2022 12:21
runtimes/eden/src/lib.rs Outdated Show resolved Hide resolved
runtimes/eden/src/lib.rs Outdated Show resolved Hide resolved
runtimes/eden/src/lib.rs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Merging #687 (8c45b06) into master (c7b51d6) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #687      +/-   ##
==========================================
- Coverage   77.75%   77.73%   -0.03%     
==========================================
  Files          42       43       +1     
  Lines        7594     7596       +2     
==========================================
  Hits         5905     5905              
- Misses       1689     1691       +2     
Impacted Files Coverage Δ
node/src/chain_spec.rs 0.00% <ø> (ø)
runtimes/eden/src/lib.rs 2.98% <ø> (ø)
runtimes/eden/src/pallets_parachain.rs 0.00% <ø> (ø)
runtimes/eden/src/xcm_config.rs 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Hounsette Hounsette changed the title [WIP] XCM Integration XCM Integration Jan 9, 2023
@Hounsette Hounsette marked this pull request as ready for review January 9, 2023 23:28
node/src/chain_spec.rs Outdated Show resolved Hide resolved
@aliXsed
Copy link
Contributor

aliXsed commented Jan 10, 2023

@Hounsette can you please check if we need to unify the xcm configuration for dmp in pallets_parachain.rs with the one for xcmp in xcm_config.rs.

@Hounsette
Copy link
Contributor Author

@Hounsette can you please check if we need to unify the xcm configuration for dmp in pallets_parachain.rs with the one for xcmp in xcm_config.rs.

It might be cleaner if we merge the xcm_executor and queue configuration. I will do it

hounsette added 3 commits January 12, 2023 02:26
Moved and merged xcm executor configuration from pallet_parachain.rs to xcm_config.rs
Add xcmqueue for outbound and messagehandler for pallet parachain system
type LocationInverter = LocationInverter<Ancestry>;
type Origin = Origin;
type Call = Call;
const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the significance of 100? Why not 50 or 200? Have you compared this param in different parachains?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a reference here as to why the value is 100. It seems to be set the same by 4 parachains that I have checked

Copy link
Contributor

Choose a reason for hiding this comment

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

@Hounsette I couldn't find anything related to the version discovery in the link that you have refrenced. If you could clarify it a bit more here, it could be a good to have it as a reference. But I'm not going to hold this PR for that.

Copy link
Member

@ETeissonniere ETeissonniere left a comment

Choose a reason for hiding this comment

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

Lgtm based on my understanding of the parameters. Have we cross-referenced this config with other parachains and/or asked our contacts within Parity to have a look?

Copy link
Contributor

@aliXsed aliXsed left a comment

Choose a reason for hiding this comment

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

Nice work @Hounsette

@Hounsette
Copy link
Contributor Author

Lgtm based on my understanding of the parameters. Have we cross-referenced this config with other parachains and/or asked our contacts within Parity to have a look?

@ETeissonniere we have done the comparison of the configuration between different other parachain and might require review once the full flow is tested/fine tuned

@Hounsette Hounsette merged commit 48406c2 into master Jan 18, 2023
@Hounsette Hounsette deleted the xcm-houns branch January 18, 2023 22:12
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.

None yet

3 participants