Make perthings operate in type operator (#2501)

* perthings operate in type operator

* implementation with rem

* fmt

* doc

* better fmt

* bump version

* Tests for pet-things

* demonstrate output as type of operation

* Remove redundant assertions.

* rename test

* update lock

* bump impl version
This commit is contained in:
thiolliere
2019-05-15 18:48:58 +02:00
committed by Gavin Wood
parent e0a6a1f55a
commit aa2c496a65
6 changed files with 135 additions and 35 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
}),
staking: Some(StakingConfig {
current_era: 0,
offline_slash: Perbill::from_billionths(1_000_000),
session_reward: Perbill::from_billionths(2_065),
offline_slash: Perbill::from_parts(1_000_000),
session_reward: Perbill::from_parts(2_065),
current_session_reward: 0,
validator_count: 7,
sessions_per_era: 12,