Skip to content

chore: Substrate message handling refactor #617

chore: Substrate message handling refactor

chore: Substrate message handling refactor #617

Triggered via pull request January 18, 2024 12:49
Status Failure
Total duration 1m 40s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
linter-check: app/app.go#L253
cannot use substrateListener (variable of type *"github.com/ChainSafe/sygma-relayer/chains/substrate/listener".SubstrateListener) as type "github.com/sygmaprotocol/sygma-core/chains/substrate".EventListener in argument to coreSubstrate.NewSubstrateChain:
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#L253
cannot use substrateListener (variable of type *"github.com/ChainSafe/sygma-relayer/chains/substrate/listener".SubstrateListener) as type "github.com/sygmaprotocol/sygma-core/chains/substrate".EventListener in argument to coreSubstrate.NewSubstrateChain:
linter-check: example/app/app.go#L148
cannot use client (variable of type *evmclient.EVMClient) as type bridge.ChainClient in argument to bridge.NewBridgeContract:
linter-check: example/app/app.go#L148
cannot use t (variable of type *monitored.MonitoredTransactor) as type "github.com/sygmaprotocol/sygma-core/chains/evm/transactor".Transactor in argument to bridge.NewBridgeContract:
linter-check: example/app/app.go#L150
cannot use bridgeContract (variable of type *bridge.BridgeContract) as type "github.com/ChainSafe/chainbridge-core/chains/evm/listener".HandlerMatcher in argument to coreListener.NewETHDepositHandler:
linter-check: example/app/app.go#L151
cannot use bridgeContract (variable of type *bridge.BridgeContract) as type "github.com/ChainSafe/chainbridge-core/chains/evm/executor".HandlerMatcher in argument to coreExecutor.NewEVMMessageHandler:
linter-check: example/app/app.go#L156
undefined: listener
linter-check: example/app/app.go#L166
undefined: listener
linter-check: example/app/app.go#L167
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
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/