Skip to main content

reth_trie_common/bundle_state/
mod.rs

1//! Block execution changes with the reverts needed to persist and unwind them.
2//!
3//! Ported from the `revm-database` crate of revm (<https://github.com/bluealloy/revm>),
4//! Copyright (c) 2021-2026 draganrakita, licensed under the MIT License (see `LICENSES/MIT.txt`).
5//! The code is kept close to upstream, so upstream style is allowed below.
6
7#![allow(
8    clippy::collapsible_if,
9    clippy::doc_markdown,
10    clippy::explicit_into_iter_loop,
11    clippy::explicit_iter_loop,
12    clippy::if_not_else,
13    clippy::match_same_arms,
14    clippy::module_inception,
15    clippy::redundant_clone,
16    clippy::redundant_else,
17    clippy::use_self
18)]
19
20mod account_status;
21pub use account_status::AccountStatus;
22
23mod bundle_account;
24pub use bundle_account::BundleAccount;
25
26mod bundle_state;
27pub use bundle_state::{BundleBuilder, BundleRetention, BundleState, OriginalValuesKnown};
28
29mod changes;
30pub use changes::{
31    PlainStateReverts, PlainStorageChangeset, PlainStorageRevert, StateChangeset, StorageRevert,
32};
33
34mod plain_account;
35pub use plain_account::{PlainAccount, PlainStorage, StorageSlot, StorageWithOriginalValues};
36
37mod reverts;
38pub use reverts::{AccountInfoRevert, AccountRevert, RevertToSlot, Reverts};
39
40mod transition_account;
41pub use transition_account::TransitionAccount;
42
43mod transition_state;
44pub use transition_state::TransitionState;