mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 18:01:03 +00:00
Update Snowbridge versions and prep for publishing (#2894)
- updates snowbridge crates to `0.9.0` - updates Cargo.toml files in preparation for publishing to crates.io - adds Kusama and Polkadot Snowbridge runtime config crates - moves runtime tests from the Snowbridge subtree into the bridge hub tests dir --------- Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: Ron <yrong1997@gmail.com>
This commit is contained in:
@@ -117,3 +117,19 @@ pub mod consensus {
|
||||
/// Relay chain slot duration, in milliseconds.
|
||||
pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000;
|
||||
}
|
||||
|
||||
pub mod snowbridge {
|
||||
use frame_support::parameter_types;
|
||||
use xcm::opaque::lts::NetworkId;
|
||||
|
||||
/// The pallet index of the Ethereum inbound queue pallet in the bridge hub runtime.
|
||||
pub const INBOUND_QUEUE_PALLET_INDEX: u8 = 80;
|
||||
|
||||
parameter_types! {
|
||||
/// Network and location for the Ethereum chain. On Rococo, the Ethereum chain bridged
|
||||
/// to is the Sepolia Ethereum testnet, with chain ID 11155111.
|
||||
/// <https://chainlist.org/chain/11155111>
|
||||
/// <https://ethereum.org/en/developers/docs/apis/json-rpc/#net_version>
|
||||
pub EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 11155111 };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user