Added verifier module and blob type

This commit is contained in:
Daniel Sanchez Quiros 2024-02-06 10:41:59 +01:00
parent 322d09912c
commit 20d639435d
1 changed files with 15 additions and 0 deletions

15
da/verifier.py Normal file
View File

@ -0,0 +1,15 @@
from dataclasses import dataclass
from typing import List
from eth2spec.eip7594.mainnet import KZGCommitment as Commitment, KZGProof as Proof
@dataclass
class DABlob:
# this should be removed, but for now it shows the purpose
index: int
column: bytearray
column_commitment: Commitment
aggregated_column_commitment: Commitment
aggregated_column_proof: Proof
rows_commitments: List[Commitment]
rows_proofs: List[Proof]