Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Specify Ethereum networks by their chain id #6286

Merged
merged 2 commits into from
Jan 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions xcm/src/v3/junction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ pub enum NetworkId {
Rococo,
/// The Wococo testnet Relay-chain.
Wococo,
/// The Ethereum network, including hard-forks supported by the Ethereum Foundation.
EthereumFoundation,
/// The Ethereum network, including hard-forks supported by Ethereum Classic developers.
EthereumClassic,
/// An Ethereum network specified by its chain ID.
Ethereum {
/// The EIP-155 chain ID.
#[codec(compact)]
chain_id: u64,
},
/// The Bitcoin network, including hard-forks supported by Bitcoin Core development team.
BitcoinCore,
/// The Bitcoin network, including hard-forks supported by Bitcoin Cash developers.
Expand Down