From 40e660fc7f2427aa75cb847eb062312bcfaa5cc0 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Tue, 27 Jul 2021 14:49:36 +0000 Subject: [PATCH] Format --- --- a/Cargo.lock +++ b/Cargo.lock @@ -5850,34 +5850,34 @@ [[package]] name = "pallet-scheduler" version = "3.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.7#9c572625f6557dfdb19f47474369a0327d51dfbc" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec 2.1.3", - "serde", - "sp-core", "sp-io", "sp-runtime", "sp-std", - "substrate-test-utils", - "up-sponsorship", ] [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.7#9c572625f6557dfdb19f47474369a0327d51dfbc" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec 2.1.3", + "serde", + "sp-core", "sp-io", "sp-runtime", "sp-std", + "substrate-test-utils", + "up-sponsorship", ] [[package]] --- a/pallets/inflation/src/tests.rs +++ b/pallets/inflation/src/tests.rs @@ -105,14 +105,11 @@ let _ = >::deposit_creating(&1234, initial_issuance); assert_eq!(Balances::free_balance(1234), initial_issuance); - // BlockInflation should be set after 1st block and + // BlockInflation should be set after 1st block and // first inflation deposit should be equal to BlockInflation Inflation::on_initialize(1); assert!(Inflation::block_inflation() > 0); - assert_eq!( - Balances::free_balance(1234) - initial_issuance, - Inflation::block_inflation() - ); + assert_eq!(Balances::free_balance(1234) - initial_issuance, Inflation::block_inflation()); }); } -- gitstuff