cargo run --bin aptos move replay --help
--network <NETWORK>
The network to replay on.
Possible values: mainnet, testnet, <REST_ENDPOINT_URL>
--txn-id <TXN_ID>
The id of the transaction to replay. Also being referred to as "version" in some contexts
--benchmark
If this option is set, benchmark the transaction and report the running time(s)
--profile-gas
If this option is set, profile the transaction and generate a detailed report of its gas usage
--skip-comparison
If present, skip the comparison against the expected transaction output
--node-api-key <NODE_API_KEY>
Key to use for ratelimiting purposes with the node API. This value will be used as `Authorization: Bearer <key>`
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
How Has This Been Tested?
Command without --node-api-key executed successfully
Description
For future Buildspace usage, we need to be able to provide an API key for the replay job to avoid server rate limiting. For more context:
How Has This Been Tested?
Command without
--node-api-key
executed successfullyCommand with
--node-api-key
executed successfully and can see a spike in the Node api metrics in my Build accountKey Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist