Skip to content

Add update functionality for WASM code id #320

Add update functionality for WASM code id

Add update functionality for WASM code id #320

Triggered via pull request September 23, 2023 20:48
Status Failure
Total duration 5m 15s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 warnings
lint: modules/light-clients/08-wasm/types/msgs.go#L10
File is not `gofumpt`-ed (gofumpt)
lint: modules/light-clients/08-wasm/types/msgs.go#L13
File is not `gofumpt`-ed (gofumpt)
lint: modules/light-clients/08-wasm/types/update.go#L68
File is not `gofumpt`-ed (gofumpt)
lint: modules/core/02-client/client/utils/utils.go#L4
File is not `gofumpt`-ed (gofumpt)
lint: modules/light-clients/08-wasm/client/cli/tx.go#L61
File is not `gofumpt`-ed (gofumpt)
lint: modules/light-clients/08-wasm/keeper/keeper.go#L9
File is not `gofumpt`-ed (gofumpt)
lint: modules/light-clients/08-wasm/keeper/keeper.go#L12
File is not `gofumpt`-ed (gofumpt)
lint: modules/light-clients/08-wasm/keeper/msg_server.go#L5
File is not `gofumpt`-ed (gofumpt)
lint
issues found
lint: modules/core/02-client/types/events.go#L33
var-naming: var EventTypeUpdateWasmCodeId should be EventTypeUpdateWasmCodeID (revive)
lint: modules/light-clients/08-wasm/types/errors.go#L7
var-naming: var ErrInvalidCodeId should be ErrInvalidCodeID (revive)
lint: modules/light-clients/08-wasm/types/msgs.go#L33
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgPushNewWasmCode (revive)
lint: modules/light-clients/08-wasm/types/client_state.go#L94
receiver-naming: receiver name c should be consistent with previous receiver name cs for ClientState (revive)
lint: modules/light-clients/08-wasm/types/msgs.go#L43
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgPushNewWasmCode (revive)
lint: modules/light-clients/08-wasm/types/msgs.go#L76
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateWasmCodeId (revive)
lint: modules/light-clients/08-wasm/types/msgs.go#L91
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateWasmCodeId (revive)
lint: modules/light-clients/08-wasm/types/msgs.go#L68
var-naming: func NewMsgUpdateWasmCodeId should be NewMsgUpdateWasmCodeID (revive)
lint: modules/light-clients/08-wasm/client/cli/tx.go#L48
var-naming: func newUpdateWasmCodeId should be newUpdateWasmCodeID (revive)
lint: modules/light-clients/08-wasm/client/cli/tx.go#L59
var-naming: var clientId should be clientID (revive)