From dddef0ac8e7ad9653acab7395f29783ebb1b78c7 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 16 Sep 2020 14:04:30 +0200 Subject: [PATCH] Just RelayTo --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad77ac9..625f4c4 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,8 @@ Where message `type` must be one of: - `2`: `TeleportAsset` - `3`: `Balances` - `4`: `Transact` -- `5`: `RelayToParachain` -- `6`: `RelayToContract` -- `7`: `RelayedFrom` +- `5`: `RelayTo` +- `6`: `RelayedFrom` Within XCM, there is an internal datatype `Order`, which encodes an operation on the holding account. It is defined as: @@ -150,7 +149,7 @@ Errors: Relay an inner message (`inner`) to a locally reachable destination ID `dest`. -The message sent to the destination will be wrapped into a `RelayedFrom` message, with the `superorigin` being this parachain. +The message sent to the destination will be wrapped into a `RelayedFrom` message, with the `superorigin` being this location. - `dest: MultiLocation`: The location of the to be relayed into. This may never contain `Parent`, and it must be immediately reachable from the interpreting context. - `inner: VersionedXcm`: The message to be wrapped and relayed.