Sync node always starts from the catchup

Open
#838 2 comments 0 reactions 1 assignee View on GitHub

A pull request for this has already been merged.

  • #844 by @dmytrotkk — merged
  • #1161 by @dmytrotkk — merged

Assessment

This issue has not been assessed yet.

Description

Describe the bug
Sync node by default downloads the snapshot after init
Also, sync node has an ability to run repair from the snapshot

Versions
node-cli: 2.6.0

Preconditions:
Active chain medium type
Instance with whitelisted IP

To Reproduce

  1. Run skale sync-node init init-env
  2. Check Skaled logs
  3. Run skale sync-node repair
  4. Check Skaled logs

Expected behavior
Skaled should start from the snapshot after 1st and 3rd steps

Actual state
Skaled always starts from the catchup

Dominant language
Python
Stars
21
Forks
7
Avg merge
2d 17h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from skalenetwork/node-cli

All issues in skalenetwork/node-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.