diff --git a/starknet-core/src/types/contract/legacy.rs b/starknet-core/src/types/contract/legacy.rs index e9aa3532..3667cef7 100644 --- a/starknet-core/src/types/contract/legacy.rs +++ b/starknet-core/src/types/contract/legacy.rs @@ -78,6 +78,7 @@ pub struct RawLegacyEntryPoint { #[derive(Debug, Clone, Serialize, Deserialize)] #[cfg_attr(feature = "no_unknown_fields", serde(deny_unknown_fields))] pub struct LegacyAttribute { + #[serde(default)] pub accessible_scopes: Vec, pub end_pc: u64, #[serde(skip_serializing_if = "Option::is_none")]