diff --git a/provider/src/response.rs b/provider/src/response.rs index 71d2bbc3..57d3e18e 100644 --- a/provider/src/response.rs +++ b/provider/src/response.rs @@ -290,6 +290,7 @@ pub struct EthPropertyResp { #[serde(rename_all = "camelCase")] pub struct GateWayInfo { pub chain_id: ChainId, + pub l1_gateway_chain_id: u64, pub l1_gateway_contract: ZkLinkAddress, pub l2_gateway_contract: ZkLinkAddress, pub tokens: Vec, @@ -313,6 +314,7 @@ mod test { "gateways": [ { "chainId": 5, + "l1GatewayChainId": 43113, "l1GatewayContract": "0xffffffffffffffffffffffffffffffffffffffff", "l2GatewayContract": "0xffffffffffffffffffffffffffffffffffffffff", "tokens": [ @@ -330,6 +332,7 @@ mod test { }, { "chainId": 7, + "l1GatewayChainId": 1, "l1GatewayContract": "0xffffffffffffffffffffffffffffffffffffffff", "l2GatewayContract": "0xffffffffffffffffffffffffffffffffffffffff", "tokens": [