Skip to content

Commit

Permalink
Fix outstanding bridge names. (paritytech#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Apr 14, 2021
1 parent 54b683b commit f8586fd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions docs/send-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ FLAGS:
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
millau-to-rialto Submit message to given Millau -> Rialto lane
rialto-to-millau Submit message to given Rialto -> Millau lane
MillauToRialto Submit message to given Millau -> Rialto lane
RialtoToMillau Submit message to given Rialto -> Millau lane
```
Messages are send from a source chain to a target chain using a so called `message lane`. Message lanes handle
both, message transport and message dispatch. There is one command for submitting a message to each of the two
available bridges, namely `millau-to-rialto` and `rialto-to-millau`.
available bridges, namely `MillauToRialto` and `RialtoToMillau`.

Submitting a message requires a number of arguments to be provided. Those arguments are essentially the same
for both submit message commands, hence only the output for `millau-to-rialto` is shown below.
for both submit message commands, hence only the output for `MillauToRialto` is shown below.

```
Submit message to given Millau -> Rialto lane
USAGE:
substrate-relay send-message millau-to-rialto [OPTIONS] --lane <lane> --source-host <source-host> --source-port <source-port> --source-signer <source-signer> --origin <origin> --target-signer <target-signer> <SUBCOMMAND>
substrate-relay send-message MillauToRialto [OPTIONS] --lane <lane> --source-host <source-host> --source-port <source-port> --source-signer <source-signer> --origin <origin> --target-signer <target-signer> <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
Expand Down Expand Up @@ -104,7 +104,7 @@ Usage of the arguments is best explained with an example. Below you can see, how
would look like:

```
substrate-relay send-message millau-to-rialto \
substrate-relay send-message MillauToRialto \
--source-host=127.0.0.1 \
--source-port=10946 \
--source-signer=//Dave \
Expand Down
4 changes: 2 additions & 2 deletions scripts/send-message-from-millau-rialto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MILLAU_PORT="${RIALTO_PORT:-9945}"
case "$1" in
remark)
RUST_LOG=runtime=trace,substrate-relay=trace,bridge=trace \
./target/debug/substrate-relay send-message millau-to-rialto \
./target/debug/substrate-relay send-message MillauToRialto \
--source-host localhost \
--source-port $MILLAU_PORT \
--source-signer //Alice \
Expand All @@ -22,7 +22,7 @@ case "$1" in
;;
transfer)
RUST_LOG=runtime=trace,substrate-relay=trace,bridge=trace \
./target/debug/substrate-relay send-message millau-to-rialto \
./target/debug/substrate-relay send-message MillauToRialto \
--source-host localhost \
--source-port $MILLAU_PORT \
--source-signer //Alice \
Expand Down
4 changes: 2 additions & 2 deletions scripts/send-message-from-rialto-millau.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RIALTO_PORT="${RIALTO_PORT:-9944}"
case "$1" in
remark)
RUST_LOG=runtime=trace,substrate-relay=trace,bridge=trace \
./target/debug/substrate-relay send-message rialto-to-millau \
./target/debug/substrate-relay send-message RialtoToMillau \
--source-host localhost \
--source-port $RIALTO_PORT \
--target-signer //Alice \
Expand All @@ -22,7 +22,7 @@ case "$1" in
;;
transfer)
RUST_LOG=runtime=trace,substrate-relay=trace,bridge=trace \
./target/debug/substrate-relay send-message rialto-to-millau \
./target/debug/substrate-relay send-message RialtoToMillau \
--source-host localhost \
--source-port $RIALTO_PORT \
--target-signer //Alice \
Expand Down

0 comments on commit f8586fd

Please sign in to comment.