Skip to content

Commit

Permalink
chore: gen doc
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Oct 18, 2023
1 parent 27dd235 commit 4e847e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions doc/polycli_loadtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ The codebase has a contract that used for load testing. It's written in Yul and
a - call a specific precompiled contract address
s - store mode
r - random modes
2 - ERC20 Transfers
7 - ERC721 Mints
2 - ERC20 transfers
7 - ERC721 mints
v3 - UniswapV3 swaps
R - total recall
rpc - call random rpc methods (default [t])
Expand Down
7 changes: 0 additions & 7 deletions doc/polycli_loadtest_uniswapv3.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,29 +79,22 @@ The command also inherits flags from parent commands.
--adaptive-rate-limit Enable AIMD-style congestion control to automatically adjust request rate
--adaptive-rate-limit-increment uint When using adaptive rate limiting, this flag controls the size of the additive increases. (default 50)
--batch-size uint Number of batches to perform at a time for receipt fetching. Default is 999 requests at a time. (default 999)
-b, --byte-count uint If we're in store mode, this controls how many bytes we'll try to store in our contract (default 1024)
--call-only When using this mode, rather than sending a transaction, we'll just call. This mode is incompatible with adaptive rate limiting, summarization, and a few other features.
--call-only-latest When using call only mode with recall, should we execute on the latest block or on the original block
--chain-id uint The chain id for the transactions.
-c, --concurrency int Number of requests to perform concurrently. Default is one request at a time. (default 1)
--config string config file (default is $HOME/.polygon-cli.yaml)
--contract-call-block-interval uint During deployment, this flag controls if we should check every block, every other block, or every nth block to determine that the contract has been deployed (default 1)
--contract-call-nb-blocks-to-wait-for uint The number of blocks to wait for before giving up on a contract deployment (default 30)
--erc20-address string The address of a pre-deployed ERC20 contract
--erc721-address string The address of a pre-deployed ERC721 contract
--force-contract-deploy Some load test modes don't require a contract deployment. Set this flag to true to force contract deployments. This will still respect the --lt-address flags.
-f, --function --mode f A specific function to be called if running with --mode f or a specific precompiled contract when running with `--mode a` (default 1)
--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
--gas-price uint In environments where the gas price can't be determined automatically, we can specify it manually
-i, --iterations uint If we're making contract calls, this controls how many times the contract will execute the instruction in a loop. If we are making ERC721 Mints, this indicates the minting batch size (default 1)
--legacy Send a legacy transaction instead of an EIP1559 transaction.
--lt-address string The address of a pre-deployed load test contract
--output-mode string Format mode for summary output (json | text) (default "text")
--pretty-logs Should logs be in pretty format or JSON (default true)
--priority-gas-price uint Specify Gas Tip Price in the case of EIP-1559
--private-key string The hex encoded private key that we'll use to send transactions (default "42b6e34dc21598a807dc19d7784c71b2a7a01f6480dc6f58258f78e539f1a1fa")
--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)
--recall-blocks uint The number of blocks that we'll attempt to fetch for recall (default 50)
-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)
--seed int A seed for generating random values and addresses (default 123456)
--send-amount string The amount of wei that we'll send every transaction (default "0x38D7EA4C68000")
Expand Down

0 comments on commit 4e847e1

Please sign in to comment.