open-runtime-module-library
open-runtime-module-library copied to clipboard
add parachain c
some parachain may not use GeneralKey as its token, but use just its parachain, i.e. PHA:
https://github.com/AcalaNetwork/Acala/blob/d92b2db7e384ebf24dafc89d7cc0e04ee4724435/runtime/karura/src/lib.rs#L1811-L1812
// Phala Native token
Token(PHA) => Some(MultiLocation::new(1, X1(Parachain(parachains::phala::ID)))),
this PR add parachain c, and use parachain(3) to represent its token.
Codecov Report
Merging #699 (f87e99f) into master (4a66b29) will increase coverage by
0.11%. The diff coverage is100.00%.
@@ Coverage Diff @@
## master #699 +/- ##
==========================================
+ Coverage 74.63% 74.74% +0.11%
==========================================
Files 83 83
Lines 7261 7293 +32
==========================================
+ Hits 5419 5451 +32
Misses 1842 1842
| Impacted Files | Coverage Δ | |
|---|---|---|
| xtokens/src/mock/mod.rs | 92.72% <100.00%> (+0.41%) |
:arrow_up: |
| xtokens/src/tests.rs | 99.22% <100.00%> (+0.04%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 4a66b29...f87e99f. Read the comment docs.