Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Fix wast field is missing #2380

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ethers-solc/src/artifacts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,8 @@ pub struct Creation {

#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
pub struct Ewasm {
pub wast: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub wast: Option<String>,
pub wasm: String,
}

Expand Down