Skip to content

Remove unnecessary function #10218

Remove unnecessary function

Remove unnecessary function #10218

Triggered via push December 13, 2024 22:36
Status Failure
Total duration 3m 38s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: pkg/types/encoding/time.go#L27
method MarshalJSON(e *json.Encoder, v *time.Time) error should have signature MarshalJSON() ([]byte, error)
Lint: pkg/types/encoding/time.go#L28
method UnmarshalJSON(d *json.Decoder, v *time.Time) error should have signature UnmarshalJSON([]byte) error
Lint: cmd/accumulated/run/encoding.go#L26
method MarshalJSON(e *json.Encoder, v *multiaddr.Multiaddr) error should have signature MarshalJSON() ([]byte, error)
Lint: cmd/accumulated/run/encoding.go#L28
method UnmarshalJSON(d *json.Decoder, v *multiaddr.Multiaddr) error should have signature UnmarshalJSON([]byte) error
Lint: cmd/accumulated/run/encoding.go#L48
method MarshalJSON(e *json.Encoder, v *peer.ID) error should have signature MarshalJSON() ([]byte, error)
Lint: cmd/accumulated/run/encoding.go#L49
method UnmarshalJSON(d *json.Decoder, v *peer.ID) error should have signature UnmarshalJSON([]byte) error
Lint: test/simulator/consensus/types_gen.go#L92
struct field p has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L99
struct field result has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L100
struct field env has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L114
struct field results has json tag but is not exported
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636