diff --git a/docs/content/references/cli.mdx b/docs/content/references/cli.mdx index 48fe196107026..e55cbeb6abc75 100644 --- a/docs/content/references/cli.mdx +++ b/docs/content/references/cli.mdx @@ -12,12 +12,12 @@ Sui provides a command line interface (CLI) tool to interact with the Sui networ To get the latest version of the CLI, you can run the following command from a terminal or console. Be sure to replace `` with `main`, `devnet`, `testnet`, or `mainnet` to get the desired version. For more information on the branches available, see [Sui Environment Setup](./contribute/sui-environment.mdx). ```shell -cargo install --locked --git https://github.com/MystenLabs/sui.git --branch --features gas-profiler sui +cargo install --locked --git https://github.com/MystenLabs/sui.git --branch --features tracing sui ``` :::info -The `--features gas-profiler` flag is necessary only if you want to run gas profiles for transactions. +The `--features tracing` flag is necessary only if you want to run gas profiles for transactions. ::: diff --git a/docs/content/references/cli/client.mdx b/docs/content/references/cli/client.mdx index 8bedd5c602943..3057f535e8bf2 100644 --- a/docs/content/references/cli/client.mdx +++ b/docs/content/references/cli/client.mdx @@ -473,10 +473,10 @@ and produce a gas profile. Similar to the `replay` command, this command fetches Full node specified in the client environment that are needed to execute the transaction. During the local execution of the transaction, this command records all the Move function invocations and the gas cost breakdown for each invocation. -To enable the profiler, you must either install or build the Sui Client binary locally with the `--features gas-profiler` flag. +To enable the profiler, you must either install or build the Sui Client binary locally with the `--features tracing` flag. ```shell -cargo install --locked --git https://github.com/MystenLabs/sui.git --branch --features gas-profiler sui +cargo install --locked --git https://github.com/MystenLabs/sui.git --branch --features tracing sui ``` The command outputs a profile to the current working directory in the format `gas_profile_{tx_digest}_{unix_timestamp}.json`.