Skip to content

Commit

Permalink
changed gateway address and chain_id
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh committed Aug 24, 2023
1 parent d57a27c commit a06bb3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,15 +536,15 @@ 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.
pub EthereumGatewayLocation: MultiLocation = EthereumLocation::get()
.pushed_with_interior(
AccountKey20 {
network: None,
key: hex_literal::hex!("EDa338E4dC46038493b885327842fD3E301CaB39"),
key: hex_literal::hex!("6eE23257bc91792eDFdCC2490A7B18502fDA01b4"),
}
).unwrap();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ 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.
pub EthereumGatewayLocation: MultiLocation = EthereumLocation::get()
.pushed_with_interior(
AccountKey20 {
network: None,
key: hex_literal::hex!("EDa338E4dC46038493b885327842fD3E301CaB39"),
key: hex_literal::hex!("6eE23257bc91792eDFdCC2490A7B18502fDA01b4"),
}
).unwrap();
}
Expand Down

0 comments on commit a06bb3f

Please sign in to comment.