Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cli: add upload-state command #3808

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

cli: add upload-state command #3808

wants to merge 3 commits into from

Conversation

AliceInHunterland
Copy link
Contributor

./bin/neo-go util upload-state --cid C425E7TxRHsrRNYjn7BVyWzvJGNyAXz8da4LFdvvej5X -fsr st4.storage.fs.neo.org:8080 -fsr st2.storage.fs.neo.org:8080 -fsr st3.storage.fs.neo.org:8080 -fsr st1.storage.fs.neo.org:8080 --wallet-config ./wallet-config.yml -t

Close #3782

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 12.10526% with 167 lines in your changes missing coverage. Please review.

Project coverage is 82.55%. Comparing base (8d728b4) to head (8c91b56).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
cli/util/upload_state.go 0.00% 156 Missing ⚠️
cli/util/convert.go 57.69% 10 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3808      +/-   ##
==========================================
- Coverage   82.82%   82.55%   -0.27%     
==========================================
  Files         337      339       +2     
  Lines       47351    47599     +248     
==========================================
+ Hits        39219    39297      +78     
- Misses       6522     6688     +166     
- Partials     1610     1614       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Set StateSyncInterval independently to other configuration settings.

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Close #3782

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
@@ -350,7 +350,7 @@ func (b *Billet) GetFromStore(h util.Uint256) (Node, error) {
return nil, r.Err
}

if b.mode.RC() {
if b.mode.RC() && len(data) >= 5 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b.mode.GC() related, fix should be different IIRC. in progress

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store state dump into NeoFS
1 participant