Cater for key definitions rework (#1269)

* Keys structure update

* Bump metadata, pull new keys

* Update for latest

* Update tests for new values

* Polkador session keys override

* Cleanup tests (browserlist adjustments)

* Update metadata

* Bump deps
This commit is contained in:
Jaco Greeff
2019-08-07 21:21:45 +02:00
committed by GitHub
parent 11e9ccba21
commit b2102d9a2b
17 changed files with 300 additions and 136 deletions
@@ -16,6 +16,6 @@ const consts = fromMetadata(metadata);
describe('fromMetadata', (): void => {
it('should return constants with the correct type and value', (): void => {
expect(consts.democracy.cooloffPeriod).toBeInstanceOf(ClassOf('BlockNumber'));
expect(consts.democracy.cooloffPeriod.eq(432000)).toBeTruthy();
expect(consts.democracy.cooloffPeriod.toHex()).toEqual('0x0000000000062700');
});
});