From e1390bc58cae085d3b1e4b881d71abef704d6d16 Mon Sep 17 00:00:00 2001 From: Bilog WEB3 <155262265+Bilogweb3@users.noreply.github.com> Date: Wed, 5 Mar 2025 09:28:22 +0100 Subject: [PATCH 1/2] Update op-stack.mdx --- docs/reference/hooks/op-stack.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/hooks/op-stack.mdx b/docs/reference/hooks/op-stack.mdx index f8db02a6..bac15d52 100644 --- a/docs/reference/hooks/op-stack.mdx +++ b/docs/reference/hooks/op-stack.mdx @@ -12,7 +12,7 @@ See the [addresses](../contract-addresses.mdx) page for Hook and ISM addresses. ## How It Works The OPStackHook sends the messageId to the L1CrossDomainMessenger which registers it as an Optimism `TransactionDeposited` event with ETH deposit and message data which gets picked up by the rollup node. -The rollup node calls the precompiled contract `L2CrossDomainMessenger`'s relayMessage function which in turn makes calls configured OptimismISM contract, setting the messageId in the verifiedMessageId's mapping to the original L1 sender (ie. the user). The relayer carries just the message with no metadata, waiting for the Optimism node to pick and make a storage write to Optimism and the message delivery is then verified. +The rollup node calls the precompiled contract `L2CrossDomainMessenger`'s relayMessage function which in turn makes calls configured OptimismISM contract, setting the messageId in the verifiedMessageId's mapping to the original L1 sender (i.e. the user). The relayer carries just the message with no metadata, waiting for the Optimism node to pick and make a storage write to Optimism and the message delivery is then verified. ```mermaid flowchart TB From e3219fbbd13c2aa138e4a9f5ef7219fa2935817f Mon Sep 17 00:00:00 2001 From: Bilog WEB3 <155262265+Bilogweb3@users.noreply.github.com> Date: Wed, 5 Mar 2025 09:29:06 +0100 Subject: [PATCH 2/2] Update receive.mdx --- docs/reference/messaging/receive.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/messaging/receive.mdx b/docs/reference/messaging/receive.mdx index 9aaf608a..f6cedc78 100644 --- a/docs/reference/messaging/receive.mdx +++ b/docs/reference/messaging/receive.mdx @@ -17,7 +17,7 @@ The `Mailbox` will pass the message and metadata to the recipient's Interchain S :::info -See [`Message.sol`](https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/solidity/contracts/libs/Message.sol)for more details on Hyperlane message encoding +See [`Message.sol`](https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/solidity/contracts/libs/Message.sol) for more details on Hyperlane message encoding :::