diff --git a/x/wasm/ioutils/utils.go b/x/wasm/ioutils/utils.go index 9c9cd380e8..8716fe43ba 100644 --- a/x/wasm/ioutils/utils.go +++ b/x/wasm/ioutils/utils.go @@ -17,7 +17,7 @@ var ( wasmIdent = []byte("\x00\x61\x73\x6D") ) -// IsGzip returns checks if the file contents are gzip compressed +// IsGzip checks if the file contents are gzip compressed func IsGzip(input []byte) bool { return len(input) >= 3 && bytes.Equal(gzipIdent, input[0:3]) } diff --git a/x/wasm/keeper/events.go b/x/wasm/keeper/events.go index d35cadcf5b..8141a54e0d 100644 --- a/x/wasm/keeper/events.go +++ b/x/wasm/keeper/events.go @@ -13,7 +13,7 @@ import ( "github.com/CosmWasm/wasmd/x/wasm/types" ) -// newWasmModuleEvent creates with wasm module event for interacting with the given contract. Adds custom attributes +// newWasmModuleEvent creates a wasm module event for interacting with the given contract. Adds custom attributes // to this event. func newWasmModuleEvent(customAttributes []wasmvmtypes.EventAttribute, contractAddr sdk.AccAddress) (sdk.Events, error) { attrs, err := contractSDKEventAttributes(customAttributes, contractAddr)