Extends createType decoration with missing (#3872)

* Extends createType decoration with missing

* Simplify

* Correct __IntType

* Uint mismatch
This commit is contained in:
Jaco
2021-08-13 12:58:17 +02:00
committed by GitHub
parent 48620ea7a3
commit 07594a33b5
21 changed files with 171 additions and 101 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option, u32 } from '@polkadot/types';
import type { Option, u32, u64 } from '@polkadot/types';
import type { BlockNumber, EraIndex, Moment, SessionIndex } from '@polkadot/types/interfaces';
export interface DeriveSessionIndexes {
@@ -15,7 +15,7 @@ export interface DeriveSessionIndexes {
export interface DeriveSessionInfo extends DeriveSessionIndexes {
eraLength: BlockNumber;
isEpoch: boolean;
sessionLength: BlockNumber;
sessionLength: u64;
sessionsPerEra: SessionIndex;
}