Move (some) from session & elections to srml/types (#1158)
* Move (some) from session & elections to srml/types * Just use createType instad of (new ClassOf(type))(value) * Cleanup generation script (import file duplication)
This commit is contained in:
@@ -8,7 +8,7 @@ import fromMetadata from '@polkadot/api-metadata/storage/fromMetadata';
|
||||
import { Storage } from '@polkadot/api-metadata/storage/types';
|
||||
import { Balance } from '@polkadot/types';
|
||||
import Metadata from '@polkadot/types/Metadata';
|
||||
import { injectDefinitions } from '@polkadot/types/Metadata/util/testUtil';
|
||||
import { injectDefinitions } from '@polkadot/types/srml';
|
||||
import rpcMetadataV3 from '@polkadot/types/Metadata/v3/static';
|
||||
import rpcMetadataV4 from '@polkadot/types/Metadata/v4/static';
|
||||
import rpcMetadataV5 from '@polkadot/types/Metadata/v5/static';
|
||||
|
||||
Reference in New Issue
Block a user