Skip to content

Commit

Permalink
add gas_token_id and deposit_confirmation in EthPropertyRsp (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-zkp authored Dec 8, 2023
1 parent 57f4d29 commit 0e3c9c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion provider/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ pub struct EthPropertyResp {
pub chain_id: ChainId,
pub layer_one_chain_id: U256,
pub gateways: Vec<GateWayInfo>,
pub gas_token_id: TokenId,
pub deposit_confirmation: u64,
}

#[derive(Debug, Serialize, Deserialize, Clone)]
Expand Down Expand Up @@ -520,7 +522,9 @@ mod test {
}
]
}
]
],
"gasTokenId": 1,
"depositConfirmation": 200
}
"#;
let resp: Result<EthPropertyResp, _> = serde_json::from_str(s);
Expand Down

0 comments on commit 0e3c9c2

Please sign in to comment.