Skip to content

fix: EVM message handling refactor #605

fix: EVM message handling refactor

fix: EVM message handling refactor #605

Triggered via pull request January 5, 2024 10:52
Status Failure
Total duration 1m 39s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
linter-check: app/app.go#L193
cannot use bridgeContract (variable of type *bridge.BridgeContract) as type "github.com/ChainSafe/sygma-relayer/chains/evm/executor".BridgeContract in argument to executor.NewExecutor:
linter-check: app/app.go#L196
cannot use executor (variable of type *"github.com/ChainSafe/sygma-relayer/chains/evm/executor".Executor) as type "github.com/ChainSafe/sygma-relayer/chains/evm".BatchProposalExecutor in argument to evm.NewEVMChain:
linter-check: cli/run.go#L7
could not import github.com/ChainSafe/sygma-relayer/app (-: # github.com/ChainSafe/sygma-relayer/app
linter-check: app/app.go#L193
cannot use bridgeContract (variable of type *bridge.BridgeContract) as type "github.com/ChainSafe/sygma-relayer/chains/evm/executor".BridgeContract in argument to executor.NewExecutor:
linter-check: app/app.go#L196
cannot use executor (variable of type *"github.com/ChainSafe/sygma-relayer/chains/evm/executor".Executor) as type "github.com/ChainSafe/sygma-relayer/chains/evm".BatchProposalExecutor in argument to evm.NewEVMChain:
linter-check: example/app/app.go#L168
cannot use executor.PermissionlessGenericMessageHandler (value of type func(msg *"github.com/ChainSafe/sygma-relayer/chains/evm/executor".TransferMessage) (*"github.com/sygmaprotocol/sygma-core/relayer/proposal".Proposal, error)) as type "github.com/ChainSafe/chainbridge-core/chains/evm/executor".MessageHandlerFunc in argument to mh.RegisterMessageHandler
linter-check: example/app/app.go#L186
cannot use mh (variable of type *"github.com/ChainSafe/chainbridge-core/chains/evm/executor".EVMMessageHandler) as type *"github.com/sygmaprotocol/sygma-core/relayer/message".MessageHandler in argument to executor.NewExecutor
linter-check: example/app/app.go#L186
cannot use bridgeContract (variable of type *bridge.BridgeContract) as type "github.com/ChainSafe/sygma-relayer/chains/evm/executor".BridgeContract in argument to executor.NewExecutor:
linter-check: example/app/app.go#L189
cannot use executor (variable of type *"github.com/ChainSafe/sygma-relayer/chains/evm/executor".Executor) as type "github.com/ChainSafe/sygma-relayer/chains/evm".BatchProposalExecutor in argument to evm.NewEVMChain:
linter-check: example/cmd/cmd.go#L12
could not import github.com/ChainSafe/sygma-relayer/example/app (-: # github.com/ChainSafe/sygma-relayer/example/app
linter-check
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/