Skip to content

Commit

Permalink
Add new registers to learn-xcm (w3f#4551)
Browse files Browse the repository at this point in the history
* added new registers to xcm doc

* reworded
  • Loading branch information
CrackTheCode016 authored Mar 6, 2023
1 parent 9b9ba91 commit b46af58
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/learn/learn-xcm.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,21 @@ bringing ecosystems together using a common communication abstraction.

:::

### XCM v3 Instruction Overview
### XCM v3 Instruction & Register Overview

To reflect the functionality above, XCM v3 introduced a multitude of new instructions to include
within its messages. This list isn't exhaustive, however contains the necessary instruction sets to
showcase the previously explained concepts of XCM v3.

New registers have been introduced in order to accommodate some of the new instructions:

- `Transact Status Register` - A register that primarily handles the status when checking the
versions between the origin, destination chain, and the requested pallet located on the
destination chain.

- `Topic Register` - A register that can set any value and is for use cases such as crafting IDs for
messages. A `Topic` is also part of `XcmContext`.

:::note

Note that most of these instruction definitions came from the source code, which you may
Expand Down

0 comments on commit b46af58

Please sign in to comment.