diff --git a/docs/docs/developers/guides/smart_contracts/profiling_transactions.md b/docs/docs/developers/guides/smart_contracts/profiling_transactions.md index 863c1b51b4ef..27f7984d1332 100644 --- a/docs/docs/developers/guides/smart_contracts/profiling_transactions.md +++ b/docs/docs/developers/guides/smart_contracts/profiling_transactions.md @@ -42,11 +42,11 @@ Now, the `test0` account can transfer tokens by running: aztec-wallet send transfer -ca token --args accounts:test1 40 -f accounts:test0 ``` -Instead of sending the above transaction, you can simulate it by running the `simulate` command with the same parameters, and then add a `--profile` flag to profile the gate count of each private function in the transaction. +Instead of sending the above transaction, you can profile it by running the `profile` command with the same parameters. ```bash -aztec-wallet simulate --profile transfer -ca token --args accounts:test1 40 -f accounts:test0 +aztec-wallet profile transfer -ca token --args accounts:test1 40 -f accounts:test0 ``` This will print the following results after some time: diff --git a/docs/docs/developers/reference/environment_reference/cli_wallet_reference.md b/docs/docs/developers/reference/environment_reference/cli_wallet_reference.md index 2387ced4b8bc..10c4d4f97829 100644 --- a/docs/docs/developers/reference/environment_reference/cli_wallet_reference.md +++ b/docs/docs/developers/reference/environment_reference/cli_wallet_reference.md @@ -134,12 +134,12 @@ aztec-wallet simulate --from master_yoda --contract-address jedi_order --args "l ### Profile -Simulates a transaction with profiling enabled. This allows you to get the gate count of each private function in the transaction. Read more about profiling [here](../../guides/smart_contracts/profiling_transactions.md). +This allows you to get the gate count of each private function in the transaction. Read more about profiling [here](../../guides/smart_contracts/profiling_transactions.md). #### Example ```bash -aztec-wallet simulate --profile --from master_yoda --contract-address jedi_order --args "luke_skywalker" train_jedi +aztec-wallet profile --from master_yoda --contract-address jedi_order --args "luke_skywalker" train_jedi ``` ### Bridge Fee Juice