Skip to content

Commit d2832ee

Browse files
committed
updated content based on zains comment
1 parent 33fb25a commit d2832ee

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

pages/stack/interop/reading-logs.mdx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Reading Logs in Superchain Interop
2+
title: Reading Logs with Superchain Interop
33
lang: en-US
44
description: Learn how to reference logs from one chain on another within the Superchain.
55
topic: Cross-Chain Log Verification
@@ -13,9 +13,9 @@ import { InteropCallout } from '@/components/WipCallout'
1313

1414
<InteropCallout />
1515

16-
# Reading logs in superchain interop
16+
# Reading Logs with Superchain Interop
1717

18-
Superchain interop enables developers to leverage current and historical logs from other blockchains within the Superchain interop cluster directly on their local chain.
18+
Superchain interop enables developers to leverage current and historical logs from other blockchains within the [Superchain interop cluster](/stack/interop/explainer#superchain-interop-cluster) directly on their local chain.
1919
This allows smart contracts to consume local and cross-chain logs with low latency in a trust-minimized way.
2020

2121
## Overview
@@ -30,8 +30,7 @@ This enables developers to:
3030
## Why use `CrossL2Inbox`?
3131

3232
* **Reference existing logs**: Allows contracts to verify and use logs that were already emitted, without requiring those logs to have been sent as cross-chain messages.
33-
* **Consistent trust model**: Uses the same trust assumptions as the underlying OP Stack infrastructure.
34-
* **Trust-minimized security**: Leverages the existing Superchain security model with no additional trust assumptions, unlike traditional oracle solutions that require trusting external validators.
33+
* **Trust-minimized security**: Leverages the existing Superchain security model with no additional trust assumptions.
3534
* **Flexibility**: Can be used to validate events from another chain or even the local chain.
3635

3736
## How it works
@@ -53,6 +52,7 @@ The process works through the [`CrossL2Inbox`](https://github.com/ethereum-optim
5352
## Example: cross-chain attestation verification
5453

5554
Let's walk through a conceptual example of verifying an Ethereum Attestation Service (EAS) attestation across chains.
55+
EAS is a [predeploy](/stack/interop/predeploy) in the OP Stack for making attestations on or off-chain about anything.
5656

5757
### Source chain: creating an attestation
5858

@@ -81,7 +81,7 @@ sequenceDiagram
8181

8282
### Destination chain: verifying the attestation
8383

84-
On the destination chain (e.g., Base), a DeFi application wants to verify this attestation:
84+
On the destination chain (e.g., Unichain), a DeFi application wants to verify this attestation:
8585

8686
```mermaid
8787
sequenceDiagram
@@ -119,7 +119,7 @@ sequenceDiagram
119119

120120
The primary benefit of this approach is that it allows your contract to verify attestations that already exist on another chain without requiring those attestations to have been explicitly sent as cross-chain messages.
121121

122-
## Implementation guide
122+
## Overview of the process
123123

124124
To implement cross-chain log reading:
125125

@@ -139,8 +139,8 @@ flowchart TD
139139
Pass the identifier and hash of log data"]
140140
end
141141
142-
B -.-> E
143-
C -.-> F
142+
B --> E
143+
C --> F
144144
```
145145

146146
1. First, identify which log from another chain you want to consume in your application.
@@ -153,9 +153,8 @@ flowchart TD
153153

154154
## Important considerations
155155

156-
* This feature works between chains within the same Superchain interop cluster.
156+
* This feature works between chains within the [Superchain interop cluster](/stack/interop/explainer#superchain-interop-cluster).
157157
* The same functionality can be used on a single chain (for example, to maintain a consistent architecture).
158-
* Ensure your contract handles validation failures gracefully.
159158

160159
### Handling validation failures
161160

0 commit comments

Comments
 (0)