From a06bb3f656940b69af7e0dba96d963d83a8140ec Mon Sep 17 00:00:00 2001 From: Alistair Singh Date: Thu, 24 Aug 2023 22:59:57 +0200 Subject: [PATCH] changed gateway address and chain_id --- parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs | 4 ++-- .../runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs b/parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs index 12ad726a544..5ce2365664e 100644 --- a/parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs +++ b/parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs @@ -536,7 +536,7 @@ pub mod bridging { pub DotLocation: MultiLocation = MultiLocation::new(2, X1(GlobalConsensus(PolkadotNetwork::get()))); // Network and location for the local Ethereum testnet. - pub EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 15 }; + pub EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 5 }; pub EthereumLocation: MultiLocation = MultiLocation::new(2, X1(GlobalConsensus(EthereumNetwork::get()))); // The Registry contract for the bridge which is also the origin for reserves and the prefix of all assets. @@ -544,7 +544,7 @@ pub mod bridging { .pushed_with_interior( AccountKey20 { network: None, - key: hex_literal::hex!("EDa338E4dC46038493b885327842fD3E301CaB39"), + key: hex_literal::hex!("6eE23257bc91792eDFdCC2490A7B18502fDA01b4"), } ).unwrap(); diff --git a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs index 287fe2965ef..50f24126e84 100644 --- a/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs +++ b/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs @@ -59,7 +59,7 @@ parameter_types! { pub const MaxAssetsIntoHolding: u32 = 64; // Network and location for the local Ethereum testnet. - pub const EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 15 }; + pub const EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 5 }; pub EthereumLocation: MultiLocation = MultiLocation::new(2, X1(GlobalConsensus(EthereumNetwork::get()))); // The Registry contract for the bridge which is also the origin for reserves and the prefix of all assets. @@ -67,7 +67,7 @@ parameter_types! { .pushed_with_interior( AccountKey20 { network: None, - key: hex_literal::hex!("EDa338E4dC46038493b885327842fD3E301CaB39"), + key: hex_literal::hex!("6eE23257bc91792eDFdCC2490A7B18502fDA01b4"), } ).unwrap(); }