diff --git a/crates/rpc-trace-types/src/geth/pre_state.rs b/crates/rpc-trace-types/src/geth/pre_state.rs index f50d2705471..ab1d0694bfc 100644 --- a/crates/rpc-trace-types/src/geth/pre_state.rs +++ b/crates/rpc-trace-types/src/geth/pre_state.rs @@ -49,6 +49,11 @@ impl PreStateFrame { } } +/// Includes all the account states necessary to execute a given transaction. +/// +/// This corresponds to the default mode of the [PreStateConfig]. +/// +/// The [AccountState]'s storage will include all non-zero slots that are modified by a transaction. #[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)] pub struct PreStateMode(pub BTreeMap);