diff --git a/pallets/runtime/develop/src/runtime.rs b/pallets/runtime/develop/src/runtime.rs index 849dc001c8..49506a6b2e 100644 --- a/pallets/runtime/develop/src/runtime.rs +++ b/pallets/runtime/develop/src/runtime.rs @@ -57,7 +57,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // `spec_version: aaa_bbb_ccd` should match node version v`aaa.bbb.cc` // N.B. `d` is unpinned from the binary version - spec_version: 6_003_000, + spec_version: 6_003_001, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/pallets/runtime/mainnet/src/runtime.rs b/pallets/runtime/mainnet/src/runtime.rs index 64e17a58c6..829908fb25 100644 --- a/pallets/runtime/mainnet/src/runtime.rs +++ b/pallets/runtime/mainnet/src/runtime.rs @@ -53,7 +53,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // `spec_version: aaa_bbb_ccd` should match node version v`aaa.bbb.cc` // N.B. `d` is unpinned from the binary version - spec_version: 6_003_000, + spec_version: 6_003_001, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/pallets/runtime/testnet/src/runtime.rs b/pallets/runtime/testnet/src/runtime.rs index 3b845320dd..7c62b856bb 100644 --- a/pallets/runtime/testnet/src/runtime.rs +++ b/pallets/runtime/testnet/src/runtime.rs @@ -55,7 +55,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // `spec_version: aaa_bbb_ccd` should match node version v`aaa.bbb.cc` // N.B. `d` is unpinned from the binary version - spec_version: 6_003_000, + spec_version: 6_003_001, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/pallets/staking/src/pallet/mod.rs b/pallets/staking/src/pallet/mod.rs index 51ce56252f..779b8d8e4d 100644 --- a/pallets/staking/src/pallet/mod.rs +++ b/pallets/staking/src/pallet/mod.rs @@ -143,6 +143,7 @@ pub mod pallet { /// /// This should be less than the bonding duration. Set to 0 if slashes /// should be applied immediately, without opportunity for intervention. + #[pallet::constant] type SlashDeferDuration: Get; /// Weight information for extrinsics in this pallet. @@ -181,6 +182,7 @@ pub mod pallet { /// /// This is bounded by being within the last session. Hence, setting it to a value more than the /// length of a session will be pointless. + #[pallet::constant] type ElectionLookahead: Get; /// The overarching call type. @@ -189,15 +191,18 @@ pub mod pallet { /// Maximum number of balancing iterations to run in the offchain submission. /// /// If set to 0, balance_solution will not be executed at all. + #[pallet::constant] type MaxIterations: Get; /// The threshold of improvement that should be provided for a new solution to be accepted. + #[pallet::constant] type MinSolutionScoreBump: Get; /// The maximum number of nominators rewarded for each validator. /// /// For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim /// their reward. This used to limit the i/o cost for the nominator payout. + #[pallet::constant] type MaxNominatorRewardedPerValidator: Get; /// The fraction of the validator set that is safe to be offending. @@ -234,15 +239,19 @@ pub mod pallet { /// Maximum amount of validators that can run by an identity. /// It will be MaxValidatorPerIdentity * Self::validator_count(). + #[pallet::constant] type MaxValidatorPerIdentity: Get; /// Maximum amount of total issuance after which fixed rewards kicks in. + #[pallet::constant] type MaxVariableInflationTotalIssuance: Get>; /// Yearly total reward amount that gets distributed when fixed rewards kicks in. + #[pallet::constant] type FixedYearlyReward: Get>; /// Minimum bond amount. + #[pallet::constant] type MinimumBond: Get>; }