Skip to content

Add interop framework#26

Open
frangio wants to merge 3 commits into
mainfrom
feat/framework
Open

Add interop framework#26
frangio wants to merge 3 commits into
mainfrom
feat/framework

Conversation

@frangio
Copy link
Copy Markdown
Collaborator

@frangio frangio commented Feb 19, 2025

Documenting some of the design choices that have come up, and giving them names so we can discuss and decide.

Comment thread docs/framework.md
Comment thread docs/framework.md
Copy link
Copy Markdown
Collaborator

@0xteddybear 0xteddybear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good! I believe pointing to specific instances of the various interop types could help making this document even easier to follow (e.g, OP interop, where you can reference any event in a chain in your dependency set, being mentioned as a broad protocol)

I'm also ambivalent on wether we should make this part of NOMENCLATURE.md, wdyt?

@Joxess
Copy link
Copy Markdown
Collaborator

Joxess commented Mar 4, 2025

I'm also ambivalent on whether we should make this part of NOMENCLATURE.md, wdyt?

Good point, I think we could leave this document separate as a verbose explainer of interoperability/message-passing, those comparisons and characterization are really useful. I would suggest some simple graphs/more examples

Comment thread docs/framework.md Outdated
Co-authored-by: 0xRaccoon <112493530+0xRaccoon@users.noreply.github.com>
Comment thread docs/framework.md
- **Targetted vs Broadcast**
- A targetted message inherently specifies a receiver on a destination chain.
- Some protocols allow atomic bundles of messages, each specifying a different receiver.
- A broadcast message doesn't specify a receiver. It may specify a destination chain.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In practice, broadcast messages are still received on-chain, just by whoever chooses to process them rather than pre-specified recipients. ERC-7786 can represent this as address(0). I would say the following should be clearer:

Suggested change
- A broadcast message doesn't specify a receiver. It may specify a destination chain.
- A broadcast message doesn't specify a receiver, making it available for any contract or user to process on the destination chain. Semantically, this can be represented as sending to `address(0)` or a similar convention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants