Skip to content

Commit

Permalink
chore(docs): develop notice xmsg only for finalized xmsgs (#574)
Browse files Browse the repository at this point in the history
Mention on develop section about xmsg only being relayed once finalized

task: https://app.asana.com/0/1206684215872507/1206806971862696/f
  • Loading branch information
idea404 authored Mar 12, 2024
1 parent ed393ad commit 8ebfc23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/site/docs/develop/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ omni.xmsg().sender // who sent it (msg.sender of the source xcall)
```

`omni` is a reference to the [OmniPortal](./contracts.md#omniportal) contract. One portal is deployed on each supported chain. To make interacting with the portal easier, inherit from the [XApp](./xapp/xapp.md) contract.

:::info Only Finalized Cross-Chain Messages are Relayed

`XMsg` can only be relayed to the destination chain once the transaction it belongs to finalizes on Ethereum.

:::

0 comments on commit 8ebfc23

Please sign in to comment.