Skip to content

Commit

Permalink
sdk - added support for empty return data
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Oct 1, 2024
1 parent 54efcb9 commit ac58144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/core/src/data/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ pub struct StorageUpdateApi {
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct VMOutputApi {
#[serde(default)]
pub return_data: Vec<String>,
pub return_code: String,
pub return_message: String,
Expand Down

0 comments on commit ac58144

Please sign in to comment.