Skip to content

feat: make database module public in validator-core#91

Merged
yilongli merged 2 commits intomegaeth-labs:mainfrom
jonathanykh:pub-database-module
Feb 15, 2026
Merged

feat: make database module public in validator-core#91
yilongli merged 2 commits intomegaeth-labs:mainfrom
jonathanykh:pub-database-module

Conversation

@jonathanykh
Copy link
Contributor

@jonathanykh jonathanykh commented Feb 14, 2026

Summary

Make the database module in validator-core public so downstream crates can use WitnessDatabase and WitnessExternalEnv directly for witness-backed EVM re-execution with their own executor (e.g., indexers, tracing services).

Changes

  • crates/validator-core/src/lib.rs line 26: mod databasepub mod database
  • crates/validator-core/src/lib.rs line 27: add pub use database::{WitnessDatabase, WitnessDatabaseError, WitnessExternalEnv};

Expose `WitnessDatabase`, `WitnessExternalEnv`, and `WitnessDatabaseError`
for downstream crates that need witness-backed EVM re-execution with their
own executor (e.g., indexers, tracing services).
@yilongli yilongli merged commit c11127e into megaeth-labs:main Feb 15, 2026
8 of 14 checks passed
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.

2 participants

Comments