mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 15:39:49 +00:00
Ensure timestamp config makes sense. (#2132)
* Timestamp period should be expressed as expected period * Fix test * Ensure value never illegal * Rename * Remove println * Add default * Comment * Fix, bump and rebuild wasm * Fix test * Add TODOs * Configure only minimum_period. * Fix * Update srml/timestamp/src/lib.rs Co-Authored-By: gavofyork <github@gavwood.com> * Update srml/timestamp/src/lib.rs Co-Authored-By: gavofyork <github@gavwood.com>
This commit is contained in:
1 parent
d6927c2f3e
commit
3f348d0a18
10 files changed
+40
-23
No files matched your search
@@ -218,7 +218,7 @@ impl ExtBuilder {
|
||||
invulnerables: vec![],
|
||||
}.assimilate_storage(&mut t, &mut c);
|
||||
let _ = timestamp::GenesisConfig::<Test>{
|
||||
period: 5,
|
||||
minimum_period: 5,
|
||||
}.assimilate_storage(&mut t, &mut c);
|
||||
t.into()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user