Skip to content

chore: Substrate event and deposit handlers refactor #624

chore: Substrate event and deposit handlers refactor

chore: Substrate event and deposit handlers refactor #624

Triggered via pull request February 13, 2024 12:57
Status Failure
Total duration 1m 49s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
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: example/app/app.go#L181
undefined: listener
linter-check: example/app/app.go#L182
undefined: listener
linter-check: example/app/app.go#L183
undefined: listener
linter-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/