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

DummyOrdered delivery protocol #212

Closed
tomusdrw opened this issue Jul 17, 2020 · 0 comments · Fixed by #299
Closed

DummyOrdered delivery protocol #212

tomusdrw opened this issue Jul 17, 2020 · 0 comments · Fixed by #299
Assignees
Labels

Comments

@tomusdrw
Copy link
Contributor

tomusdrw commented Jul 17, 2020

Write a pallet that allows queueing outbound messages and is able to receive inbound messages. The messages should have a simple format defined below and the dispatcher should be pluggable.

struct Message {
  lane_id: [u8; 3],
  nonce: u64,
  payload: Vec<u8>,
}
  • Messages from each lane should be submitted separately (initially it's fine to mix them up though)
  • Initially we will support only one lane.

To receive messages the pallet needs to keep track of:
Map<LaneId, Nonce> to make sure messages are not replayed and processed in order.

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

Successfully merging a pull request may close this issue.

2 participants