Skip to content

feat: use a single shared parity-db instance for all chain data#1278

Draft
ozgb wants to merge 2 commits intomainfrom
ozgb-one-parity-db-instance
Draft

feat: use a single shared parity-db instance for all chain data#1278
ozgb wants to merge 2 commits intomainfrom
ozgb-one-parity-db-instance

Conversation

@ozgb
Copy link
Copy Markdown
Contributor

@ozgb ozgb commented Apr 9, 2026

Overview

Uses the Custom database type to initialize a shared instance of ParityDb with custom config.

Alternative to #1273 to allow for GC implementation plus column compression

Requires an update to midnight-ledger: midnightntwrk/midnight-ledger#321

This is a breaking node binary update - it will require updated nodes to re-sync from genesis.

Resolves: https://github.com/midnightntwrk/midnight-security/issues/66

🗹 TODO before merging

📌 Submission Checklist

  • Changes are backward-compatible (or flagged if breaking)
  • Pull request description explains why the change is needed
  • Self-reviewed the diff
  • I have included a change file, or skipped for this reason:
  • If the changes introduce a new feature, I have bumped the node minor version
  • Update documentation (if relevant)
  • Updated AGENTS.md if build commands, architecture, or workflows changed
  • No new todos introduced

🧪 Testing Evidence

Please describe any additional testing aside from CI:

  • Additional tests are provided (if possible)

🔱 Fork Strategy

  • Node Runtime Update
  • Node Client Update
  • Other:
  • N/A

Links

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