diff --git a/src/state.rs b/src/state.rs index 823c3e2d..d0d8ad5e 100644 --- a/src/state.rs +++ b/src/state.rs @@ -47,7 +47,7 @@ pub struct StateDiff { // Invariant: Addresses are strictly increasing. // The invariant is enforced as [`ThinStateDiff`] is created only from [`starknet_api`][`StateDiff`] // where the addresses are strictly increasing. -#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize)] +#[derive(Debug, Default, Clone, Eq, PartialEq, Deserialize, Serialize)] pub struct ThinStateDiff { pub deployed_contracts: IndexMap, pub storage_diffs: IndexMap>,