github.com/badrootd/nibiru-cometbft@v0.37.5-0.20240307173500-2a75559eee9b/internal/test/tx.go (about)

     1  package test
     2  
     3  import "github.com/badrootd/nibiru-cometbft/types"
     4  
     5  func MakeNTxs(height, n int64) []types.Tx {
     6  	txs := make([]types.Tx, n)
     7  	for i := range txs {
     8  		txs[i] = types.Tx([]byte{byte(height), byte(i / 256), byte(i % 256)})
     9  	}
    10  	return txs
    11  }