Skip to content

Commit

Permalink
chore: improves description of --blob-amounts flag in txsim CLI (cele…
Browse files Browse the repository at this point in the history
…stiaorg#3312)

Closes celestiaorg#3311

No changes to the implementation are necessary to support a range for
the number of blobs in txsim CLI; the description of the
`--blob-amounts` flag is merely underspecified. I tested the CLI, and it
can indeed accept a range, such as `--blob-amounts 1-10`.
  • Loading branch information
staheri14 authored and ninabarbakadze committed Apr 17, 2024
1 parent 580725c commit 04baf2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmd/txsim/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func flags() *flag.FlagSet {
flags.IntVar(&stakeValue, "stake-value", 1000, "amount of initial stake per sequence")
flags.IntVar(&blob, "blob", 0, "number of blob sequences to run")
flags.StringVar(&blobSizes, "blob-sizes", "100-1000", "range of blob sizes to send")
flags.StringVar(&blobAmounts, "blob-amounts", "1", "range of blobs to send per PFB in a sequence")
flags.StringVar(&blobAmounts, "blob-amounts", "1", "range of blobs per PFB specified as a single value or a min-max range (e.g., 10 or 5-10). A single value indicates the exact number of blobs to be created.")
flags.BoolVar(&useFeegrant, "feegrant", false, "use the feegrant module to pay for fees")
flags.BoolVar(&suppressLogs, "suppressLogs", false, "disable logging")
return flags
Expand Down

0 comments on commit 04baf2f

Please sign in to comment.