JS SDK fix #10211
Annotations
10 errors and 2 warnings
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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|