Skip to content

chore: remove redundant words in comment #1707

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

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
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

#![allow(unused)]

/// These types are are copied over from the cosmwasm_std package, and must be kept in sync with it.
/// These types are copied over from the cosmwasm_std package, and must be kept in sync with it.
///
/// We copy these types instead of directly depending on them, because we require special versions of serde
/// inside the enclave, which are different from the versions that cosmwasm_std uses.
2 changes: 1 addition & 1 deletion cosmwasm/enclaves/shared/utils/src/kv_cache.rs
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ impl KvCache {
self.readable_cache.insert(k.to_vec(), v.to_vec())
}
pub fn read(&self, key: &[u8]) -> Option<Vec<u8>> {
// first to to read from the writeable cache - this will be more updated
// first to read from the writeable cache - this will be more updated
if let Some(value) = self.writeable_cache.get(key) {
Some(value.clone())
}
2 changes: 1 addition & 1 deletion cosmwasm/packages/sgx-vm/src/instance.rs
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ where
let api = deps.api;
import_obj.extend(imports! {
"env" => {
// Reads the database entry at the given key into the the value.
// Reads the database entry at the given key into the value.
// Returns 0 if key does not exist and pointer to result region otherwise.
// Ownership of the key pointer is not transferred to the host.
// Ownership of the value pointer is transferred to the contract.