fix: EVM event and deposit handlers refactor #607
Annotations
10 errors and 1 warning
Run linter:
chains/substrate/pallet/pallet.go#L62
cannot use proposals (variable of type []*chains.Proposal) as type []*proposal.Proposal in argument to chains.ProposalsHash (typecheck)
|
Run linter:
app/app.go#L37
could not import github.com/ChainSafe/sygma-relayer/chains/substrate/pallet (-: # github.com/ChainSafe/sygma-relayer/chains/substrate/pallet
|
Run linter:
chains/substrate/pallet/pallet.go#L62
cannot use proposals (variable of type []*chains.Proposal) as type []*proposal.Proposal in argument to chains.ProposalsHash) (typecheck)
|
Run linter:
app/app.go#L197
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)
|
Run linter:
example/app/app.go#L44
could not import github.com/ChainSafe/sygma-relayer/chains/substrate/pallet (-: # github.com/ChainSafe/sygma-relayer/chains/substrate/pallet
|
Run linter:
chains/substrate/pallet/pallet.go#L62
cannot use proposals (variable of type []*chains.Proposal) as type []*proposal.Proposal in argument to chains.ProposalsHash) (typecheck)
|
Run linter:
example/app/app.go#L149
cannot use client (variable of type *evmclient.EVMClient) as bridge.ChainClient value in argument to bridge.NewBridgeContract: *evmclient.EVMClient does not implement bridge.ChainClient (wrong type for method SignAndSendTransaction)
|
Run linter:
example/app/app.go#L151
cannot use bridgeContract (variable of type *bridge.BridgeContract) as "github.com/ChainSafe/chainbridge-core/chains/evm/listener".HandlerMatcher value in argument to coreListener.NewETHDepositHandler: *bridge.BridgeContract does not implement "github.com/ChainSafe/chainbridge-core/chains/evm/listener".HandlerMatcher (wrong type for method GetHandlerAddressForResourceID)
|
Run linter:
example/app/app.go#L152
cannot use bridgeContract (variable of type *bridge.BridgeContract) as "github.com/ChainSafe/chainbridge-core/chains/evm/executor".HandlerMatcher value in argument to coreExecutor.NewEVMMessageHandler: *bridge.BridgeContract does not implement "github.com/ChainSafe/chainbridge-core/chains/evm/executor".HandlerMatcher (wrong type for method GetHandlerAddressForResourceID)
|
Run linter:
example/app/app.go#L168
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 "github.com/ChainSafe/chainbridge-core/chains/evm/executor".MessageHandlerFunc value in argument to mh.RegisterMessageHandler (typecheck)
|
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/
|
The logs for this run have expired and are no longer available.
Loading