runtime: Add ability to force a name change (#3934)

* Add ability to force a name change

* Fix tests

* Bump runtime.
This commit is contained in:
Gavin Wood
2019-10-27 16:20:35 +01:00
committed by GitHub
parent c08ac2277f
commit 580e32101e
2 changed files with 55 additions and 10 deletions
+3 -3
View File
@@ -83,8 +83,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 187,
impl_version: 187,
spec_version: 188,
impl_version: 188,
apis: RUNTIME_API_VERSIONS,
};
@@ -469,7 +469,7 @@ impl nicks::Trait for Runtime {
type Currency = Balances;
type ReservationFee = ReservationFee;
type Slashed = Treasury;
type KillOrigin = collective::EnsureMember<AccountId, CouncilCollective>;
type ForceOrigin = collective::EnsureMember<AccountId, CouncilCollective>;
type MinLength = MinLength;
type MaxLength = MaxLength;
}