Skip to content

Commit

Permalink
comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Apr 17, 2024
1 parent 088cc3f commit d8c6fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion command/loadtest/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
errUnsupportedLoadTestType = errors.New("unsupported load test type")
errInvalidVUs = errors.New("vus must be greater than 0")
errInvalidTxsPerUser = errors.New("txs-per-user must be greater than 0")
errInvalidBatchSize = errors.New("batch-size must be greater than 0 and les or equal to txs-per-user")
errInvalidBatchSize = errors.New("batch-size must be greater than 0 and less or equal to txs-per-user")
)

type loadTestParams struct {
Expand Down
1 change: 1 addition & 0 deletions loadtest/runner/base_load_test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ func (r *BaseLoadTestRunner) sendTransactionsForUserInBatches(account *account,
txHashes := make([]types.Hash, 0, r.cfg.TxsPerUser)
sendErrs := make([]error, 0)
totalTxs := 0

var gas uint64

feeData, err := getFeeData(r.client, r.cfg.DynamicTxs)
Expand Down

0 comments on commit d8c6fe8

Please sign in to comment.