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

Test xcm message export is disabled #817

Merged
merged 4 commits into from
Jan 24, 2025

Conversation

dimartiro
Copy link
Contributor

Description

Test that the XCM MessageExporter is disabled for dancelight.

Since we are setting ExecuteXcmOrigin as EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>, the only
test we can do is with a signed AccountId as the origin.

I'm open to suggestions if there are more test cases to add 🙌

@dimartiro dimartiro self-assigned this Jan 22, 2025
@dimartiro dimartiro added B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime/client code not-breaking Does not need to be mentioned in breaking changes labels Jan 22, 2025
@dimartiro dimartiro force-pushed the diego-test-disabled-message-exporter branch from 6bda0f5 to 9ae35c9 Compare January 22, 2025 14:18
Copy link
Contributor

github-actions bot commented Jan 22, 2025

WASM runtime size check:

Compared to target branch

dancebox runtime: 1420 KB (no changes) ✅

flashbox runtime: 824 KB (no changes) ✅

dancelight runtime: 2168 KB (no changes) ✅

container chain template simple runtime: 1124 KB (no changes) ✅

container chain template frontier runtime: 1400 KB (no changes) ✅

Copy link
Contributor

github-actions bot commented Jan 22, 2025

Coverage Report

(master)

@@                           Coverage Diff                            @@
##           master   diego-test-disabled-message-exporter      +/-   ##
========================================================================
+ Coverage   65.76%                                 65.80%   +0.04%     
+ Files         332                                    333       +1     
+ Lines       58501                                  58544      +43     
========================================================================
+ Hits        38472                                  38522      +50     
- Misses      20029                                  20022       -7     
Files Changed Coverage
/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_xcm.rs 4.07% (+4.07%)

Coverage generated Fri Jan 24 19:01:00 UTC 2025

@0xvgg 0xvgg requested review from tmpolaczyk and removed request for girazoki January 22, 2025 15:41
@dimartiro dimartiro force-pushed the diego-test-disabled-message-exporter branch from 0d81c23 to e5329e9 Compare January 24, 2025 18:08
@dimartiro dimartiro merged commit ae3ddb7 into master Jan 24, 2025
42 checks passed
@dimartiro dimartiro deleted the diego-test-disabled-message-exporter branch January 24, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime/client code not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants