Add zkevm_getBatchSealTime #1134
Annotations
10 errors and 1 warning
lint:
jsonrpc/server_test.go#L71
cannot use st (variable of type *mocks.StateMock) as "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface value in argument to NewEthEndpoints: *mocks.StateMock does not implement "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
jsonrpc/server_test.go#L85
cannot use st (variable of type *mocks.StateMock) as "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface value in argument to NewZKEVMEndpoints: *mocks.StateMock does not implement "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
jsonrpc/server_test.go#L99
cannot use st (variable of type *mocks.StateMock) as "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface value in argument to NewDebugEndpoints: *mocks.StateMock does not implement "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
jsonrpc/server_test.go#L109
cannot use st (variable of type *mocks.StateMock) as "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface value in argument to NewServer: *mocks.StateMock does not implement "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types".StateInterface (missing method GetLastL2BlockTimeByBatchNumber) (typecheck)
|
lint:
jsonrpc/types/codec_test.go#L161
cannot use s (variable of type *mocks.StateMock) as StateInterface value in argument to testCase.bn.GetNumericBlockNumber: *mocks.StateMock does not implement StateInterface (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
jsonrpc/types/codec_test.go#L284
cannot use s (variable of type *mocks.StateMock) as StateInterface value in argument to testCase.bn.GetNumericBatchNumber: *mocks.StateMock does not implement StateInterface (missing method GetLastL2BlockTimeByBatchNumber) (typecheck)
|
lint:
state/batchV2_test.go#L47
cannot use mockStorage (variable of type *mocks.StorageMock) as "github.com/0xPolygonHermez/zkevm-node/state".storage value in argument to state.NewState: *mocks.StorageMock does not implement "github.com/0xPolygonHermez/zkevm-node/state".storage (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
state/batchV2_test.go#L125
cannot use mockStorage (variable of type *mocks.StorageMock) as "github.com/0xPolygonHermez/zkevm-node/state".storage value in argument to state.NewState: *mocks.StorageMock does not implement "github.com/0xPolygonHermez/zkevm-node/state".storage (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
state/l1infotree_test.go#L85
cannot use mockStorage (variable of type *mocks.StorageMock) as "github.com/0xPolygonHermez/zkevm-node/state".storage value in argument to state.NewState: *mocks.StorageMock does not implement "github.com/0xPolygonHermez/zkevm-node/state".storage (missing method GetLastL2BlockTimeByBatchNumber)
|
lint:
state/l1infotree_test.go#L111
cannot use mockStorage (variable of type *mocks.StorageMock) as "github.com/0xPolygonHermez/zkevm-node/state".storage value in argument to state.NewState: *mocks.StorageMock does not implement "github.com/0xPolygonHermez/zkevm-node/state".storage (missing method GetLastL2BlockTimeByBatchNumber)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|