Skip to content

Commit d1cc17c

Browse files
committed
add --send-only alias to --fire-and-forget flag
1 parent d4b72ee commit d1cc17c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/loadtest/app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ func initFlags() {
240240
ltp.SummaryOutputMode = LoadtestCmd.PersistentFlags().String("output-mode", "text", "Format mode for summary output (json | text)")
241241
ltp.LegacyTransactionMode = LoadtestCmd.PersistentFlags().Bool("legacy", false, "Send a legacy transaction instead of an EIP1559 transaction.")
242242
ltp.FireAndForget = LoadtestCmd.PersistentFlags().Bool("fire-and-forget", false, "Send transactions and load without waiting for it to be mined.")
243+
LoadtestCmd.PersistentFlags().BoolVar(ltp.FireAndForget, "sendOnly", false, "Alias for --fire-and-forget.")
243244
ltp.BlobFeeCap = LoadtestCmd.Flags().Uint64("blob-fee-cap", 100000, "The blob fee cap, or the maximum blob fee per chunk, in Gwei.")
244245
ltp.SendingAccountsCount = LoadtestCmd.Flags().Uint64("sending-accounts-count", 1, "The number of sending accounts to use. This is useful for avoiding pool account queue.")
245246
ltp.AccountFundingAmount = defaultAccountFundingAmount

0 commit comments

Comments
 (0)