Skip to content

[sdk50] Lint the go relayer like IBC-go #4

[sdk50] Lint the go relayer like IBC-go

[sdk50] Lint the go relayer like IBC-go #4

Triggered via pull request August 30, 2023 18:56
Status Failure
Total duration 1m 53s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
lint: relayer/chains/cosmos/event_parser.go#L266
SA1019: chantypes.AttributeKeyData is deprecated: in favor of AttributeKeyDataHex (staticcheck)
lint: relayer/chains/cosmos/tx.go#L254
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
lint
issues found