fix: 127. Convert warning to error if L1InfoTreeUpdateV2 doesnt pass sanity check #405
Annotations
6 errors and 1 warning
lint:
synchronizer/synchronizer.go#L16
could not import github.com/0xPolygonHermez/zkevm-synchronizer-l1/synchronizer/internal (-: # github.com/0xPolygonHermez/zkevm-synchronizer-l1/synchronizer/internal
|
lint:
synchronizer/internal/synchronizer_impl.go#L153
cannot use state (variable of type syncinterfaces.StateInterface) as banana.stateVerifyL1InfoTreeInterface value in argument to banana.NewProcessorUpdateL1InfoTreeV2: syncinterfaces.StateInterface does not implement banana.stateVerifyL1InfoTreeInterface (missing method GetLatestL1InfoTreeLeaf)) (typecheck)
|
lint:
synchronizer/internal/synchronizer_impl.go#L153
cannot use state (variable of type syncinterfaces.StateInterface) as banana.stateVerifyL1InfoTreeInterface value in argument to banana.NewProcessorUpdateL1InfoTreeV2: syncinterfaces.StateInterface does not implement banana.stateVerifyL1InfoTreeInterface (missing method GetLatestL1InfoTreeLeaf) (typecheck)
|
lint:
synchronizer/internal/state_tx_reuse_test.go#L8
could not import github.com/0xPolygonHermez/zkevm-synchronizer-l1/synchronizer/internal (-: # github.com/0xPolygonHermez/zkevm-synchronizer-l1/synchronizer/internal [github.com/0xPolygonHermez/zkevm-synchronizer-l1/synchronizer/internal.test]
|
lint:
synchronizer/internal/synchronizer_impl.go#L153
cannot use state (variable of type syncinterfaces.StateInterface) as banana.stateVerifyL1InfoTreeInterface value in argument to banana.NewProcessorUpdateL1InfoTreeV2: syncinterfaces.StateInterface does not implement banana.stateVerifyL1InfoTreeInterface (missing method GetLatestL1InfoTreeLeaf)) (typecheck)
|
lint
Process completed with exit code 2.
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/zkevm-synchronizer-l1/zkevm-synchronizer-l1. Supported file pattern: go.sum
|