Skip to content

chore: Substrate message handling refactor #618

chore: Substrate message handling refactor

chore: Substrate message handling refactor #618

Triggered via pull request January 18, 2024 13:21
Status Failure
Total duration 7m 9s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test (1.19.x, ubuntu-latest): 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:
test (1.19.x, ubuntu-latest): example/app/app.go#L148
cannot use client (variable of type *evmclient.EVMClient) as type bridge.ChainClient in argument to bridge.NewBridgeContract:
test (1.19.x, ubuntu-latest): 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:
test (1.19.x, ubuntu-latest): 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:
test (1.19.x, ubuntu-latest): 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:
test (1.19.x, ubuntu-latest): example/app/app.go#L156
undefined: listener
test (1.19.x, ubuntu-latest): example/app/app.go#L166
undefined: listener
test (1.19.x, ubuntu-latest): 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
test (1.19.x, ubuntu-latest): example/app/app.go#L181
undefined: listener
test (1.19.x, ubuntu-latest): example/app/app.go#L182
undefined: listener
test (1.19.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/