WIP: fix compilation errors #1944
Annotations
10 errors and 2 warnings
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L1
: # github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/eth/filters
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L360
data.ResultBeginBlock undefined (type "github.com/cometbft/cometbft/types".EventDataNewBlockHeader has no field or method ResultBeginBlock)
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L534
cannot use api.logger (variable of type "cosmossdk.io/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in argument to NewBlockFilter: "cosmossdk.io/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L546
cannot use api.logger (variable of type "cosmossdk.io/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in argument to NewRangeFilter: "cosmossdk.io/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L596
cannot use api.logger (variable of type "cosmossdk.io/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in argument to NewBlockFilter: "cosmossdk.io/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L608
cannot use api.logger (variable of type "cosmossdk.io/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in argument to NewRangeFilter: "cosmossdk.io/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
|
lint:
rpc/apis.go#L31
could not import github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/eth/filters (-: # github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/eth/filters
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L360
data.ResultBeginBlock undefined (type "github.com/cometbft/cometbft/types".EventDataNewBlockHeader has no field or method ResultBeginBlock)
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L534
cannot use api.logger (variable of type "cosmossdk.io/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in argument to NewBlockFilter: "cosmossdk.io/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
|
lint:
rpc/namespaces/ethereum/eth/filters/api.go#L546
cannot use api.logger (variable of type "cosmossdk.io/log".Logger) as "github.com/cometbft/cometbft/libs/log".Logger value in argument to NewRangeFilter: "cosmossdk.io/log".Logger does not implement "github.com/cometbft/cometbft/libs/log".Logger (wrong type for method With)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/SecretNetwork/SecretNetwork. Supported file pattern: go.sum
|