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
Copy file name to clipboardExpand all lines: doc/polycli_loadtest.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,45 +79,45 @@ The codebase has a contract that used for load testing. It's written in Solidity
79
79
## Flags
80
80
81
81
```bash
82
-
--account-funding-amount big.Int the amount in wei to fund the sending accounts with. Set to 0 to disable account funding (useful for eth-call-only mode or pre-funded accounts)
82
+
--account-funding-amount big.Int amount in wei to fund sending accounts (set to 0 to disable)
--blob-fee-cap uint blob fee cap, or maximum blob fee per chunk, in Gwei (default 100000)
90
-
--calldata string hex encoded calldata passed in. Format is functionsignature + arguments encoded together. This must be paired up with --mode contract-call and --contract-address
-c, --concurrency int number of requests to perform concurrently. Default is one request at a time (default 1)
93
-
--contract-address string address of contract that will be used in--mode contract-call. This must be paired up with --mode contract-call and --calldata
92
+
-c, --concurrency int number of requests to perform concurrently (default: one at a time) (default 1)
--contract-call-payable mark functionas payable using value from --eth-amount-in-wei (requires --mode contract-call and --contract-address)
95
95
--erc20-address string address of pre-deployed ERC20 contract
96
96
--erc721-address string address of pre-deployed ERC721 contract
97
97
--eth-amount-in-wei uint amount of ether in wei to send per transaction
98
98
--eth-call-only call contracts without sending transactions (incompatible with adaptive rate limiting and summarization)
99
99
--eth-call-only-latest execute on latest block instead of original block in call-only mode with recall
100
100
--fire-and-forget send transactions and load without waiting for it to be mined
101
-
--gas-limit uint in environments where the gas limit can't be computed on the fly, we can specify it manually. This can also be used to avoid eth_estimateGas
102
-
--gas-price uint in environments where the gas price can't be determined automatically, we can specify it manually
101
+
--gas-limit uint manually specify gas limit (useful to avoid eth_estimateGas or when auto-computation fails)
102
+
--gas-price uint manually specify gas price (useful when auto-detection fails)
103
103
--gas-price-multiplier float a multiplier to increase or decrease the gas price (default 1)
104
104
-h, --help helpfor loadtest
105
105
--legacy send a legacy transaction instead of an EIP1559 transaction
106
106
--loadtest-contract-address string address of pre-deployed load test contract
107
107
--max-base-fee-wei uint maximum base fee in wei (pause sending new transactions when exceeded, useful during network congestion)
108
-
-m, --mode strings the testing mode to use. It can be multiple like:"d,t"
109
-
2, erc20 - Send ERC20 tokens
110
-
7, erc721 - Mint ERC721 tokens
111
-
b, blob - Send blob transactions
112
-
cc, contract-call - Make contract calls
113
-
d, deploy - Deploy contracts
114
-
inc, increment - Increment a counter
115
-
r, random - Random modes (does not include the following modes: blob, call, inscription, recall, rpc, uniswapv3)
--nonce uint use this flag to manually set the starting nonce
122
122
--output-mode string format mode for summary output (json | text) (default "text")
123
123
--output-raw-tx-only output raw signed transaction hex without sending (works with most modes except RPC and UniswapV3)
@@ -126,20 +126,20 @@ The codebase has a contract that used for load testing. It's written in Solidity
126
126
--private-key string hex encoded private key to use for sending transactions (default "42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
127
127
--proxy string use the proxy specified
128
128
--random-recipients send to random addresses instead of fixed address in transfer tests
129
-
--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)
129
+
--rate-limit float requests per second limit (use negative value to remove limit) (default 4)
130
130
--recall-blocks uint number of blocks that we'll attempt to fetch for recall (default 50)
131
-
--receipt-retry-initial-delay-ms uint initial delay in milliseconds for receipt polling retry. Uses exponential backoff with jitter (default 100)
131
+
--receipt-retry-initial-delay-ms uint initial delay in milliseconds for receipt polling (uses exponential backoff with jitter) (default 100)
132
132
--receipt-retry-max uint maximum polling attempts for transaction receipt with --wait-for-receipt (default 30)
133
133
--refund-remaining-funds refund remaining balance to funding account after completion
134
-
-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)
134
+
-n, --requests int number of requests to perform for the benchmarking session (default of 1 leads to non-representative results) (default 1)
135
135
-r, --rpc-url string the RPC endpoint URL (default "http://localhost:8545")
136
136
--seed int a seed for generating random values and addresses (default 123456)
137
137
--send-only alias for --fire-and-forget
138
-
--sending-accounts-count uint number of sending accounts to use. This is useful for avoiding pool account queue
139
-
--sending-accounts-file string file containing sending accounts private keys, one per line. This is useful for avoiding pool account queue but also to keep same sending accounts for different execution cycles
138
+
--sending-accounts-count uint number of sending accounts to use (avoids pool account queue)
139
+
--sending-accounts-file string file with sending account private keys, one per line (avoids pool queue and preserves accounts across runs)
140
140
--store-data-size uint number of bytes to store in contract for store mode (default 1024)
141
141
--summarize produce execution summary after load test (can take a long time for large tests)
142
-
-t, --time-limit int maximum number of seconds to spend for benchmarking. Use this to benchmark within a fixed total amount of time. Per default there is no time limit (default -1)
142
+
-t, --time-limit int maximum seconds to spend benchmarking (default: no limit) (default -1)
143
143
--to-address string recipient address for transactions (default "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF")
144
144
--wait-for-receipt wait for transaction receipt to be mined instead of just sending
-c, --concurrency int number of requests to perform concurrently. Default is one request at a time (default 1)
86
+
-c, --concurrency int number of requests to perform concurrently (default: one at a time) (default 1)
87
87
--config string config file (default is $HOME/.polygon-cli.yaml)
88
88
--eth-amount-in-wei uint amount of ether in wei to send per transaction
89
89
--eth-call-only call contracts without sending transactions (incompatible with adaptive rate limiting and summarization)
90
90
--eth-call-only-latest execute on latest block instead of original block in call-only mode with recall
91
91
--fire-and-forget send transactions and load without waiting for it to be mined
92
-
--gas-limit uint in environments where the gas limit can't be computed on the fly, we can specify it manually. This can also be used to avoid eth_estimateGas
93
-
--gas-price uint in environments where the gas price can't be determined automatically, we can specify it manually
92
+
--gas-limit uint manually specify gas limit (useful to avoid eth_estimateGas or when auto-computation fails)
93
+
--gas-price uint manually specify gas price (useful when auto-detection fails)
94
94
--gas-price-multiplier float a multiplier to increase or decrease the gas price (default 1)
95
95
--legacy send a legacy transaction instead of an EIP1559 transaction
96
96
--nonce uint use this flag to manually set the starting nonce
@@ -100,13 +100,13 @@ The command also inherits flags from parent commands.
100
100
--priority-gas-price uint gas tip price for EIP-1559 transactions
101
101
--private-key string hex encoded private key to use for sending transactions (default "42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
102
102
--random-recipients send to random addresses instead of fixed address in transfer tests
103
-
--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)
104
-
-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)
103
+
--rate-limit float requests per second limit (use negative value to remove limit) (default 4)
104
+
-n, --requests int number of requests to perform for the benchmarking session (default of 1 leads to non-representative results) (default 1)
105
105
-r, --rpc-url string the RPC endpoint URL (default "http://localhost:8545")
106
106
--seed int a seed for generating random values and addresses (default 123456)
107
107
--send-only aliasfor --fire-and-forget
108
108
--summarize produce execution summary after load test (can take a long timefor large tests)
109
-
-t, --time-limit int maximum number of seconds to spend forbenchmarking. Use this to benchmark within a fixed total amount of time. Per default there is no timelimit (default -1)
109
+
-t, --time-limit int maximum seconds to spend benchmarking (default: no limit) (default -1)
110
110
--to-address string recipient address for transactions (default "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF")
Copy file name to clipboardExpand all lines: doc/polycli_ulxly_claim.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Commands for claiming deposits on a particular chain
21
21
--deposit-network uint rollup ID of the network where the deposit was made
22
22
--global-index string an override of the global index value
23
23
-h, --help helpfor claim
24
-
--wait duration this flag is available forclaim asset and claim message. if specified, the command will retryin a loop for the deposit to be ready to claim up to duration. Once the deposit is ready to claim, the claim will actually be sent.
24
+
--wait duration retry claiming untildeposit is ready, up to specified duration (available for claim asset and claim message)
25
25
```
26
26
27
27
The command also inherits flags from parent commands.
Copy file name to clipboardExpand all lines: doc/polycli_ulxly_claim_asset.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ The command also inherits flags from parent commands.
132
132
500 info
133
133
600 debug
134
134
700 trace (default 500)
135
-
--wait duration this flag is available forclaim asset and claim message. if specified, the command will retryin a loop for the deposit to be ready to claim up to duration. Once the deposit is ready to claim, the claim will actually be sent.
135
+
--wait duration retry claiming untildeposit is ready, up to specified duration (available for claim asset and claim message)
0 commit comments