Skip to content

Commit 26e52dc

Browse files
authored
fix: use default for creation method (#1820)
1 parent 24ab11e commit 26e52dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: crates/rpc-types-trace/src/parity.rs

+2
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ pub struct CreateAction {
329329
/// The value with which the new account is endowed.
330330
pub value: U256,
331331
/// The contract creation method.
332+
// Note: this deserializes default because it's not yet supported by all clients
333+
#[serde(default)]
332334
pub creation_method: CreationMethod,
333335
}
334336

0 commit comments

Comments
 (0)