fix wrong blob num

This commit is contained in:
colinlyguo 2024-02-12 00:12:28 +08:00
parent f1c27c286e
commit 5ba1c694f2
No known key found for this signature in database
GPG key ID: 82E123BE1B68288B

View file

@ -762,7 +762,7 @@ func (s *Suite) makeBlobTxs(count, blobs int, discriminator byte) (txs types.Tra
from, nonce := s.chain.GetSender(5)
for i := 0; i < count; i++ {
// Make blob data, max of 2 blobs per tx.
blobdata := make([]byte, blobs%2)
blobdata := make([]byte, blobs%3)
for i := range blobdata {
blobdata[i] = discriminator
blobs -= 1