open-runtime-module-library icon indicating copy to clipboard operation
open-runtime-module-library copied to clipboard

add parachain c

Open zqhxuyuan opened this issue 3 years ago • 1 comments

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.

zqhxuyuan avatar Feb 20 '22 03:02 zqhxuyuan

Codecov Report

Merging #699 (f87e99f) into master (4a66b29) will increase coverage by 0.11%. The diff coverage is 100.00%.

Impacted file tree graph

@@            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 data Powered by Codecov. Last update 4a66b29...f87e99f. Read the comment docs.

codecov-commenter avatar Feb 20 '22 04:02 codecov-commenter