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
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,8 +111,6 @@ The codebase has a contract that used for load testing. It's written in Solidity
111
111
--gas-price uint manually specify gas price (useful when auto-detection fails)
112
112
--gas-price-multiplier float a multiplier to increase or decrease the gas price (default 1)
113
113
-h, --help helpfor loadtest
114
-
--infinite run the load test indefinitely until manually stopped. It will follow the rate limit and concurrency settings, but at the end, it will repeat all over again
115
-
--infinite-interval-duration-seconds uint duration to wait between iterations when running in infinite mode
116
114
--legacy send a legacy transaction instead of an EIP1559 transaction
117
115
--loadtest-contract-address string address of pre-deployed load test contract
118
116
--max-base-fee-wei uint maximum base fee in wei (pause sending new transactions when exceeded, useful during network congestion)
-c, --concurrency int number of requests to perform concurrently (default: one at a time) (default 1)
87
-
--config string config file (default is $HOME/.polygon-cli.yaml)
88
-
--eth-amount-in-wei uint amount of ether in wei to send per transaction
89
-
--eth-call-only call contracts without sending transactions (incompatible with adaptive rate limiting and summarization)
90
-
--eth-call-only-latest execute on latest block instead of original block in call-only mode with recall
91
-
--fire-and-forget send transactions and load without waiting for it to be mined
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
-
--gas-price-multiplier float a multiplier to increase or decrease the gas price (default 1)
95
-
--infinite run the load test indefinitely until manually stopped. It will follow the rate limit and concurrency settings, but at the end, it will repeat all over again
96
-
--infinite-interval-duration-seconds uint duration to wait between iterations when running in infinite mode
97
-
--legacy send a legacy transaction instead of an EIP1559 transaction
98
-
--nonce uint use this flag to manually set the starting nonce
99
-
--output-mode string format mode for summary output (json | text) (default "text")
100
-
--output-raw-tx-only output raw signed transaction hex without sending (works with most modes except RPC and UniswapV3)
101
-
--pretty-logs output logs in pretty format instead of JSON (default true)
102
-
--priority-gas-price uint gas tip price for EIP-1559 transactions
103
-
--private-key string hex encoded private key to use for sending transactions (default "42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
104
-
--random-recipients send to random addresses instead of fixed address in transfer tests
105
-
--rate-limit float requests per second limit (use negative value to remove limit) (default 4)
106
-
-n, --requests int number of requests to perform for the benchmarking session (default of 1 leads to non-representative results) (default 1)
107
-
-r, --rpc-url string the RPC endpoint URL (default "http://localhost:8545")
108
-
--seed int a seed for generating random values and addresses (default 123456)
109
-
--send-only aliasfor --fire-and-forget
110
-
--summarize produce execution summary after load test (can take a long timefor large tests)
111
-
-t, --time-limit int maximum seconds to spend benchmarking (default: no limit) (default -1)
112
-
--to-address string recipient address for transactions (default "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF")
-c, --concurrency int number of requests to perform concurrently (default: one at a time) (default 1)
87
+
--config string config file (default is $HOME/.polygon-cli.yaml)
88
+
--eth-amount-in-wei uint amount of ether in wei to send per transaction
89
+
--eth-call-only call contracts without sending transactions (incompatible with adaptive rate limiting and summarization)
90
+
--eth-call-only-latest execute on latest block instead of original block in call-only mode with recall
91
+
--fire-and-forget send transactions and load without waiting for it to be mined
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
+
--gas-price-multiplier float a multiplier to increase or decrease the gas price (default 1)
95
+
--legacy send a legacy transaction instead of an EIP1559 transaction
96
+
--nonce uint use this flag to manually set the starting nonce
97
+
--output-mode string format mode for summary output (json | text) (default "text")
98
+
--output-raw-tx-only output raw signed transaction hex without sending (works with most modes except RPC and UniswapV3)
99
+
--pretty-logs output logs in pretty format instead of JSON (default true)
100
+
--priority-gas-price uint gas tip price for EIP-1559 transactions
101
+
--private-key string hex encoded private key to use for sending transactions (default "42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
102
+
--random-recipients send to random addresses instead of fixed address in transfer tests
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
+
-r, --rpc-url string the RPC endpoint URL (default "http://localhost:8545")
106
+
--seed int a seed for generating random values and addresses (default 123456)
107
+
--send-only aliasfor --fire-and-forget
108
+
--summarize produce execution summary after load test (can take a long timefor large tests)
109
+
-t, --time-limit int maximum seconds to spend benchmarking (default: no limit) (default -1)
110
+
--to-address string recipient address for transactions (default "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF")
0 commit comments