Skip to content

Commit 4f44968

Browse files
authored
Backport changes from polkadot-sdk (#2588)
* backport paritytech/polkadot-sdk#1543 * another backport
1 parent 7200ed1 commit 4f44968

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

primitives/chain-bridge-hub-cumulus/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);
5252
/// This is a copy-paste from the cumulus repo's `parachains-common` crate.
5353
const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts(constants::WEIGHT_REF_TIME_PER_SECOND, 0)
5454
.saturating_div(2)
55-
.set_proof_size(polkadot_primitives::v5::MAX_POV_SIZE as u64);
55+
.set_proof_size(polkadot_primitives::MAX_POV_SIZE as u64);
5656

5757
/// All cumulus bridge hubs assume that about 5 percent of the block weight is consumed by
5858
/// `on_initialize` handlers. This is used to limit the maximal weight of a single extrinsic.

primitives/test-utils/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ version = "0.1.0"
44
authors.workspace = true
55
edition.workspace = true
66
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
7-
publish = false
87

98
[dependencies]
109
bp-header-chain = { path = "../header-chain", default-features = false }

0 commit comments

Comments
 (0)