Skip to content

Commit

Permalink
rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Feb 3, 2024
1 parent 25d1d55 commit bd6f70d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/proto/node/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ 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
// for proving the degree of the polynomial
bytes length_commitment = 2;
// The KZG commitment to the polynomial representing the blob on G2, it is uesd
// 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
// the largest SRS degree.
bytes length_proof = 3;
Expand Down
1 change: 1 addition & 0 deletions core/serialization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func TestBlobHeaderEncoding(t *testing.T) {
_, err = lengthYA1.SetString("4082367875863433681332203403145435568316851327593401208105741076214120093531")
assert.NoError(t, err)


var lengthProof, lengthCommitment kzgbn254.G2Point
lengthProof.X.A0 = lengthXA0
lengthProof.X.A1 = lengthXA1
Expand Down
1 change: 1 addition & 0 deletions disperser/encoder/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func TestThrottling(t *testing.T) {
_, err = lengthYA1.SetString("4082367875863433681332203403145435568316851327593401208105741076214120093531")
assert.NoError(t, err)


var lengthProof, lengthCommitment bn254.G2Point
lengthProof.X.A0 = lengthXA0
lengthProof.X.A1 = lengthXA1
Expand Down
1 change: 1 addition & 0 deletions node/grpc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ func makeStoreChunksRequest(t *testing.T, quorumThreshold, adversaryThreshold ui
_, err = lengthYA1.SetString("4082367875863433681332203403145435568316851327593401208105741076214120093531")
assert.NoError(t, err)


var lengthProof, lengthCommitment bn254.G2Point
lengthProof.X.A0 = lengthXA0
lengthProof.X.A1 = lengthXA1
Expand Down
1 change: 1 addition & 0 deletions node/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func CreateBatch(t *testing.T) (*core.BatchHeader, []*core.BlobMessage, []*pb.Bl
_, err = lengthYA1.SetString("4082367875863433681332203403145435568316851327593401208105741076214120093531")
assert.NoError(t, err)


var lengthProof, lengthCommitment bn254.G2Point
lengthProof.X.A0 = lengthXA0
lengthProof.X.A1 = lengthXA1
Expand Down

0 comments on commit bd6f70d

Please sign in to comment.