diff --git a/internal/api/bindings.h b/internal/api/bindings.h index 152c8c027..e06ee0285 100644 --- a/internal/api/bindings.h +++ b/internal/api/bindings.h @@ -163,7 +163,7 @@ typedef struct ByteSliceView { * ``` * * - * If you want to mutate data, you need to comsume the vector and create a new one: + * If you want to mutate data, you need to consume the vector and create a new one: * * ```rust * # use wasmvm::{UnmanagedVector}; diff --git a/libwasmvm/bindings.h b/libwasmvm/bindings.h index 152c8c027..e06ee0285 100644 --- a/libwasmvm/bindings.h +++ b/libwasmvm/bindings.h @@ -163,7 +163,7 @@ typedef struct ByteSliceView { * ``` * * - * If you want to mutate data, you need to comsume the vector and create a new one: + * If you want to mutate data, you need to consume the vector and create a new one: * * ```rust * # use wasmvm::{UnmanagedVector}; diff --git a/libwasmvm/src/memory.rs b/libwasmvm/src/memory.rs index b2e15ba64..9483ec37b 100644 --- a/libwasmvm/src/memory.rs +++ b/libwasmvm/src/memory.rs @@ -180,7 +180,7 @@ impl U8SliceView { /// ``` /// /// -/// If you want to mutate data, you need to comsume the vector and create a new one: +/// If you want to mutate data, you need to consume the vector and create a new one: /// /// ```rust /// # use wasmvm::{UnmanagedVector}; diff --git a/types/env.go b/types/env.go index b175ab1e6..37a19ea38 100644 --- a/types/env.go +++ b/types/env.go @@ -4,7 +4,7 @@ package types // Env defines the state of the blockchain environment this contract is // running in. This must contain only trusted data - nothing from the Tx itself -// that has not been verfied (like Signer). +// that has not been verified (like Signer). // // Env are json encoded to a byte slice before passing to the wasm contract. type Env struct { diff --git a/types/submessages.go b/types/submessages.go index b0cb81747..6e781db45 100644 --- a/types/submessages.go +++ b/types/submessages.go @@ -72,7 +72,7 @@ type SubMsg struct { // // On chains running CosmWasm 1.x this field will be ignored. Payload []byte `json:"payload,omitempty"` - // Gas limit measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md). + // GasLimit measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md). // // Setting this to `None` means unlimited. Then the submessage execution can consume all gas of // the current execution context.