Skip to content

fix: EVM event and deposit handlers refactor #612

fix: EVM event and deposit handlers refactor

fix: EVM event and deposit handlers refactor #612

Triggered via pull request January 16, 2024 12:34
Status Failure
Total duration 1m 29s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
linter-check: chains/substrate/executor/message-handler.go#L85
cannot use chains.NewProposal(m.Source, m.Destination, m.DepositNonce, m.ResourceId, data, m.Metadata) (value of type *proposal.Proposal) as type *chains.Proposal in return statement
linter-check: chains/substrate/executor/message-handler.go#L85
too many arguments in call to chains.NewProposal
linter-check: chains/substrate/pallet/pallet.go#L62
cannot use proposals (variable of type []*chains.Proposal) as type []*chains.TransferProposal in argument to chains.ProposalsHash (typecheck)
linter-check: app/app.go#L35
could not import github.com/ChainSafe/sygma-relayer/chains/substrate/executor (-: # github.com/ChainSafe/sygma-relayer/chains/substrate/executor
linter-check: chains/substrate/executor/message-handler.go#L85
cannot use chains.NewProposal(m.Source, m.Destination, m.DepositNonce, m.ResourceId, data, m.Metadata) (value of type *proposal.Proposal) as type *chains.Proposal in return statement
linter-check: chains/substrate/executor/message-handler.go#L85
too many arguments in call to chains.NewProposal
linter-check: app/app.go#L37
could not import github.com/ChainSafe/sygma-relayer/chains/substrate/pallet (-: # github.com/ChainSafe/sygma-relayer/chains/substrate/pallet
linter-check: chains/substrate/pallet/pallet.go#L62
cannot use proposals (variable of type []*chains.Proposal) as type []*chains.TransferProposal in argument to chains.ProposalsHash) (typecheck)
linter-check: app/app.go#L215
cannot use client (variable of type *"github.com/sygmaprotocol/sygma-core/chains/evm/client".EVMClient) as *evmclient.EVMClient value in argument to evm.NewEVMChain (typecheck)
linter-check: example/app/app.go#L42
could not import github.com/ChainSafe/sygma-relayer/chains/substrate/executor (-: # github.com/ChainSafe/sygma-relayer/chains/substrate/executor
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/