Closed spazcoin closed 3 months ago
xcm -r polkadot -p phala
is using default configs in this repo, seems they are outdated, you could raise a pr to update it (remove the sudo section) or create a local config like phala.yml and run it with xcm -r polkadot -p ./phala.yml
as you mentioned I don't think Astar has scheduler pallet, nor does Phala have sudo pallet
,and in your dev_setStorage, it's setting storage for scheduler
, so it gives the error
@qiweiii Thank you, I see both of the issues now. I'll submit a PR to remove sudo
from config/phala.yml
.
May I also ask - in the config.interlay.yml
file, the tokens:
already listed I think are registered in the tokens
pallet. However, tokens from other chains are added to the assetRegistry
pallet (such as HDX
, BNC
). Lending tokens (on Interlay, q
tokens) are registered in the loans
pallet (such as qDOT
, qUSDT
). What is the correct syntax to add tokens from the assetRegistry
and loans
pallets to the list of existing account balances? In the Hydra config I see - 12
to use the assetRegistry
index, whereas in the Mangata config I see - token: 12
.
Yea this also troubles me sometimes, I think it depends on the chain's data structure, one way to check it is to use pjs app:
for acala:
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- token: AUSD
for astar
# DOT
- '340282366920938463463374607431768211455'
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
please correct me if I'm wrong @xlc
Yeah the value in config file is just a JSON and we then encode it to whatever type the chain defines. So you need to inspect each chain for the right data format.
Thanks for the help and guidance. Closing this issue and opened https://github.com/AcalaNetwork/chopsticks/pull/746 to contribute changes.
I'm trying to test XCM calls between chains by running Chopsticks locally.
1) If I invoke Chopsticks including Phala:
then I see error at launch:
2) If I invoke Chopsticks including Astar:
then it launches correctly. Then using Polkadot.js connected to the Astar instance, in JS console I run:
However, I receive:
I don't think Astar has
scheduler
pallet, nor does Phala havesudo
pallet. And I don't see anything about pallets in the per-chain config files. I turned onLOG_LEVEL=debug
but didn't see any additional useful info.