Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec: Cross-net Messaging #905

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Spec: Cross-net Messaging #905

wants to merge 1 commit into from

Conversation

snissn
Copy link
Contributor

@snissn snissn commented May 8, 2024

IPC spec for Cross-net Messaging


This change is Reviewable

@snissn snissn requested a review from cryptoAtwill May 8, 2024 20:51
@snissn snissn self-assigned this May 8, 2024

- The `id` of an `Receipt` message is determined through the `keccak(IpcEnvelope)` of the message being acknowledged.
- `sendXnetMessage` should be extended to return the keccak of the message, for the contract to retain and correlate the result with later
- Only the execution of `Call` messages trigger `Receipt`, for plain `Transfer` messages, i.e. `fund` and `release` , no `Ack` are needed (at least for now that we are subsidizing these).
Copy link
Contributor

Choose a reason for hiding this comment

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

I think if the Transfer fails, an Ack is also sent?

@maciejwitowski maciejwitowski changed the title Add IPC spec - Cross-net Messaging Spec: Cross-net Messaging May 9, 2024
Copy link
Contributor

@raulk raulk left a comment

Choose a reason for hiding this comment

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

There is useful info here, but not in a mergeable state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

4 participants