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

chore: fix some typos #579

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion internal/api/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion libwasmvm/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion libwasmvm/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion types/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion types/submessages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down