Skip to content

Commit

Permalink
chore: printing the number of blobs in block
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Jan 31, 2025
1 parent 784a56d commit 1d814ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/chainbuilder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ func generateSquareRoutine(

blobTxs := make([][]byte, 0)
numberOfBlobs := rand.Intn(100)
fmt.Printf("generating block with %d blobs\n", numberOfBlobs)
blobSize := cfg.BlockSize / numberOfBlobs
for size := 0; size < cfg.BlockSize; size += blobSize {
blob, err := share.NewV0Blob(share.RandomNamespace(), crypto.CRandBytes(blobSize))
Expand Down

0 comments on commit 1d814ca

Please sign in to comment.