nspcc-dev / neo-go

Go Node and SDK for the Neo blockchain
MIT License
123 stars 79 forks source link

BlockFetcher/BlockUploader: fix and add additional attributes #3637

Closed AliceInHunterland closed 3 weeks ago

AliceInHunterland commented 3 weeks ago

Close #3631

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.

Project coverage is 83.27%. Comparing base (e82d9a1) to head (c47d4e6). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
cli/util/uploader.go 0.00% 30 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3637 +/- ## ========================================== - Coverage 83.32% 83.27% -0.06% ========================================== Files 334 334 Lines 46446 46464 +18 ========================================== - Hits 38703 38691 -12 - Misses 6165 6205 +40 + Partials 1578 1568 -10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

AnnaShaleva commented 3 weeks ago
2024-10-23T08:34:53.2882722Z failed to load account: open wallet: open ./not-exist.json: no such file or directory
2024-10-23T08:34:53.2883695Z failed to decode container ID: invalid length 3
2024-10-23T08:34:53.2885040Z failed to create RPC client: failed to get network magic: Post "https://test": dial tcp: lookup test on 127.0.0.53:53: server misbehaving
2024-10-23T08:34:53.2887105Z     logger.go:146: 2024-10-23T08:34:47.157Z    DEBUG   processing rpc request  {"method": "getversion", "params": "[]"}
2024-10-23T08:34:53.2889593Z     logger.go:146: 2024-10-23T08:34:47.157Z    DEBUG   processing rpc request  {"method": "getnativecontracts", "params": "[]"}
2024-10-23T08:34:53.2892126Z     logger.go:146: 2024-10-23T08:34:47.242Z    DEBUG   done processing headers {"headerIndex": 2, "blockHeight": 1, "took": "167.934µs"}
2024-10-23T08:34:53.2894727Z     logger.go:146: 2024-10-23T08:34:47.343Z    DEBUG   done processing headers {"headerIndex": 3, "blockHeight": 2, "took": "175.388µs"}
2024-10-23T08:34:53.2896538Z failed to dial NeoFS pool: at least one node must be healthy
2024-10-23T08:34:53.2897437Z     executor.go:239: 
2024-10-23T08:34:53.2898879Z            Error Trace:    /home/runner/work/neo-go/neo-go/internal/testcli/executor.go:239
2024-10-23T08:34:53.2901236Z                                        /home/runner/work/neo-go/neo-go/internal/testcli/executor.go:244
2024-10-23T08:34:53.2903266Z                                        /home/runner/work/neo-go/neo-go/cli/util/util_test.go:212
2024-10-23T08:34:53.2904473Z            Error:          Received unexpected error:
2024-10-23T08:34:53.2905309Z                            EOF
2024-10-23T08:34:53.2905991Z            Test:           TestUploadBin
2024-10-23T08:34:53.2907547Z     logger.go:146: 2024-10-23T08:34:47.380Z    INFO    shutting down RPC server    {"endpoint": "127.0.0.1:40959"}
2024-10-23T08:34:53.2910442Z     logger.go:146: 2024-10-23T08:34:47.380Z    INFO    persisted to disk   {"blocks": 3, "keys": 163, "headerHeight": 3, "blockHeight": 3, "took": "68.588µs"}
2024-10-23T08:34:53.2912386Z --- FAIL: TestUploadBin (0.24s)
2024-10-23T08:34:53.2912861Z FAIL