Crate example_database_components

Source
Expand description

Database component example. Database that is split on State and BlockHash traits.

Re-exports§

pub use block_hash::BlockHash;
pub use block_hash::BlockHashRef;
pub use state::State;
pub use state::StateRef;

Modules§

block_hash
BlockHash database component from [revm::Database]
state
State database component from [crate::Database]

Structs§

DatabaseComponents
A database implementation that separates state and block hash components. This allows for modular database design where state and block hash functionality can be implemented independently.

Enums§

DatabaseComponentError
Error type for database component operations. Wraps errors from both state and block hash components.