Skip to content

Bridge: [Feature]:All required configurations for bridging to/from Paseo testnet added. #2383

@mattheworris

Description

@mattheworris

Feature Description

Add bridging feature to Paseo testnet.

Acceptance Criteria

Notes

  • Blocked Snowbridge must first enable the bridge on Paseo
  • XCM configurations need to be updated. There maybe be some defintions similar to the following:
#[cfg(feature = "frequency-testnet")]
use hex_literal::hex;
#[cfg(feature = "frequency-westend")]
use staging_xcm::opaque::latest::WESTEND_GENESIS_HASH;

#[cfg(feature = "frequency-testnet")]
pub const PASEO_GENESIS_HASH: [u8; 32] = 
	hex!["203c6838fc78ea3660a2f298a58d859519c72a5efdc0f194abd6f0d5ce1838e0"];

#[cfg(feature = "frequency-testnet")]
const RELAY_NETWORK_ID: Option<NetworkId> = Some(NetworkId::ByGenesis(PASEO_GENESIS_HASH));
#[cfg(feature = "frequency-westend")]
const RELAY_NETWORK_ID: Option<NetworkId> = Some(NetworkId::ByGenesis(WESTEND_GENESIS_HASH));
#[cfg(feature = "frequency")]
const RELAY_NETWORK_ID: Option<NetworkId> = Some(NetworkId::Polkadot);
#[cfg(any(feature = "frequency-local", feature = "frequency-no-relay", feature = "frequency-lint-check"))]
const RELAY_NETWORK_ID: Option<NetworkId> = None;

Possible Related Issues

Searched for Related Issues

  • I have done a search for related issues and either found none, or noted them

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions