Skip to content
Merged
Show file tree
Hide file tree
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
89 changes: 62 additions & 27 deletions relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated runtime API
//! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen
//! EXECUTED COMMAND: target/release/runtime-codegen --from-wasm-file
//! /tmp/tmp.ER5ViBLgH2/bridge-hub-polkadot_runtime-v2000007.compact.compressed.wasm
//! wbuild/bridge-hub-polkadot_runtime-v2001001.compact.compressed.wasm

#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)]
#[allow(clippy::all)]
Expand Down Expand Up @@ -652,7 +652,7 @@ pub mod api {
#[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)]
pub struct BasicParachainInherentData {
pub validation_data:
runtime_types::polkadot_primitives::v8::PersistedValidationData<
runtime_types::polkadot_primitives::v9::PersistedValidationData<
::subxt::ext::subxt_core::utils::H256,
::core::primitive::u32,
>,
Expand Down Expand Up @@ -700,13 +700,13 @@ pub mod api {
pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec<
(
runtime_types::polkadot_parachain_primitives::primitives::Id,
runtime_types::polkadot_primitives::v8::AbridgedHrmpChannel,
runtime_types::polkadot_primitives::v9::AbridgedHrmpChannel,
),
>,
pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec<
(
runtime_types::polkadot_parachain_primitives::primitives::Id,
runtime_types::polkadot_primitives::v8::AbridgedHrmpChannel,
runtime_types::polkadot_primitives::v9::AbridgedHrmpChannel,
),
>,
}
Expand All @@ -723,7 +723,7 @@ pub mod api {
pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth,
pub para_head_hash: ::core::option::Option<_0>,
pub consumed_go_ahead_signal: ::core::option::Option<
runtime_types::polkadot_primitives::v8::UpgradeGoAhead,
runtime_types::polkadot_primitives::v9::UpgradeGoAhead,
>,
}
#[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)]
Expand All @@ -736,7 +736,7 @@ pub mod api {
pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth,
pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>,
pub consumed_go_ahead_signal: ::core::option::Option<
runtime_types::polkadot_primitives::v8::UpgradeGoAhead,
runtime_types::polkadot_primitives::v9::UpgradeGoAhead,
>,
#[codec(skip)]
pub __ignore: ::core::marker::PhantomData<_0>,
Expand Down Expand Up @@ -1373,40 +1373,76 @@ pub mod api {
#[codec(index = 10)]
Minted { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 11)]
Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
MintedCredit { amount: ::core::primitive::u128 },
#[codec(index = 12)]
Burned { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 13)]
BurnedDebt { amount: ::core::primitive::u128 },
#[codec(index = 14)]
Suspended {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 13)]
#[codec(index = 15)]
Restored {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 14)]
#[codec(index = 16)]
Upgraded { who: ::sp_core::crypto::AccountId32 },
#[codec(index = 15)]
#[codec(index = 17)]
Issued { amount: ::core::primitive::u128 },
#[codec(index = 16)]
#[codec(index = 18)]
Rescinded { amount: ::core::primitive::u128 },
#[codec(index = 17)]
#[codec(index = 19)]
Locked { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 18)]
#[codec(index = 20)]
Unlocked {
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 19)]
#[codec(index = 21)]
Frozen { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 20)]
#[codec(index = 22)]
Thawed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 },
#[codec(index = 21)]
#[codec(index = 23)]
TotalIssuanceForced {
old: ::core::primitive::u128,
new: ::core::primitive::u128,
},
#[codec(index = 22)]
#[codec(index = 24)]
Held {
reason: runtime_types::bridge_hub_polkadot_runtime::RuntimeHoldReason,
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 25)]
BurnedHeld {
reason: runtime_types::bridge_hub_polkadot_runtime::RuntimeHoldReason,
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 26)]
TransferOnHold {
reason: runtime_types::bridge_hub_polkadot_runtime::RuntimeHoldReason,
source: ::sp_core::crypto::AccountId32,
dest: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 27)]
TransferAndHold {
reason: runtime_types::bridge_hub_polkadot_runtime::RuntimeHoldReason,
source: ::sp_core::crypto::AccountId32,
dest: ::sp_core::crypto::AccountId32,
transferred: ::core::primitive::u128,
},
#[codec(index = 28)]
Released {
reason: runtime_types::bridge_hub_polkadot_runtime::RuntimeHoldReason,
who: ::sp_core::crypto::AccountId32,
amount: ::core::primitive::u128,
},
#[codec(index = 29)]
Unexpected(runtime_types::pallet_balances::pallet::UnexpectedKind),
}
#[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)]
Expand Down Expand Up @@ -2359,6 +2395,8 @@ pub mod api {
who: ::sp_core::crypto::AccountId32,
proxy_type: runtime_types::bridge_hub_polkadot_runtime::ProxyType,
disambiguation_index: ::core::primitive::u16,
at: ::core::primitive::u32,
extrinsic_index: ::core::primitive::u32,
},
#[codec(index = 2)]
PureKilled {
Expand Down Expand Up @@ -3275,7 +3313,7 @@ pub mod api {
}
pub mod polkadot_primitives {
use super::runtime_types;
pub mod v8 {
pub mod v9 {
use super::runtime_types;
pub mod async_backing {
use super::runtime_types;
Expand All @@ -3297,7 +3335,7 @@ pub mod api {
pub validation_upgrade_cooldown: ::core::primitive::u32,
pub validation_upgrade_delay: ::core::primitive::u32,
pub async_backing_params:
runtime_types::polkadot_primitives::v8::async_backing::AsyncBackingParams,
runtime_types::polkadot_primitives::v9::async_backing::AsyncBackingParams,
}
#[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)]
pub struct AbridgedHrmpChannel {
Expand Down Expand Up @@ -4348,14 +4386,9 @@ pub mod api {
}
#[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)]
pub struct Proof {
pub receipt_proof: (
::subxt::ext::subxt_core::alloc::vec::Vec<
::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>,
>,
::subxt::ext::subxt_core::alloc::vec::Vec<
::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>,
>,
),
pub receipt_proof: ::subxt::ext::subxt_core::alloc::vec::Vec<
::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>,
>,
pub execution_proof:
runtime_types::snowbridge_beacon_primitives::types::ExecutionProof,
}
Expand Down Expand Up @@ -4560,6 +4593,8 @@ pub mod api {
Sr25519([::core::primitive::u8; 64usize]),
#[codec(index = 2)]
Ecdsa([::core::primitive::u8; 65usize]),
#[codec(index = 3)]
Eth([::core::primitive::u8; 65usize]),
}
#[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)]
pub enum TokenError {
Expand Down
2 changes: 1 addition & 1 deletion relay-clients/client-bridge-hub-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,5 @@ impl ChainWithMessages for BridgeHubPolkadot {

impl ChainWithRuntimeVersion for BridgeHubPolkadot {
const RUNTIME_VERSION: Option<SimpleRuntimeVersion> =
Some(SimpleRuntimeVersion { spec_version: 2_000_007, transaction_version: 4 });
Some(SimpleRuntimeVersion { spec_version: 2_001_001, transaction_version: 4 });
}
2 changes: 1 addition & 1 deletion substrate-relay/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "substrate-relay"
version = "1.8.19"
version = "1.8.20"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
Expand Down