Skip to content

Commit

Permalink
Merge pull request #1788 from multiversx/vmquery-fix-master
Browse files Browse the repository at this point in the history
sdk - added support for empty return data
  • Loading branch information
andrei-marinica authored Oct 1, 2024
2 parents 54efcb9 + ac58144 commit 600e443
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 600e443

Please sign in to comment.