logos-blockchain-specs/da/test_dispersal.py
Daniel Sanchez 9a54d90d14
Da specs main structure (#70)
* Added da encoder pipeline draft

* Remove unnecessary method

* Added verifier module and blob type

* Fill verifier skeleton

* Add comments on implementation, remove unnecessary intermediary method

* Added dispersal skeleton

* Added test modules for dispersal and verifier

* Added test modules for encoder, implemented basic test

* Added missing test cases

* Added missing calls to encode method

* Use single megabyte test in encoder

* Added basic testcases for dispersal

* Added basic testcases for verifier

* Remove duplicated column proofs from encoding schema

* Remove parameters from test functions in encoder

* Extract common types to common module

* Make test pass

* Remove node id dep from mixnet and fix columns access
2024-02-12 15:35:23 +01:00

21 lines
412 B
Python

from unittest import TestCase
from da.dispersal import Dispersal, DABlob, EncodedData
class TestDispersal(TestCase):
def test_build_certificate_insufficient_attestations(self):
pass
def test_build_certificate_enough_attestations(self):
pass
def test_prepare_data(self):
pass
def test_verify_attestation(self):
pass
def test_disperse(self):
pass