Skip to content

Add Go API support to bootstrap node after it was state synced #884

@adizere

Description

@adizere

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, reliablyenhancementNew feature or requestgood first issueGood for newcomershygieneAny work relating to code legibility/hygiene to make it easier to readlight-clientLight client-relatedstate-sync

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions