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

feat: enable polkadotXcm.send #647

Merged
merged 5 commits into from
Jul 30, 2023
Merged

feat: enable polkadotXcm.send #647

merged 5 commits into from
Jul 30, 2023

Conversation

green-jay
Copy link
Contributor

Allow polkadotXcm.send to be called locally as an extrinsic and remotely within a XCM Transact call

@github-actions
Copy link

github-actions bot commented Jul 29, 2023

Crate versions that have been updated:

  • runtime-integration-tests: v1.8.1 -> v1.8.2
  • hydradx-runtime: v169.0.0 -> v170.0.0

Runtime version has been increased.

@codecov
Copy link

codecov bot commented Jul 29, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (24823f0) 65.01% compared to head (2c34d01) 65.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #647   +/-   ##
=======================================
  Coverage   65.01%   65.01%           
=======================================
  Files         137      137           
  Lines        9898     9899    +1     
=======================================
+ Hits         6435     6436    +1     
  Misses       3463     3463           
Files Changed Coverage Δ
runtime/hydradx/src/lib.rs 3.33% <ø> (ø)
runtime/hydradx/src/system.rs 54.32% <100.00%> (+0.57%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -413,6 +413,7 @@ impl Contains<RuntimeCall> for SafeCallFilter {
| RuntimeCall::Currencies(..)
| RuntimeCall::Tokens(..)
| RuntimeCall::OrmlXcm(..)
| RuntimeCall::PolkadotXcm(pallet_xcm::Call::send { .. },)
Copy link
Member

Choose a reason for hiding this comment

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

@green-jay i don't think we can unfilter it here, is shouldn't be necessary anyway

cc @Roznovjak

Copy link
Member

Choose a reason for hiding this comment

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

btw. seems weird that OrmlXcm is unfiltered as well

@mrq1911 mrq1911 changed the title feat: Unfilter polkadotXcm.send feat: enable polkadotXcm.send Jul 30, 2023
runtime/hydradx/src/xcm.rs Outdated Show resolved Hide resolved
@mrq1911 mrq1911 merged commit 6173a8b into master Jul 30, 2023
8 checks passed
@Roznovjak Roznovjak deleted the allow-polkadotxcm-send branch July 30, 2023 08:38
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.

2 participants