Remove all builtin metadata (#358)

This commit is contained in:
Jaco Greeff 2020-06-02 12:51:30 +02:00 committed by GitHub
parent ff4ac3d5b1
commit e1be44ad3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 25 deletions

View File

@ -9,10 +9,10 @@ import { Metadata, TypeRegistry } from '@polkadot/types';
// imports chain details, generally metadata. For the generation of these,
// inside the api, run `yarn chain:info --ws <url>`
import kusama from './kusama';
// import kusama from './kusama';
const definitions = new Map<string, MetadataDef>(
[kusama].map((def) => [def.genesisHash, def])
// [kusama].map((def) => [def.genesisHash, def])
);
const expanded = new Map<string, Chain>();

File diff suppressed because one or more lines are too long