Skip to content

Commit

Permalink
update polkadot-sdk refs
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed May 3, 2024
1 parent c562a92 commit 5ece51c
Show file tree
Hide file tree
Showing 7 changed files with 166 additions and 154 deletions.
278 changes: 156 additions & 122 deletions Cargo.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,8 @@ substrate_relay_helper::generate_receive_message_delivery_proof_call_builder!(
pub struct BridgeHubRococoMessagesToBridgeHubWestendMessageLane;

impl SubstrateMessageLane for BridgeHubRococoMessagesToBridgeHubWestendMessageLane {
const AT_SOURCE_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("ec797ce348d5ce03001b3000f16b7623b0f6b654e441caf8289608e476223969")),
});
const AT_TARGET_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("815e02321b71bf951f7054f78929c11be5b9056ffc954980d94931b4522a7f02")),
});
const AT_SOURCE_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));
const AT_TARGET_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));

type SourceChain = BridgeHubRococo;
type TargetChain = BridgeHubWestend;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,8 @@ substrate_relay_helper::generate_receive_message_delivery_proof_call_builder!(
pub struct BridgeHubWestendMessagesToBridgeHubRococoMessageLane;

impl SubstrateMessageLane for BridgeHubWestendMessagesToBridgeHubRococoMessageLane {
const AT_SOURCE_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("815e02321b71bf951f7054f78929c11be5b9056ffc954980d94931b4522a7f02")),
});
const AT_TARGET_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("ec797ce348d5ce03001b3000f16b7623b0f6b654e441caf8289608e476223969")),
});
const AT_SOURCE_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));
const AT_TARGET_CHAIN_RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));

type SourceChain = BridgeHubWestend;
type TargetChain = BridgeHubRococo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ impl SubstrateFinalityPipeline for RococoFinalityToBridgeHubWestend {

#[async_trait]
impl SubstrateFinalitySyncPipeline for RococoFinalityToBridgeHubWestend {
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("8ef000d4f0184c4751b9462471473368c4b4bdcf1f376264b254e2acf8f705c8")),
});
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));

type SubmitFinalityProofCallBuilder = SubmitFinalityProofCallBuilder;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ use substrate_relay_helper::{
pub struct BridgeHubRococoToBridgeHubWestend;

impl SubstrateParachainsPipeline for BridgeHubRococoToBridgeHubWestend {
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("938c8cddccea01a54fb58e8b949f501998f31c5d4edea176722c706b032e1ddd")),
});
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));

type SourceParachain = relay_bridge_hub_rococo_client::BridgeHubRococo;
type SourceRelayChain = relay_rococo_client::Rococo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ impl SubstrateFinalityPipeline for WestendFinalityToBridgeHubRococo {

#[async_trait]
impl SubstrateFinalitySyncPipeline for WestendFinalityToBridgeHubRococo {
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("f3b72b260a9262b1a9cc09c87ece99e305cdb8e6d1e052eaba9eec2f4cf368a1")),
});
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));

type SubmitFinalityProofCallBuilder = SubmitFinalityProofCallBuilder;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ use substrate_relay_helper::{
pub struct BridgeHubWestendToBridgeHubRococo;

impl SubstrateParachainsPipeline for BridgeHubWestendToBridgeHubRococo {
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion {
manual: 0,
auto: H256(hex!("53c49a5c17f529842eb2f2a85053415ff77be4331c90e0a6f26594686fdfb6ce")),
});
const RELAYER_VERSION: Option<RelayerVersion> = Some(RelayerVersion::from_manual(0));

type SourceParachain = relay_bridge_hub_westend_client::BridgeHubWestend;
type SourceRelayChain = relay_westend_client::Westend;
Expand Down

0 comments on commit 5ece51c

Please sign in to comment.