[sdk50] Lint the go relayer like IBC-go #4
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
|