Fix signing tests and unskip them (#565)
* init with warning on wrong password * switching between requests * switching between requests * all passing * stray logs * cleanup * Signing Test with decodeding (#591) * decode error * as unknown * with decoding :) * lint * stray comment/logs Co-authored-by: Github Actions <action@github.com>
This commit is contained in:
co-authored by
Github Actions
parent
217450c08b
commit
ba7cf362ea
@@ -0,0 +1,14 @@
|
||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
const metadataGets = new Map<string, Promise<MetadataDef | null>>();
|
||||
|
||||
export function getSavedMeta (genesisHash: string): Promise<MetadataDef | null> | undefined {
|
||||
return metadataGets.get(genesisHash);
|
||||
}
|
||||
|
||||
export function setSavedMeta (genesisHash: string, def: Promise<MetadataDef | null>): Map<string, Promise<MetadataDef | null>> {
|
||||
return metadataGets.set(genesisHash, def);
|
||||
}
|
||||
Reference in New Issue
Block a user