Skip to content

Comments

feat: mdbx tables#218

Merged
dhyaniarun1993 merged 13 commits intounstablefrom
feat/mdbx-tables
Oct 14, 2025
Merged

feat: mdbx tables#218
dhyaniarun1993 merged 13 commits intounstablefrom
feat/mdbx-tables

Conversation

@dhyaniarun1993
Copy link
Collaborator

Closes #209

@dhyaniarun1993 dhyaniarun1993 self-assigned this Oct 13, 2025
@dhyaniarun1993 dhyaniarun1993 added K-feature Kind: feature A-db Area: database W-historical-proofs Workstream: historical-proofs labels Oct 13, 2025
@wiz-b4c72f16a4
Copy link

wiz-b4c72f16a4 bot commented Oct 13, 2025

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@dhyaniarun1993 dhyaniarun1993 marked this pull request as ready for review October 13, 2025 14:10
Copilot AI review requested due to automatic review settings October 13, 2025 14:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces MDBX storage support for external proofs by implementing new database models and reorganizing the storage module structure.

  • Adds comprehensive MDBX table definitions for versioned trie data storage
  • Creates new models for storage keys, versioning, and database compression/decompression
  • Reorganizes storage module structure to separate in-memory and MDBX implementations

Reviewed Changes

Copilot reviewed 12 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
crates/exex/external-proofs/src/storage/mod.rs Creates new storage module structure with trait exports and submodule declarations
crates/exex/external-proofs/src/storage/mdbx/models/version.rs Implements version wrappers for optional values and versioned storage with compression support
crates/exex/external-proofs/src/storage/mdbx/models/storage.rs Defines composite keys for storage trie indexing and proof window tracking
crates/exex/external-proofs/src/storage/mdbx/models/mod.rs Declares MDBX table schemas for historical trie and account data storage
crates/exex/external-proofs/src/storage/mdbx/models/block.rs Implements block number and hash wrapper with database serialization
crates/exex/external-proofs/src/storage/mdbx/mod.rs Creates MDBX module entry point with model exports
crates/exex/external-proofs/src/storage/in_memory/store_tests.rs Updates import path to use reorganized storage module
crates/exex/external-proofs/src/storage/in_memory/store.rs Updates import paths and removes duplicated documentation
crates/exex/external-proofs/src/storage/in_memory/mod.rs Creates in-memory storage module with proper documentation
crates/exex/external-proofs/src/lib.rs Updates imports to use new storage module structure
crates/exex/external-proofs/src/backfill.rs Updates import paths for reorganized storage
crates/exex/external-proofs/Cargo.toml Adds bytes crate dependency for buffer operations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@meyer9 meyer9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@dhyaniarun1993 dhyaniarun1993 merged commit c8bb53f into unstable Oct 14, 2025
40 checks passed
@dhyaniarun1993 dhyaniarun1993 deleted the feat/mdbx-tables branch October 14, 2025 10:07
emhane pushed a commit that referenced this pull request Oct 20, 2025
meyer9 pushed a commit that referenced this pull request Oct 31, 2025
emhane pushed a commit that referenced this pull request Nov 11, 2025
meyer9 pushed a commit that referenced this pull request Nov 13, 2025
emhane pushed a commit that referenced this pull request Nov 18, 2025
emhane pushed a commit that referenced this pull request Nov 25, 2025
emhane pushed a commit that referenced this pull request Dec 8, 2025
emhane pushed a commit that referenced this pull request Dec 10, 2025
emhane pushed a commit that referenced this pull request Dec 18, 2025
emhane pushed a commit that referenced this pull request Dec 18, 2025
emhane pushed a commit that referenced this pull request Jan 5, 2026
emhane pushed a commit that referenced this pull request Jan 13, 2026
emhane pushed a commit that referenced this pull request Jan 15, 2026
emhane pushed a commit that referenced this pull request Jan 20, 2026
emhane pushed a commit that referenced this pull request Jan 26, 2026
emhane pushed a commit that referenced this pull request Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-db Area: database K-feature Kind: feature W-historical-proofs Workstream: historical-proofs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MDBX] Implement MDBX schema for historical proof storage

3 participants