Skip to content

Commit 645ba08

Browse files
committed
fix optinal albi
1 parent 6853ac6 commit 645ba08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

starknet-core/src/types/contract/legacy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const API_VERSION: Felt = Felt::ZERO;
3131
#[cfg_attr(feature = "no_unknown_fields", serde(deny_unknown_fields))]
3232
pub struct LegacyContractClass {
3333
/// Contract ABI.
34+
#[serde(default)]
3435
pub abi: Vec<RawLegacyAbiEntry>,
3536
/// Contract entrypoints.
3637
pub entry_points_by_type: RawLegacyEntryPoints,

0 commit comments

Comments
 (0)