Skip to content

[PROTO-2211] Ensure all structs always have all field members present #49

[PROTO-2211] Ensure all structs always have all field members present

[PROTO-2211] Ensure all structs always have all field members present #49

Triggered via pull request August 21, 2024 01:06
Status Failure
Total duration 2m 0s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: x/emissions/keeper/quadruple.go#L62
keeper.Quadruple is missing fields k2, k3, k4 (exhaustruct)
lint: x/emissions/keeper/quadruple.go#L67
keeper.Quadruple is missing fields k3, k4 (exhaustruct)
lint: x/emissions/keeper/quadruple.go#L72
keeper.Quadruple is missing field k4 (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/network_inference_builder.go#L36
inferencesynthesis.NetworkInferenceBuilder is missing fields inferences, forecastImpliedInferences, weights, combinedInference, naiveInference, oneOutInfererInferences, oneOutForecasterInferences, oneInInferences (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/network_inference_builder.go#L396
types.ValueBundle is missing fields ReputerRequestNonce, Reputer, ExtraData, OneOutInfererForecasterValues (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/network_inferences.go#L54
types.ValueBundle is missing fields ReputerRequestNonce, Reputer, ExtraData, CombinedValue, NaiveValue, OneOutInfererValues, OneOutForecasterValues, OneInForecasterValues, OneOutInfererForecasterValues (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/network_inferences.go#L145
types.ValueBundle is missing fields ReputerRequestNonce, Reputer, ExtraData, OneOutInfererForecasterValues (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/network_losses.go#L235
types.ValueBundle is missing fields TopicId, ReputerRequestNonce, Reputer, ExtraData (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/synth_palette_bootstrap.go#L92
inferencesynthesis.SynthPalette is missing field AllInferersAreNew (exhaustruct)
lint: x/emissions/keeper/inference_synthesis/synth_palette_forecast_implied.go#L63
types.Inference is missing fields TopicId, BlockHeight, ExtraData, Proof (exhaustruct)
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2