Skip to content

fix: EVM event and deposit handlers refactor #616

fix: EVM event and deposit handlers refactor

fix: EVM event and deposit handlers refactor #616

Triggered via pull request January 18, 2024 11:20
Status Failure
Total duration 1m 42s
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#L217
cannot use chain (variable of type *"github.com/sygmaprotocol/sygma-core/chains/evm".EVMChain) as "github.com/ChainSafe/chainbridge-core/relayer".RelayedChain value in argument to append: *"github.com/sygmaprotocol/sygma-core/chains/evm".EVMChain does not implement "github.com/ChainSafe/chainbridge-core/relayer".RelayedChain (wrong type for method PollEvents)
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/