-
Notifications
You must be signed in to change notification settings - Fork 346
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
Add more TS tests for pallet-xcm precompile #3107
base: master
Are you sure you want to change the base?
Conversation
WASM runtime size check:Compared to target branchMoonbase runtime: 2276 KB (no changes) ✅ Moonbeam runtime: 2248 KB (no changes) ✅ Moonriver runtime: 2244 KB (no changes) ✅ Compared to latest release (runtime-3400)Moonbase runtime: 2276 KB (+248 KB compared to latest release) Moonbeam runtime: 2248 KB (+236 KB compared to latest release) Moonriver runtime: 2244 KB (+232 KB compared to latest release) |
Coverage Report@@ Coverage Diff @@
## master agustin-xcm-precompile-tests +/- ##
===============================================================
Coverage 74.49% 74.49% 0.00%
Files 375 375
Lines 95313 95313
===============================================================
Hits 70998 70998
Misses 24315 24315
|
test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm-2.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use the new native foreign assets
What does it do?
Adds extra typescript tests for pallet-xcm precompile. The new tests mostly check the behavior at the moment of combining two assets, and also using the origin's chain native token to pay for fees.