Skip to content

Commit 14ea7d0

Browse files
committed
Auto-fix: Update breadcrumbs, spelling dictionary and other automated fixes
1 parent 4ee13d3 commit 14ea7d0

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pages/interop/tutorials/message-passing/relay-with-cast.mdx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ Learn to relay transactions directly by sending the correct transaction.
5454
* Node.js version 16 or higher
5555
* Git for version control
5656
* Supersim
57-
5857
</details>
5958

6059
### What You'll Build
@@ -64,15 +63,14 @@ Learn to relay transactions directly by sending the correct transaction.
6463
## Setup
6564

6665
<Steps>
67-
6866
### Run Supersim
6967

7068
This exercise needs to be done on Supersim.
7169
You cannot use the devnets because you cannot disable autorelay on them.
7270

73-
1. Follow the [Installation Guide](/app-developers/tutorials/supersim/getting-started/installation).
71+
1. Follow the [Installation Guide](/app-developers/tutorials/supersim/getting-started/installation).
7472

75-
1. Run Supersim *without* `--interop.relay`.
73+
2. Run Supersim *without* `--interop.relay`.
7674

7775
```sh
7876
./supersim
@@ -86,7 +84,6 @@ Learn to relay transactions directly by sending the correct transaction.
8684

8785
```sh file=<rootDir>/public/tutorials/setup-for-manual-relay.sh#L1-L147 hash=a63d72f58a06ca7ca78fd1592efcf4a3
8886
```
89-
9087
</Steps>
9188

9289
## Manually relay a message using `cast`
@@ -127,7 +124,6 @@ Whenever `L2ToL2CrossDomainMessenger` sends a message to a different blockchain,
127124
Here we look for those messages, but get only the last one.
128125

129126
<details>
130-
131127
<summary>Example `log-entry`</summary>
132128

133129
```yaml
@@ -146,15 +142,14 @@ Here we look for those messages, but get only the last one.
146142
transactionHash: 0x1d6f2e5e2c8f3eb055e95741380ca36492f784b9782848b66b66c65c5937ff3a
147143
transactionIndex: 0
148144
```
149-
150145
</details>
151146
152147
```sh
153148
TOPICS=`cat log-entry | grep -A4 topics | awk '{print $1}' | tail -4 | sed 's/0x//'`
154149
TOPICS=`echo $TOPICS | sed 's/ //g'`
155150
```
156151

157-
Consolidate the log topics into a single hex string.
152+
Consolidate the log topics into a single hex string.
158153

159154
```sh
160155
ORIGIN=0x4200000000000000000000000000000000000023
@@ -165,13 +160,13 @@ CHAIN_ID_A=`cast chain-id --rpc-url $URL_CHAIN_A`
165160
SENT_MESSAGE=`cat log-entry | awk '/data/ {print $2}'`
166161
```
167162

168-
Read additional fields from the log entry.
163+
Read additional fields from the log entry.
169164

170165
```sh
171166
LOG_ENTRY=0x`echo $TOPICS$SENT_MESSAGE | sed 's/0x//'`
172167
```
173168

174-
Consolidate the entire log entry.
169+
Consolidate the entire log entry.
175170

176171
```sh
177172
RPC_PARAMS=$(cat <<INNER_END_OF_FILE

0 commit comments

Comments
 (0)