Make Substrate compile with latest nightly (#7381)

* Try to get it compiling

* One more

* Make stable happy

* Make stable even more happy ;)

* Update shell.nix
This commit is contained in:
Bastian Köcher
2020-10-23 21:08:04 +02:00
committed by GitHub
parent 4366fe366a
commit 5808f467c5
29 changed files with 63 additions and 57 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ benchmarks! {
}
note_stalled {
let delay = 1000.into();
let best_finalized_block_number = 1.into();
let delay = 1000u32.into();
let best_finalized_block_number = 1u32.into();
}: _(RawOrigin::Root, delay, best_finalized_block_number)
verify {
+1 -1
View File
@@ -446,7 +446,7 @@ impl<T: Trait> Module<T> {
// only allow the next forced change when twice the window has passed since
// this one.
<NextForced<T>>::put(scheduled_at + in_blocks * 2.into());
<NextForced<T>>::put(scheduled_at + in_blocks * 2u32.into());
}
<PendingChange<T>>::put(StoredPendingChange {