Skip to content

Debug and trace method in eth client #796

Debug and trace method in eth client

Debug and trace method in eth client #796

Triggered via pull request June 17, 2024 22:48
Status Failure
Total duration 1m 32s
Artifacts

pull-request.yml

on: pull_request
Validate Go code
1m 22s
Validate Go code
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
Validate Go code
cannot use ethClient (variable of type *"github.com/forta-network/forta-core-go/ethereum".streamEthClient) as "github.com/forta-network/forta-core-go/ethereum".Client value in argument to feeds.NewBlockFeed: *"github.com/forta-network/forta-core-go/ethereum".streamEthClient does not implement "github.com/forta-network/forta-core-go/ethereum".Client (wrong type for method DebugTraceCall)
Validate Go code: registry/client.go#L282
cannot use eth (variable of type *"github.com/forta-network/forta-core-go/ethereum".streamEthClient) as type "github.com/forta-network/forta-core-go/ethereum".Client in struct literal:
Validate Go code: registry/listener.go#L583
cannot use ethClient (variable of type *"github.com/forta-network/forta-core-go/ethereum".streamEthClient) as type "github.com/forta-network/forta-core-go/ethereum".Client in argument to NewListenerWithClients:
Validate Go code: registry/client.go#L282
cannot use eth (variable of type *"github.com/forta-network/forta-core-go/ethereum".streamEthClient) as type "github.com/forta-network/forta-core-go/ethereum".Client in struct literal:
Validate Go code: registry/listener.go#L583
cannot use ethClient (variable of type *"github.com/forta-network/forta-core-go/ethereum".streamEthClient) as type "github.com/forta-network/forta-core-go/ethereum".Client in argument to NewListenerWithClients:
Validate Go code
Process completed with exit code 1.
Validate Go code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Validate Go code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@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/