DA Api main methods definition and tests using Nomos DA Protocol.
The latest revision focuses only on read and write methods and provides MockBlobStore to demonstrate a naive way of indexing blobs for a specific app_id.
Two new definitions were added to the overall DA spec:
VID - verifiable information dispersal structure, which is written into a block after attestations for an original data dispersal are verified by block producer.
VID holds two fields: cert_id and metadata
cert_id is derived from aggregated_column_commitment and rows_commitments using _build_attestation_message
metadata is received together with the actual dispersal certificate from EZ
Metadata - holds app_id and index of the related original data
The da/test_full_flow.py shows a full cycle of original data being stored and retrieved from Nomos DA:
Original data is encoded into blobs;
Blobs are dispersed to nodes;
Attestations are collected and Certificate is formed;
VID is formed from the Certificate;
Nodes receive the VID and index the blobs;
read request is issued to all Nodes to receive specific blob for index of app_id
collected blobs are compared to the original blobs
DA Api main methods definition and tests using Nomos DA Protocol.
The latest revision focuses only on
read
andwrite
methods and providesMockBlobStore
to demonstrate a naive way of indexing blobs for a specificapp_id
.Two new definitions were added to the overall DA spec:
cert_id
andmetadata
cert_id
is derived fromaggregated_column_commitment
androws_commitments
using _build_attestation_messagemetadata
is received together with the actual dispersal certificate from EZapp_id
andindex
of the related original dataThe
da/test_full_flow.py
shows a full cycle of original data being stored and retrieved from Nomos DA:read
request is issued to all Nodes to receive specific blob forindex
ofapp_id