You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ltp.InscriptionContent=LoadtestCmd.Flags().String("inscription-content", `data:,{"p":"erc-20","op":"mint","tick":"TEST","amt":"1"}`, "The inscription content that will be encoded as calldata. This must be paired up with --mode inscription")
288
290
ltp.Proxy=LoadtestCmd.Flags().String("proxy", "", "Use the proxy specified")
289
291
ltp.WaitForReceipt=LoadtestCmd.Flags().Bool("wait-for-receipt", false, "If set to true, the load test will wait for the transaction receipt to be mined. If set to false, the load test will not wait for the transaction receipt and will just send the transaction.")
292
+
ltp.ReceiptRetryMax=LoadtestCmd.Flags().Uint("receipt-retry-max", 30, "Maximum number of attempts to poll for transaction receipt when --wait-for-receipt is enabled.")
293
+
ltp.ReceiptRetryInitialDelayMs=LoadtestCmd.Flags().Uint("receipt-retry-initial-delay-ms", 100, "Initial delay in milliseconds for receipt polling retry. Uses exponential backoff with jitter.")
Copy file name to clipboardExpand all lines: doc/polycli_loadtest.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,8 @@ The codebase has a contract that used for load testing. It's written in Solidity
157
157
--proxy string Use the proxy specified
158
158
--rate-limit float An overall limit to the number of requests per second. Give a number less than zero to remove this limit all together (default 4)
159
159
--recall-blocks uint The number of blocks that we'll attempt to fetch for recall (default 50)
160
+
--receipt-retry-initial-delay-ms uint Initial delay in milliseconds for receipt polling retry. Uses exponential backoff with jitter. (default 100)
161
+
--receipt-retry-max uint Maximum number of attempts to poll for transaction receipt when --wait-for-receipt is enabled. (default 30)
160
162
-n, --requests int Number of requests to perform for the benchmarking session. The default is to just perform a single request which usually leads to non-representative benchmarking results. (default 1)
161
163
-r, --rpc-url string The RPC endpoint url (default "http://localhost:8545")
162
164
--seed int A seed for generating random values and addresses (default 123456)
0 commit comments