Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo: Fix cast command arguments in quickstart docs #970

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/quickstart/deploy_contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ The response arrives in the form of hex-encoded bytes padded with zeroes:
Foundry provides a built-in method to convert this hex string into human-readable ASCII. You can do this as follows:

```sh
cast to_ascii "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000087765203c33204665000000000000000000000000000000000000000000000000"
cast --to-ascii "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000087765203c33204665000000000000000000000000000000000000000000000000"
```

or simply pipe the output of the `cast call` to `to_ascii` to do the query and conversion in a single command:
or simply pipe the output of the `cast call` to `cast --to-ascii` to do the query and conversion in a single command:

```sh
cast call --rpc-url https://rpc.sepolia.org <contract-address> "get_msg(address)" <your-account-address-that-signed-the-guestbook> | cast --to-ascii
Expand Down