mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Companion for Weight v1.5 (#5943)
* fix to latest substrate pr
* update weights
* cargo build -p polkadot-runtime-parachains
* fix xcm-builder
* fix import
* fix a bunch
* fix a bunch of weight stuff
* kusama compile
* unused
* builds
* maybe fix
* cargo test -p polkadot-runtime-parachains
* xcm simulator example
* fix tests
* xcm sim fuzz
* fix runtime tests
* remove unused
* fix integration tests
* scalar div
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -1141,7 +1141,7 @@ impl parachains_paras::Config for Runtime {
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const FirstMessageFactorPercent: u64 = 100;
|
||||
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
|
||||
}
|
||||
|
||||
impl parachains_ump::Config for Runtime {
|
||||
@@ -2089,8 +2089,8 @@ mod multiplier_tests {
|
||||
|
||||
let call = frame_system::Call::<Runtime>::fill_block {
|
||||
ratio: Perbill::from_rational(
|
||||
block_weight,
|
||||
BlockWeights::get().get(DispatchClass::Normal).max_total.unwrap(),
|
||||
block_weight.ref_time(),
|
||||
BlockWeights::get().get(DispatchClass::Normal).max_total.unwrap().ref_time(),
|
||||
),
|
||||
};
|
||||
println!("calling {:?}", call);
|
||||
|
||||
Reference in New Issue
Block a user