Skip to content

Commit

Permalink
blob aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
yingdianRao committed Jun 18, 2024
1 parent 042f7c4 commit ad70dc6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dataavailability/nubit/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ func (a *NubitDABackend) PostSequence(ctx context.Context, batchesData [][]byte)
log.Infof("🏆 Nubit BatchsDataCache:%+v", len(encodedData))
return nil, nil, nil
}

id, err := a.client.Submit(ctx, BatchsDataCache, -1, a.ns)
BatchsData, err := MarshalBatchData(BatchsDataCache)
if err != nil {
log.Errorf("🏆 NubitDABackend.MarshalBatchData:%s", err)
return nil, nil, err
}
id, err := a.client.Submit(ctx, [][]byte{BatchsData}, -1, a.ns)
if err != nil {
log.Errorf("🏆 NubitDABackend.Submit:%s", err)
return nil, nil, err
Expand Down

0 comments on commit ad70dc6

Please sign in to comment.