Skip to content

Commit 685fc80

Browse files
committed
default serde deser for inner transaction
1 parent 9a976d8 commit 685fc80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/transaction.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ pub struct InnerTransaction {
1313

1414
#[schemars(with = "BytesDef")]
1515
#[schema(value_type = BytesDef)]
16+
#[serde(default)]
1617
pub data: Bytes,
1718

1819
#[schemars(with = "U256Def")]
1920
#[schema(value_type = U256Def)]
21+
#[serde(default)]
2022
pub value: U256,
2123
}

0 commit comments

Comments
 (0)