Skip to content

Commit b97da8c

Browse files
committed
lint
1 parent c62bbca commit b97da8c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pages/interop/tutorials/message-passing.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The implementation consists of three main components:
116116

117117
If you are using [the devnets](/interop/tools/devnet), just skip this step.
118118

119-
<Tabs items={['Supersim', 'Devnets']}>
119+
<Tabs items={['Supersim', 'Devnets']}>
120120
<Tabs.Tab>
121121
Supersim creates three `anvil` blockchains:
122122

@@ -136,11 +136,11 @@ The implementation consists of three main components:
136136
| ChainA | 420120000 | [https://interop-alpha-0.optimism.io](https://interop-alpha-0.optimism.io) |
137137
| ChainB | 420120001 | [https://interop-alpha-1.optimism.io](https://interop-alpha-1.optimism.io) |
138138
</Tabs.Tab>
139-
</Tabs>
139+
</Tabs>
140140

141141
2. In a separate shell, store the configuration in environment variables.
142142

143-
<Tabs items={['Supersim', 'Devnets']}>
143+
<Tabs items={['Supersim', 'Devnets']}>
144144
<Tabs.Tab>
145145
Set these parameters for Supersim.
146146

@@ -163,7 +163,7 @@ The implementation consists of three main components:
163163
INTEROP_BRIDGE=0x4200000000000000000000000000000000000028
164164
```
165165
</Tabs.Tab>
166-
</Tabs>
166+
</Tabs>
167167

168168
<details>
169169
<summary>Sanity check</summary>
@@ -198,7 +198,7 @@ The implementation consists of three main components:
198198
GREETER_B_ADDRESS=`forge create --rpc-url $URL_CHAIN_B --private-key $PRIVATE_KEY Greeter --broadcast | awk '/Deployed to:/ {print $3}'`
199199
```
200200

201-
<details>
201+
<details>
202202
<summary>Explanation</summary>
203203

204204
The command that deploys the contract is:
@@ -227,7 +227,7 @@ The implementation consists of three main components:
227227
```sh
228228
GREETER_B_ADDRESS=<the address>
229229
```
230-
</details>
230+
</details>
231231

232232
<details>
233233
<summary>Sanity check</summary>
@@ -359,7 +359,7 @@ In this section we change `Greeter.sol` to emit a separate event in it receives
359359
}
360360
```
361361

362-
<details>
362+
<details>
363363
<summary>Explanation</summary>
364364

365365
```solidity
@@ -371,7 +371,7 @@ In this section we change `Greeter.sol` to emit a separate event in it receives
371371
```
372372

373373
If we see that we got a message from `L2ToL2CrossDomainMessenger`, we call [`L2ToL2CrossDomainMessenger.crossDomainMessageContext`](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L2/L2ToL2CrossDomainMessenger.sol#L118-L126).
374-
</details>
374+
</details>
375375

376376
2. Redeploy the contracts.
377377
Because the address of `Greeter` is immutable in `GreetingSender`, we need to redeploy both contracts.

0 commit comments

Comments
 (0)