Skip to content

Commit

Permalink
Fix cookbook.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Oct 7, 2024
1 parent d2e3439 commit 1543ed6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/crates/soroban-test/tests/it/integration/cookbook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,6 @@ mod tests {
.arg("xdr")
.arg("--key")
.arg("COUNTER")
.arg("--source-account")
.arg(source)
.assert()
.stdout_as_str();
let key_xdr = read_xdr.split(',').next().unwrap_or("").trim();
Expand Down
2 changes: 1 addition & 1 deletion cookbook/contract-lifecycle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ stellar contract invoke --id <CONTRACT_ID> --source alice --network testnet -- f
6. View the contract's state:

```bash
stellar contract read --id <CONTRACT_ID> --network testnet --source alice --durability <DURABILITY> --key <KEY>
stellar contract read --id <CONTRACT_ID> --network testnet --durability <DURABILITY> --key <KEY>
```

Note: `<DURABILITY>` is either `persistent` or `temporary`. `KEY` provides the key of the storage entry being read.
Expand Down

0 comments on commit 1543ed6

Please sign in to comment.