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§
- Database
Components - 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§
- Database
Component Error - Error type for database component operations. Wraps errors from both state and block hash components.