Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Feb 5, 2024
1 parent 02cee32 commit 9a1e40f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/proto/node/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ message Bundle {
message BlobHeader {
// The KZG commitment to the polynomial representing the blob.
bytes commitment = 1;
// The KZG commitment to the polynomial representing the blob on G2, it is uesd
// The KZG commitment to the polynomial representing the blob on G2, it is used
// for proving the degree of the polynomial
bytes length_commitment = 2;
// The low degree proof. It's the KZG commitment to the polynomial shifted to
Expand Down
4 changes: 1 addition & 3 deletions pkg/encoding/kzgEncoder/degree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ func TestLengthProof(t *testing.T) {
length := len(inputFr)
assert.True(t, group.VerifyCommit(lowDegreeCommitment, lowDegreeProof, uint64(length)) == nil, "low degree verification failed\n")

length = len(inputFr) - 10
length = len(inputFr) - 10
assert.False(t, group.VerifyCommit(lowDegreeCommitment, lowDegreeProof, uint64(length)) == nil, "low degree verification failed\n")
}
}


0 comments on commit 9a1e40f

Please sign in to comment.