Skip to content

fix: 127. Convert warning to error if L1InfoTreeUpdateV2 doesnt pass sanity check #405

fix: 127. Convert warning to error if L1InfoTreeUpdateV2 doesnt pass sanity check

fix: 127. Convert warning to error if L1InfoTreeUpdateV2 doesnt pass sanity check #405

Triggered via pull request October 8, 2024 09:56
Status Failure
Total duration 1m 51s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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