Skip to content

Commit

Permalink
chore: remove redundant words in comment (#35)
Browse files Browse the repository at this point in the history
Signed-off-by: forcedebug <[email protected]>
  • Loading branch information
forcedebug authored Jan 6, 2025
1 parent 8dbcaa6 commit 818a9b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quests/2-auth-store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Soroban has three types of Storage: `Temporary`, `Persistent`, and `Instance`.
- The default "lifetime" for temporary storage is **16 ledgers** (with an
estimated 5 seconds per ledger, that lifetime is roughly 80 seconds).
- The entry will become "dead" once the lifetime ends (unless the entry's TTL
has been extended). Once dead, the the ledger entry is **permanently**
has been extended). Once dead, the ledger entry is **permanently**
deleted.
- Later on, the entry _can_ be re-created, but it _cannot_ be restored.

Expand Down
4 changes: 2 additions & 2 deletions quests/2-auth-store/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fn test_contract_store() {
let caller_contract_address = env.register_contract(None, CallerContract);
let caller_client = CallerContractClient::new(&env, &caller_contract_address);

// We are invoking the the DataStore contract's `put` function using our
// We are invoking the DataStore contract's `put` function using our
// Caller contract's `try_put` function.
caller_client.try_put(
// The address of the DataStore contract where we are storing our data
Expand Down Expand Up @@ -250,7 +250,7 @@ fn test_contract_get() {
let u1 = Address::generate(&env);
data_store_client.put(&u1, &bytes!(&env, 0x48656c6c6f20536f726f62616e21)); // This is the hex value for "Hello Soroban!"

// We are invoking the the DataStore contract's `get` function by using
// We are invoking the DataStore contract's `get` function by using
// the `try_get` function in the Caller contract. We expect our returned
// value to match the value we `put` before.
let value = caller_client.try_get(&data_store_contract_address, &u1);
Expand Down

0 comments on commit 818a9b3

Please sign in to comment.