-
Notifications
You must be signed in to change notification settings - Fork 242
Closed
Milestone
Description
A couple of important things have clicked into place:
- FIR-4 (rich query updates) and FIR-7 (DX manifests) integration to onchain-logic branch #403 - we added the concept of a manifest to a batch, so DX implementations can confirm what the received without needing to sign the whole massive payload of the batch
- Re-work batch logic for simplicity, efficiency, and restart recovery #501 - we made it so all message transfers include a batch, including unpinned
- Re-work batch logic for simplicity, efficiency, and restart recovery #501 - the batch logic only stores the batch at the end of the dispatch, as part of passing it to a transport plugin (IPFS/DX)
- When a batch arrives, we always store all of the contents of the batch individually - the messages and data
When you add all these together, the only reason you need to store the full batch is because the on-chain transaction contains a hash that is a function of the entire batch payload.
If instead we did the following small things:
- Include the TX type/ID in the manifest
- Include the batch ID in the manifest
- Make the
hashof a batch, a function only of the manifest
... then all we would need to store is the manifest.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done