Support new versioned metadata format (#632)
* Start something... * Parsing via proxy (everything still all-ok) * Imp[ort order (minor) * WIP expanding the structure * Adjust V1 structure * Parsing seems to do the trick... * Add CodeHash and Schedule types * //v0/ -> /v0/ * Update Extrinsic.ts * Updated with compact outerDispatch, non-throw construction * v1 to V0 conversion * Bubble non-magic errors in constructor * Update e2e after testing them * Bump version with CHANGELOG (potentially breaking change)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-provider",
|
||||
"version": "0.40.26",
|
||||
"version": "0.41.0",
|
||||
"description": "Transport providers for the API",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -31,7 +31,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/keyring": "^0.33.36",
|
||||
"@polkadot/storage": "^0.40.26",
|
||||
"@polkadot/storage": "^0.41.0",
|
||||
"@polkadot/util": "^0.33.36",
|
||||
"@polkadot/util-crypto": "^0.33.36",
|
||||
"@types/nock": "^9.3.0",
|
||||
|
||||
@@ -11,7 +11,7 @@ import interfaces from '@polkadot/jsonrpc/index';
|
||||
import testKeyring from '@polkadot/keyring/testing';
|
||||
import storage from '@polkadot/storage/static';
|
||||
import { Codec } from '@polkadot/types/types';
|
||||
import metadata from '@polkadot/types/Metadata/static';
|
||||
import metadata from '@polkadot/types/Metadata/v0/static';
|
||||
import { Header } from '@polkadot/types/index';
|
||||
import { bnToU8a, logger, u8aToHex } from '@polkadot/util';
|
||||
import { randomAsU8a } from '@polkadot/util-crypto';
|
||||
|
||||
Reference in New Issue
Block a user