Skip to content

Update the OffchainConfig with a LogProviderConfig struct #1459

Update the OffchainConfig with a LogProviderConfig struct

Update the OffchainConfig with a LogProviderConfig struct #1459

Triggered via pull request March 27, 2024 00:39
Status Failure
Total duration 2m 2s
Artifacts 2

go.yml

on: pull_request
Matrix: simulation
fuzz-test
31s
fuzz-test
SonarQube
43s
SonarQube
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 9 warnings
lint: tools/simulator/simulate/ocr/transmit.go#L10
could not import github.com/smartcontractkit/chainlink-automation/pkg/v3/plugin (-: # github.com/smartcontractkit/chainlink-automation/pkg/v3/plugin
lint: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
lint: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
lint: tools/simulator/simulate/hydrator.go#L6
could not import github.com/smartcontractkit/chainlink-automation/pkg/v3/plugin (-: # github.com/smartcontractkit/chainlink-automation/pkg/v3/plugin
lint: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
lint: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
lint: tools/simulator/node/add.go#L15
could not import github.com/smartcontractkit/chainlink-automation/pkg/v3/plugin (-: # github.com/smartcontractkit/chainlink-automation/pkg/v3/plugin
lint: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
lint: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
lint: pkg/v2/coordinator/mocks/encoder.generated.go#L6
could not import github.com/smartcontractkit/chainlink-automation/pkg/v2 (-: # github.com/smartcontractkit/chainlink-automation/pkg/v2
lint
cannot use factory (variable of type *pluginFactory) as &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory value in return statement: *pluginFactory does not implement &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory (wrong type for method NewReportingPlugin)&#xA;&#x9;&#x9;have NewReportingPlugin(&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error)&#xA;&#x9;&#x9;want NewReportingPlugin(context.Context, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error)" severity="error" source="typecheck"></error>
lint
cannot use factory (variable of type *pluginFactory) as &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory value in return statement: *pluginFactory does not implement &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory (wrong type for method NewReportingPlugin)&#xA;&#x9;&#x9;have NewReportingPlugin(&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error)&#xA;&#x9;&#x9;want NewReportingPlugin(context.Context, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error))" severity="error" source="typecheck"></error>
lint
cannot use factory (variable of type *pluginFactory) as &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory value in return statement: *pluginFactory does not implement &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory (wrong type for method NewReportingPlugin)&#xA;&#x9;&#x9;have NewReportingPlugin(&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error)&#xA;&#x9;&#x9;want NewReportingPlugin(context.Context, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error))" severity="error" source="typecheck"></error>
lint
cannot use factory (variable of type *pluginFactory) as &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory value in return statement: *pluginFactory does not implement &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory (wrong type for method NewReportingPlugin)&#xA;&#x9;&#x9;have NewReportingPlugin(&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error)&#xA;&#x9;&#x9;want NewReportingPlugin(context.Context, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error))" severity="error" source="typecheck"></error>
lint
cannot use factory (variable of type *pluginFactory) as &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory value in return statement: *pluginFactory does not implement &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginFactory (wrong type for method NewReportingPlugin)&#xA;&#x9;&#x9;have NewReportingPlugin(&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error)&#xA;&#x9;&#x9;want NewReportingPlugin(context.Context, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginConfig) (&#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPlugin, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.ReportingPluginInfo, error))" severity="error" source="typecheck"></error>
lint
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)&#xA;&#x9;&#x9;have ObservationQuorum(ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error)&#xA;&#x9;&#x9;want ObservationQuorum(context.Context, ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error)" severity="error" source="typecheck"></error>
lint
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)&#xA;&#x9;&#x9;have ObservationQuorum(ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error)&#xA;&#x9;&#x9;want ObservationQuorum(context.Context, ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error))" severity="error" source="typecheck"></error>
lint
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)&#xA;&#x9;&#x9;have ObservationQuorum(ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error)&#xA;&#x9;&#x9;want ObservationQuorum(context.Context, ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error))" severity="error" source="typecheck"></error>
lint
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)&#xA;&#x9;&#x9;have ObservationQuorum(ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error)&#xA;&#x9;&#x9;want ObservationQuorum(context.Context, ocr3types.OutcomeContext, &#34;github.com/smartcontractkit/libocr/offchainreporting2plus/types&#34;.Query) (ocr3types.Quorum, error))" severity="error" source="typecheck"></error>
Upkeep Simulation simplan_fast_check: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
Upkeep Simulation simplan_fast_check: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
Upkeep Simulation simplan_fast_check
Process completed with exit code 2.
fuzz-test: pkg/v2/factory.go#L45
cannot use factory (variable of type *pluginFactory) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ReportingPluginFactory value in return statement: *pluginFactory does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ReportingPluginFactory (wrong type for method NewReportingPlugin)
fuzz-test
Process completed with exit code 1.
Upkeep Simulation only_log_trigger: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
Upkeep Simulation only_log_trigger: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
Upkeep Simulation only_log_trigger
Process completed with exit code 2.
unit-test: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
unit-test: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
unit-test: pkg/v2/factory.go#L45
cannot use factory (variable of type *pluginFactory) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ReportingPluginFactory value in return statement: *pluginFactory does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ReportingPluginFactory (wrong type for method NewReportingPlugin)
unit-test
Process completed with exit code 1.
race-test: pkg/v3/plugin/factory.go#L49
cannot use &pluginFactory{…} (value of type *pluginFactory) as ocr3types.ReportingPluginFactory[AutomationReportInfo] value in return statement: *pluginFactory does not implement ocr3types.ReportingPluginFactory[AutomationReportInfo] (wrong type for method NewReportingPlugin)
race-test: pkg/v3/plugin/plugin.go#L136
cannot use plugin (variable of type *ocr3Plugin) as ocr3types.ReportingPlugin[AutomationReportInfo] value in return statement: *ocr3Plugin does not implement ocr3types.ReportingPlugin[AutomationReportInfo] (wrong type for method ObservationQuorum)
race-test: pkg/v2/factory.go#L45
cannot use factory (variable of type *pluginFactory) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ReportingPluginFactory value in return statement: *pluginFactory does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ReportingPluginFactory (wrong type for method NewReportingPlugin)
race-test
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc, actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Upkeep Simulation simplan_fast_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Upkeep Simulation simplan_fast_check
No files were found with the provided path: ./simplan_fast_check.tar.gz. No artifacts will be uploaded.
fuzz-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Upkeep Simulation only_log_trigger
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Upkeep Simulation only_log_trigger
No files were found with the provided path: ./only_log_trigger.tar.gz. No artifacts will be uploaded.
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
race-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
SonarQube
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
go-test-results Expired
645 KB
golangci-lint-report Expired
12.9 KB