-
Notifications
You must be signed in to change notification settings - Fork 683
Closed
Labels
P:tech-debtPriority: Technical debt that needs to be paid off to enable us to move faster, reliablyPriority: Technical debt that needs to be paid off to enable us to move faster, reliablyenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershygieneAny work relating to code legibility/hygiene to make it easier to readAny work relating to code legibility/hygiene to make it easier to readlight-clientLight client-relatedLight client-relatedstate-sync
Milestone
Description
Feature Request
Context
The SDK recently added support to allow node operators to restore app state from a local snapshot (and additionally manipulate app snapshots). For a more thorough context, see section "Application-implemented local state sync" from ADR 104 in #801.
As part of this work, the bootstrap-state
command in the SDK handles the bootstrapping of a fresh comet-based node.
Problem
This SDK bootstrap-state
command comprises initializing the block store and state store, as well as light client verification. All of these steps rely on internal interfaces of CometBFT.
Proposal
Ideally, the SDK should be provided with a simpler and direct API from Comet that handles this bootstrapping functionality. We should add a public Go API method for this purpose.
Metadata
Metadata
Assignees
Labels
P:tech-debtPriority: Technical debt that needs to be paid off to enable us to move faster, reliablyPriority: Technical debt that needs to be paid off to enable us to move faster, reliablyenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershygieneAny work relating to code legibility/hygiene to make it easier to readAny work relating to code legibility/hygiene to make it easier to readlight-clientLight client-relatedLight client-relatedstate-sync