0

Suppose we have a message that transfers encoded call that looks as follows:

call = Self::MintNickname.encode().into()

How do we transfer it to another parachain via XCM in Rust snippet? Another chain has the same pallet so it knows which call to perform.

1 Answer 1

0

You can check the ping pallet in the cumulus here

1
  • Thank you, I have. I am however confused about the runtime part. call: <T as Config>::RuntimeCall::from(Call::<T>::ping). I though I can use use Self:: but what i see is, that ping uses Call::
    – Dudo
    Dec 31, 2023 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.