Browse Source

runtime: proposals: Fix the doc test.

Shamil Gadelshin 4 years ago
parent
commit
9819e2bc47

+ 2 - 2
runtime-modules/proposals/engine/Cargo.toml

@@ -13,10 +13,10 @@ system = { package = 'frame-system', default-features = false, git = 'https://gi
 pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
 sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
 sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
+balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
 membership = { package = 'pallet-membership', default-features = false, path = '../../membership'}
 stake = { package = 'pallet-stake', default-features = false, path = '../../stake'}
 common = { package = 'pallet-common', default-features = false, path = '../../common'}
-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
 
 [dev-dependencies]
 sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
@@ -33,8 +33,8 @@ std = [
 	'pallet-timestamp/std',
 	'sp-arithmetic/std',
 	'sp-runtime/std',
+	'balances/std',
     'membership/std',
     'stake/std',
     'common/std',
-    'balances/std',
 ]

+ 1 - 1
runtime-modules/proposals/engine/src/lib.rs

@@ -97,7 +97,7 @@
 //!                 proposal_parameters : parameters,
 //!                 title,
 //!                 description,
-//!                 stake_balance: None,
+//!                 stake: None,
 //!                 encoded_dispatchable_call_code: encoded_proposal_code,
 //!                 exact_execution_block: None,
 //!             };