Skip to content

Add update functionality for WASM code id #321

Add update functionality for WASM code id

Add update functionality for WASM code id #321

Triggered via pull request September 24, 2023 20:10
Status Failure
Total duration 1m 30s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: modules/core/02-client/types/events.go#L33
var-naming: var EventTypeUpdateWasmCodeId should be EventTypeUpdateWasmCodeID (revive)
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/light-clients/08-wasm/types/errors.go#L7
var-naming: var ErrInvalidCodeId should be ErrInvalidCodeID (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#L66
var-naming: func NewMsgUpdateWasmCodeId should be NewMsgUpdateWasmCodeID (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/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#L74
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#L89
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateWasmCodeId (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)
lint: modules/light-clients/08-wasm/client/cli/tx.go#L60
var-naming: var codeId should be codeID (revive)