Skip to content

Commit

Permalink
docs: removed get-logs form cli start guide
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 24, 2023
1 parent 85bdb55 commit fac36e1
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions docs/docs/dev_docs/getting_started/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,4 @@ View result: [
View result: [
"{\"type\":\"bigint\",\"data\":\"543\"}"
]
```

## Logs

Finally, we can use the CLI's `get-logs` command to retrieve unencrypted logs emitted by the contract:

```
% aztec-cli get-logs 5 1
Logs found:
Coins transferred
```

Here we asked for the logs from block 5 (the block in which our call to `transfer` was mined) and to include a total of 1 block's worth of logs. The text `Coins Transferred` is emitted during the execution of the `transfer` function on the contract.
```

0 comments on commit fac36e1

Please sign in to comment.