From 1e5c5b8b9f483009f057385f464e05aeb7768ca9 Mon Sep 17 00:00:00 2001 From: josh crites Date: Thu, 13 Feb 2025 11:21:01 -0500 Subject: [PATCH] fix diagram --- .../codealong/contract_tutorials/token_bridge.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/developers/tutorials/codealong/contract_tutorials/token_bridge.md b/docs/docs/developers/tutorials/codealong/contract_tutorials/token_bridge.md index a72978ecd52..5edf00bb6cc 100644 --- a/docs/docs/developers/tutorials/codealong/contract_tutorials/token_bridge.md +++ b/docs/docs/developers/tutorials/codealong/contract_tutorials/token_bridge.md @@ -44,14 +44,14 @@ sequenceDiagram participant L2 Bridge Contract participant L2 Token Contract - User->>TokenPortal: Deposit Tokens + L1 User->>L1 TokenPortal: Deposit Tokens - Note over TokenPortal: 1. Encode mint message
(recipient + amount)
2. Hash message to field
element (~254 bits) + Note over L1 TokenPortal: 1. Encode mint message
(recipient + amount)
2. Hash message to field
element (~254 bits) - TokenPortal->>Aztec Inbox: Send message - Note over Aztec Inbox: Validates:
1. Recipient Aztec address
2. Aztec version
3. Message content hash
4. Secret hash + L1 TokenPortal->>L1 Aztec Inbox: Send message + Note over L1 Aztec Inbox: Validates:
1. Recipient Aztec address
2. Aztec version
3. Message content hash
4. Secret hash - Aztec Inbox-->>L2 Bridge Contract: Forward message + L1 Aztec Inbox-->>L2 Bridge Contract: Forward message Note over L2 Bridge Contract: 1. Verify message
2. Process secret
3. Decode mint parameters L2 Bridge Contract->>L2 Token Contract: Call mint function