Adjust to new auction types (#3297)

* Adjust to new auction types

* Update BitVec fields, Babe types
This commit is contained in:
Jaco Greeff
2021-03-10 22:00:57 +01:00
committed by GitHub
parent 5bec38c404
commit fa0add8564
11 changed files with 102 additions and 133 deletions
@@ -37,7 +37,9 @@ async function checkContract (api: ApiPromise, pairs: TestKeyringMap): Promise<v
}
async function main (): Promise<void> {
const api = await ApiPromise.create();
const api = await ApiPromise.create({
hasher: (data: Uint8Array): Uint8Array => data
});
const pairs = createTestPairs();
// eslint-disable-next-line @typescript-eslint/no-floating-promises