Avoid an excessive amount of unrelated errors on prior rustc error

`1.into()` -> `ParaId::from(1_u32)` (#5500)
This commit is contained in:
Bernhard Schuster
2022-05-11 16:11:48 +02:00
committed by GitHub
parent 718380119a
commit b67b7fa355
9 changed files with 201 additions and 185 deletions
+2 -2
View File
@@ -1964,7 +1964,7 @@ mod benchmarking {
benchmarks! {
create {
let para_id = ParaId::from(1);
let para_id = ParaId::from(1_u32);
let cap = BalanceOf::<T>::max_value();
let first_period = 0u32.into();
let last_period = 3u32.into();
@@ -2052,7 +2052,7 @@ mod benchmarking {
}
edit {
let para_id = ParaId::from(1);
let para_id = ParaId::from(1_u32);
let cap = BalanceOf::<T>::max_value();
let first_period = 0u32.into();
let last_period = 3u32.into();