mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 18:01:03 +00:00
Backport latest PRs from polkadot sdk (#2824)
* backport https://github.com/paritytech/polkadot-sdk/pull/3034 * backport https://github.com/paritytech/polkadot-sdk/pull/3072 * backport https://github.com/paritytech/polkadot-sdk/pull/3175 * backport https://github.com/paritytech/polkadot-sdk/pull/2949 * Cargo.lock * fix invalid copypaste
This commit is contained in:
committed by
Bastian Köcher
parent
d713ef174e
commit
67a1c9a9e6
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "bp-bridge-hub-rococo"
|
||||
description = "Primitives of BridgeHubRococo parachain runtime."
|
||||
version = "0.1.0"
|
||||
version = "0.7.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
@@ -50,7 +50,7 @@ impl Chain for BridgeHubRococo {
|
||||
}
|
||||
|
||||
fn max_extrinsic_weight() -> Weight {
|
||||
BlockWeights::get()
|
||||
BlockWeightsForAsyncBacking::get()
|
||||
.get(DispatchClass::Normal)
|
||||
.max_extrinsic
|
||||
.unwrap_or(Weight::MAX)
|
||||
@@ -99,7 +99,7 @@ frame_support::parameter_types! {
|
||||
/// The XCM fee that is paid for executing XCM program (with `ExportMessage` instruction) at the Rococo
|
||||
/// BridgeHub.
|
||||
/// (initially was calculated by test `BridgeHubRococo::can_calculate_weight_for_paid_export_message_with_reserve_transfer` + `33%`)
|
||||
pub const BridgeHubRococoBaseXcmFeeInRocs: u128 = 1_640_102_205;
|
||||
pub const BridgeHubRococoBaseXcmFeeInRocs: u128 = 59_034_266;
|
||||
|
||||
/// Transaction fee that is paid at the Rococo BridgeHub for delivering single inbound message.
|
||||
/// (initially was calculated by test `BridgeHubRococo::can_calculate_fee_for_complex_message_delivery_transaction` + `33%`)
|
||||
@@ -107,5 +107,5 @@ frame_support::parameter_types! {
|
||||
|
||||
/// Transaction fee that is paid at the Rococo BridgeHub for delivering single outbound message confirmation.
|
||||
/// (initially was calculated by test `BridgeHubRococo::can_calculate_fee_for_complex_message_confirmation_transaction` + `33%`)
|
||||
pub const BridgeHubRococoBaseConfirmationFeeInRocs: u128 = 4_045_736_577;
|
||||
pub const BridgeHubRococoBaseConfirmationFeeInRocs: u128 = 5_380_829_647;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user