Skip to content

Commit

Permalink
optimize serde encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Aug 17, 2022
1 parent 3596054 commit 5bca30f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ impl fmt::Display for GasPrice {
}

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(
rename_all = "lowercase",
tag = "type",
content = "content",
deny_unknown_fields
)]
pub enum ExtensionOption {
EthermintDynamicFee(ExtensionOptionDynamicFeeTx),
}
Expand Down

0 comments on commit 5bca30f

Please sign in to comment.