Skip to content

Add synthetic ledger generation and ingestion test using stellar-core apply-load#713

Draft
cjonas9 wants to merge 13 commits into
load-testingfrom
generate-ledgers
Draft

Add synthetic ledger generation and ingestion test using stellar-core apply-load#713
cjonas9 wants to merge 13 commits into
load-testingfrom
generate-ledgers

Conversation

@cjonas9

@cjonas9 cjonas9 commented May 4, 2026

Copy link
Copy Markdown
Contributor

What

  • Adds generate_ledgers_test.go, which contains:
    • a test adapted from Horizon enabling the generation of N synthetic ledgers and fixtures using stellar-core's apply-load command.
    • a test that snapshots a DB's oldest N ledgers, ingests the ledgers from the former test, trims them from the front of the DB, and then ingests the oldest ledgers from the snapshot, restoring it to its pre-test state.

Why

Resolves #711 and will be used to evaluate/load test stellar-rpc's ingestion pipeline.

Known limitations

N/A

@cjonas9 cjonas9 requested a review from a team May 4, 2026 22:01
@socket-security

socket-security Bot commented May 7, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgolang/​github.com/​stellar/​go-stellar-sdk@​v0.5.1-0.20260506155819-2cb812f7648475100100100100
Updatedgolang/​github.com/​stretchr/​testify@​v1.9.0 ⏵ v1.10.096 +1100100100100
Updatedgolang/​golang.org/​x/​mod@​v0.17.0 ⏵ v0.29.096 +1100100100100

View full report

@cjonas9 cjonas9 changed the title Add synthetic ledger generation test using stellar-core apply-load Add synthetic ledger generation and ingestion test using stellar-core apply-load May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant