Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Be able to catchup from 0 block #1450

Closed
DmytroNazarenko opened this issue Mar 2, 2023 · 4 comments · Fixed by #1528 or #1541
Closed

Be able to catchup from 0 block #1450

DmytroNazarenko opened this issue Mar 2, 2023 · 4 comments · Fixed by #1528 or #1541
Assignees

Comments

@DmytroNazarenko
Copy link
Collaborator

DmytroNazarenko commented Mar 2, 2023

What?
We need to catchup 0 block in the process of catchup. Currently we run catchup from 1st block and for 0 block we are using genesis from config

Why?
To be able to catchup genesis block from another node and do not be dependent from predeployeds in the config. These can help us to avoid STATE_ROOT because of different genesis block

Who?
This feature will help engineering team and archive node maintainers. It will help to simplify maintaining and deployment process of the archive node

@DmytroNazarenko
Copy link
Collaborator Author

DmytroNazarenko commented Apr 27, 2023

For v2.1 and previous chains (for those who are already on mainnet chains before 2.2 release):

  • Precalculate genesis blocks (1st group and predeployeds)
  • Store precalculated genesis in skale-admin

@olehnikolaiev olehnikolaiev moved this from Ready For Pickup to In Progress in SKALE Engineering 🚀 May 3, 2023
@olehnikolaiev olehnikolaiev linked a pull request May 4, 2023 that will close this issue
@olehnikolaiev olehnikolaiev moved this from In Progress to Code Review in SKALE Engineering 🚀 May 4, 2023
@olehnikolaiev olehnikolaiev linked a pull request May 17, 2023 that will close this issue
@olehnikolaiev olehnikolaiev moved this from Code Review to Ready For Release Candidate in SKALE Engineering 🚀 May 22, 2023
@olehnikolaiev olehnikolaiev moved this from Ready For Release Candidate to In Progress in SKALE Engineering 🚀 Jun 13, 2023
@olehnikolaiev olehnikolaiev linked a pull request Jun 13, 2023 that will close this issue
@olehnikolaiev olehnikolaiev moved this from In Progress to Code Review in SKALE Engineering 🚀 Jun 14, 2023
@olehnikolaiev olehnikolaiev moved this from Code Review to Ready For Release Candidate in SKALE Engineering 🚀 Jun 14, 2023
@DmytroNazarenko
Copy link
Collaborator Author

skaled: 3.17.0-beta.1
skale-node: beta-sync-node

@DmytroNazarenko DmytroNazarenko moved this from Ready For Release Candidate to Merged To Release Candidate in SKALE Engineering 🚀 Jun 21, 2023
@EvgeniyZZ EvgeniyZZ moved this from Merged To Release Candidate to QA in SKALE Engineering 🚀 Jun 21, 2023
@oleksandrSydorenkoJ
Copy link

Closed as implemented in
skalenetwork/skale-admin#944
#1612

@EvgeniyZZ EvgeniyZZ moved this from QA to Done in SKALE Engineering 🚀 Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment