Skip to content

feat: improve node startup time#1700

Merged
drahnr merged 4 commits intonextfrom
bernhard-improve-node-startup-time-1697
Feb 25, 2026
Merged

feat: improve node startup time#1700
drahnr merged 4 commits intonextfrom
bernhard-improve-node-startup-time-1697

Conversation

@drahnr
Copy link
Contributor

@drahnr drahnr commented Feb 23, 2026

Ref #1697

Motivation

The node startup is still rather long, partially because we load more data than actually required.

Changes

  1. avoid loading the full BlockHeader and instead adds a column commitment ( crates/store/src/db/models/queries/block_headers.rs and crates/store/src/db/schema.rs )
  2. adds BlockHeaderCommitment wrapper type, it's a start for avoiding more Word-type(les)s

Caveat

Folds all migrations into the initial one, since it cannot work with the current migration pattern and the changes 'd be too large for this PR, see #1704 for further discussions on that.

@drahnr drahnr added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Feb 23, 2026
@Mirko-von-Leipzig Mirko-von-Leipzig self-requested a review February 24, 2026 13:08
@drahnr drahnr force-pushed the bernhard-improve-node-startup-time-1697 branch from 5d06459 to 3b1319f Compare February 24, 2026 15:03
@drahnr drahnr force-pushed the bernhard-improve-node-startup-time-1697 branch from 3b1319f to 831d2af Compare February 24, 2026 15:55
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
@drahnr drahnr merged commit 893bcf8 into next Feb 25, 2026
18 of 19 checks passed
@drahnr drahnr deleted the bernhard-improve-node-startup-time-1697 branch February 25, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants