Skip to content

Make staterootinheader a proper block version 1 #2818

Make staterootinheader a proper block version 1

Make staterootinheader a proper block version 1 #2818

Triggered via pull request September 12, 2025 11:09
Status Failure
Total duration 40m 54s
Artifacts

tests.yml

on: pull_request
Lint: NeoGo  /  Lint
1m 35s
Lint: NeoGo / Lint
Lint: scripts  /  Lint
27s
Lint: scripts / Lint
Lint: interop  /  Lint
16s
Lint: interop / Lint
Check internal dependencies
19s
Check internal dependencies
Check code generated with 'go generate' is up-to-date
1m 10s
Check code generated with 'go generate' is up-to-date
Coverage
7m 1s
Coverage
Matrix: CodeQL
Matrix: lint_examples
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 1 warning
Lint: NeoGo / Lint: pkg/services/blockfetcher/blockfetcher_test.go#L55
cannot use ledger (variable of type *mockLedger) as Ledger value in argument to New: *mockLedger does not implement Ledger (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/network/server_test.go#L1148
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/network/server_test.go#L1122
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/network/server_test.go#L1063
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/network/server_test.go#L872
cannot use &fakechain.FakeStateSync{…} (value of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/network/server_test.go#L816
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Lint: NeoGo / Lint: pkg/network/server_test.go#L216
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Lint: NeoGo / Lint: pkg/network/server_test.go#L64
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/network/helper_test.go#L219
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Lint: NeoGo / Lint: pkg/core/dao/dao_test.go#L442
too many arguments in call to NewSimple
Coverage: pkg/services/blockfetcher/blockfetcher_test.go#L55
cannot use ledger (variable of type *mockLedger) as Ledger value in argument to New: *mockLedger does not implement Ledger (missing method IsHardforkEnabled)
Coverage: pkg/network/server_test.go#L1148
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Coverage: pkg/network/server_test.go#L1122
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Coverage: pkg/network/server_test.go#L1063
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Coverage: pkg/network/server_test.go#L872
cannot use &fakechain.FakeStateSync{…} (value of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Coverage: pkg/network/server_test.go#L816
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Coverage: pkg/network/server_test.go#L216
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Coverage: pkg/network/server_test.go#L64
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Coverage: pkg/network/helper_test.go#L219
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Coverage: pkg/core/dao/dao_test.go#L442
too many arguments in call to NewSimple
Run tests (ubuntu-22.04, 1.23): pkg/services/blockfetcher/blockfetcher_test.go#L55
cannot use ledger (variable of type *mockLedger) as Ledger value in argument to New: *mockLedger does not implement Ledger (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L1148
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L1122
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L1063
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L872
cannot use &fakechain.FakeStateSync{…} (value of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L816
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L216
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (ubuntu-22.04, 1.23): pkg/network/server_test.go#L64
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/network/helper_test.go#L219
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (ubuntu-22.04, 1.23): pkg/core/dao/dao_test.go#L442
too many arguments in call to NewSimple
Run tests (windows-2022, 1.24): pkg/services/blockfetcher/blockfetcher_test.go#L55
cannot use ledger (variable of type *mockLedger) as Ledger value in argument to New: *mockLedger does not implement Ledger (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L1148
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L1122
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L1063
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L872
cannot use &fakechain.FakeStateSync{…} (value of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L816
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L216
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (windows-2022, 1.24): pkg/network/server_test.go#L64
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/network/helper_test.go#L219
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (windows-2022, 1.24): pkg/core/dao/dao_test.go#L442
too many arguments in call to NewSimple
Run tests (macos-14, 1.24): pkg/services/blockfetcher/blockfetcher_test.go#L55
cannot use ledger (variable of type *mockLedger) as Ledger value in argument to New: *mockLedger does not implement Ledger (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L1148
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L1122
cannot use ss (variable of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L1063
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L872
cannot use &fakechain.FakeStateSync{…} (value of type *fakechain.FakeStateSync) as StateSync value in assignment: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L816
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L216
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (macos-14, 1.24): pkg/network/server_test.go#L64
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/network/helper_test.go#L219
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method IsHardforkEnabled)
Run tests (macos-14, 1.24): pkg/core/dao/dao_test.go#L442
too many arguments in call to NewSimple
Lint: interop / Lint
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.