Skip to content

Commit

Permalink
fix: default program attributes to empty vec
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen committed Sep 29, 2023
1 parent fdf61bd commit 0974ab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vm/src/serde/deserialize_program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ pub struct ProgramJson {
pub identifiers: HashMap<String, Identifier>,
pub hints: BTreeMap<usize, Vec<HintParams>>,
pub reference_manager: ReferenceManager,
#[serde(default)]
pub attributes: Vec<Attribute>,
pub debug_info: Option<DebugInfo>,
}
Expand Down

0 comments on commit 0974ab8

Please sign in to comment.