Skip to content

Designdoc/batching#90

Merged
shannonwells merged 12 commits intomainfrom
designdoc/batching
May 20, 2022
Merged

Designdoc/batching#90
shannonwells merged 12 commits intomainfrom
designdoc/batching

Conversation

@shannonwells
Copy link
Copy Markdown
Collaborator

@shannonwells shannonwells commented May 13, 2022

Design document for creating and fetching batches. Closes #10

Also fixed a couple of issues in the delegation design doc.

Comment thread designdocs/batched_messages.md Outdated
@shannonwells shannonwells marked this pull request as ready for review May 16, 2022 22:16
Comment thread designdocs/batched_messages.md Outdated
Copy link
Copy Markdown
Collaborator

@aramikm aramikm left a comment

Choose a reason for hiding this comment

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

A number of questions and suggestions!

Comment thread designdocs/batched_messages.md
Comment thread designdocs/batched_messages.md Outdated
Comment thread designdocs/batched_messages.md Outdated
Copy link
Copy Markdown
Collaborator

@saraswatpuneet saraswatpuneet left a comment

Choose a reason for hiding this comment

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

💯

Comment thread designdocs/batched_messages.md Outdated
Comment thread designdocs/batched_messages.md Outdated
Comment thread designdocs/batched_messages.md Outdated
Comment thread designdocs/batched_messages.md Outdated
Comment thread designdocs/batched_messages.md Outdated
@wilwade
Copy link
Copy Markdown
Collaborator

wilwade commented May 20, 2022

Options:

  1. No Delegation on chain, you are on your own for inside the batch BatchMessage(signer_has_msa_id)
  2. No delegation on chain, but the schema MUST have msa_id BatchMessage(signer_has_msa_id)
  3. Allow batch message on chain to have a signer and msa_id, but DSNP requires signer == chain's msa_id BatchMessage(signer_has_msa_id ?? msa_id), but DSNP wants ==
  4. Option on schema to force signer == chain's msa_id BatchMessage(signer_has_msa_id == msa_id)

We like 1.

  • Simple
  • Cannot enforce it anyway because batches are off-chain
  • Flexible on the schemas

Copy link
Copy Markdown
Collaborator

@wilwade wilwade left a comment

Choose a reason for hiding this comment

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

🚢

@shannonwells shannonwells enabled auto-merge (squash) May 20, 2022 21:17
@shannonwells shannonwells merged commit 1f112cc into main May 20, 2022
@shannonwells shannonwells deleted the designdoc/batching branch May 20, 2022 21:45
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.

[Design Doc] Batched Messages

6 participants