mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-04 22:23:07 +00:00
Update da/test_encoder.py
Co-authored-by: Daniel Sanchez <sanchez.quiros.daniel@gmail.com>
This commit is contained in:
parent
2a37c7f0cc
commit
2eaff7af0e
@ -41,8 +41,8 @@ class TestEncoder(TestCase):
|
||||
h = derive_challenge(encoded_data.row_commitments)
|
||||
combined_commitment = encoded_data.row_commitments[0]
|
||||
power = h
|
||||
for com in encoded_data.row_commitments[1:]:
|
||||
combined_commitment = bls.add(combined_commitment,bls.multiply(com, power))
|
||||
for commitment in encoded_data.row_commitments[1:]:
|
||||
combined_commitment = bls.add(combined_commitment,bls.multiply(commitment, power))
|
||||
power = power * h
|
||||
|
||||
for i, (column, proof) in enumerate(zip(encoded_data.extended_matrix.columns, encoded_data.combined_column_proofs)):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user