Bump metadata (#1844)

* Bump metadata

* Copy error

* Bump dev

* Fix linting

* Adjust some tests

* FIXME for formatting
This commit is contained in:
Jaco Greeff
2020-02-14 10:15:11 +01:00
committed by GitHub
parent 503193d6c2
commit 00e567b662
22 changed files with 289 additions and 137 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn polkadot-dev-ghact-build
yarn polkadot-ci-ghact-build
build_docs:
name: Build Docs
@@ -52,7 +52,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn polkadot-dev-ghact-docs
yarn polkadot-ci-ghact-docs
dummy:
name: Dummy
+1 -1
View File
@@ -27,7 +27,7 @@
"@babel/core": "^7.8.4",
"@babel/register": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@polkadot/dev": "^0.40.12",
"@polkadot/dev": "^0.40.16",
"@polkadot/ts": "^0.2.3"
}
}
+1 -1
View File
@@ -30,7 +30,7 @@
"@polkadot/api": "^1.2.0-beta.16",
"@polkadot/rpc-core": "^1.2.0-beta.16",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"bn.js": "^5.1.1",
"rxjs": "^6.5.4"
}
+3 -3
View File
@@ -32,13 +32,13 @@
"@polkadot/rpc-core": "^1.2.0-beta.16",
"@polkadot/rpc-provider": "^1.2.0-beta.16",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util-crypto": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"@polkadot/util-crypto": "^2.3.0-beta.5",
"bn.js": "^5.1.1",
"memoizee": "^0.4.14",
"rxjs": "^6.5.4"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.0-beta.2"
"@polkadot/keyring": "^2.3.0-beta.5"
}
}
+4 -4
View File
@@ -28,18 +28,18 @@
"dependencies": {
"@babel/runtime": "^7.8.4",
"@polkadot/api-derive": "^1.2.0-beta.16",
"@polkadot/keyring": "^2.3.0-beta.2",
"@polkadot/keyring": "^2.3.0-beta.5",
"@polkadot/metadata": "^1.2.0-beta.16",
"@polkadot/rpc-core": "^1.2.0-beta.16",
"@polkadot/rpc-provider": "^1.2.0-beta.16",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util-crypto": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"@polkadot/util-crypto": "^2.3.0-beta.5",
"bn.js": "^5.1.1",
"eventemitter3": "^4.0.0",
"rxjs": "^6.5.4"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.0-beta.2"
"@polkadot/keyring": "^2.3.0-beta.5"
}
}
+2 -2
View File
@@ -20,8 +20,8 @@ function consts (api: ApiPromise): void {
// constants has actual value & metadata
console.log(
api.consts.foo.bar,
api.consts.balances.creationFee.toNumber(),
api.consts.balances.creationFee.meta.documentation.map((s): string => s.toString()).join('')
api.consts.balances.existentialDeposit.toNumber(),
api.consts.balances.existentialDeposit.meta.documentation.map((s): string => s.toString()).join('')
);
}
+2 -2
View File
@@ -3,7 +3,7 @@
// of the Apache-2.0 license. See the LICENSE file for details.
import { AccountId, Address, ExtrinsicStatus, EventRecord, Hash, RuntimeDispatchInfo } from '@polkadot/types/interfaces';
import { AnyNumber, AnyU8a, Callback, IExtrinsic, IExtrinsicEra, IKeyringPair, SignatureOptions } from '@polkadot/types/types';
import { AnyNumber, AnyU8a, Callback, Codec, IExtrinsic, IExtrinsicEra, IKeyringPair, SignatureOptions } from '@polkadot/types/types';
import { ApiTypes, Signer } from '../types';
import { Observable } from 'rxjs';
@@ -47,7 +47,7 @@ export type SubmittableThis<ApiType extends ApiTypes, THIS> =
export interface SignerOptions {
blockHash: AnyU8a;
era?: IExtrinsicEra | number;
nonce: AnyNumber;
nonce: AnyNumber | Codec;
signer?: Signer;
tip?: AnyNumber;
}
-8
View File
@@ -42,10 +42,6 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
* The minimum amount required to keep an account open.
**/
existentialDeposit: AugmentedConst<Balance>;
/**
* The fee required to create an account.
**/
creationFee: AugmentedConst<Balance>;
};
transactionPayment: {
[index: string]: Codec;
@@ -201,10 +197,6 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
* to removal of a contract.
**/
surchargeReward: AugmentedConst<BalanceOf>;
/**
* The fee required to create an account.
**/
creationFee: AugmentedConst<BalanceOf>;
/**
* The fee to be paid for making a transaction; the base.
**/
+6 -13
View File
@@ -33,9 +33,9 @@ declare module '@polkadot/api/types/storage' {
system: {
[index: string]: QueryableStorageEntry<ApiType>;
/**
* Extrinsics nonce for accounts.
* The full account information for a particular account ID.
**/
accountNonce: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Index>> & QueryableStorageEntry<ApiType>;
account: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ITuple<[Index, AccountData]>>> & QueryableStorageEntry<ApiType>;
/**
* Total extrinsics count for the current block.
**/
@@ -179,13 +179,9 @@ declare module '@polkadot/api/types/storage' {
indices: {
[index: string]: QueryableStorageEntry<ApiType>;
/**
* The next free enumeration set.
* The lookup from index to account.
**/
nextEnumSet: AugmentedQuery<ApiType, () => Observable<AccountIndex>> & QueryableStorageEntry<ApiType>;
/**
* The enumeration sets.
**/
enumSet: AugmentedQuery<ApiType, (arg: AccountIndex | AnyNumber | Uint8Array) => Observable<Vec<AccountId>>> & QueryableStorageEntry<ApiType>;
accounts: AugmentedQuery<ApiType, (arg: AccountIndex | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId, BalanceOf]>>>> & QueryableStorageEntry<ApiType>;
};
balances: {
[index: string]: QueryableStorageEntry<ApiType>;
@@ -197,6 +193,7 @@ declare module '@polkadot/api/types/storage' {
* The balance of an account.
* NOTE: THIS MAY NEVER BE IN EXISTENCE AND YET HAVE A `total().is_zero()`. If the total
* is ever zero, then the entry *MUST* be removed.
* NOTE: This is only used in the case that this module is used to store balances.
**/
account: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<AccountData>> & QueryableStorageEntry<ApiType>;
/**
@@ -327,10 +324,6 @@ declare module '@polkadot/api/types/storage' {
* The earliest era for which we have a pending, unapplied slash.
**/
earliestUnappliedSlash: AugmentedQuery<ApiType, () => Observable<Option<EraIndex>>> & QueryableStorageEntry<ApiType>;
/**
* The version of storage for upgrade.
**/
storageVersion: AugmentedQuery<ApiType, () => Observable<u32>> & QueryableStorageEntry<ApiType>;
};
session: {
[index: string]: QueryableStorageEntry<ApiType>;
@@ -414,7 +407,7 @@ declare module '@polkadot/api/types/storage' {
* Get the vote in a given referendum of a particular voter. The result is meaningful only
* if `voters_for` includes the voter when called with the referendum (you'll get the
* default `Vote` value otherwise). If you don't want to check `voters_for`, then you can
* also check for simple existence with `VoteOf::exists` first.
* also check for simple existence with `VoteOf::contains_key` first.
**/
voteOf: AugmentedQuery<ApiType, (arg: ITuple<[ReferendumIndex, AccountId]>) => Observable<Vote>> & QueryableStorageEntry<ApiType>;
/**
+61
View File
@@ -194,6 +194,67 @@ declare module '@polkadot/api/types/submittable' {
**/
setUncles: AugmentedSubmittable<(newUncles: Vec<Header> | (Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
};
indices: {
[index: string]: SubmittableExtrinsicFunction<ApiType>;
/**
* Assign an previously unassigned index.
* Payment: `Deposit` is reserved from the sender account.
* The dispatch origin for this call must be _Signed_.
* - `index`: the index to be claimed. This must not be in use.
* Emits `IndexAssigned` if successful.
* # <weight>
* - `O(1)`.
* - One storage mutation (codec `O(1)`).
* - One reserve operation.
* - One event.
* # </weight>
**/
claim: AugmentedSubmittable<(index: AccountIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
/**
* Assign an index already owned by the sender to another account. The balance reservation
* is effectively transfered to the new account.
* The dispatch origin for this call must be _Signed_.
* - `index`: the index to be re-assigned. This must be owned by the sender.
* - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
* Emits `IndexAssigned` if successful.
* # <weight>
* - `O(1)`.
* - One storage mutation (codec `O(1)`).
* - One transfer operation.
* - One event.
* # </weight>
**/
transfer: AugmentedSubmittable<(updated: AccountId | string | Uint8Array, index: AccountIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
/**
* Free up an index owned by the sender.
* Payment: Any previous deposit placed for the index is unreserved in the sender account.
* The dispatch origin for this call must be _Signed_ and the sender must own the index.
* - `index`: the index to be freed. This must be owned by the sender.
* Emits `IndexFreed` if successful.
* # <weight>
* - `O(1)`.
* - One storage mutation (codec `O(1)`).
* - One reserve operation.
* - One event.
* # </weight>
**/
free: AugmentedSubmittable<(index: AccountIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
/**
* Force an index to an account. This doesn't require a deposit. If the index is already
* held, then any deposit is reimbursed to its current owner.
* The dispatch origin for this call must be _Root_.
* - `index`: the index to be (re-)assigned.
* - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
* Emits `IndexAssigned` if successful.
* # <weight>
* - `O(1)`.
* - One storage mutation (codec `O(1)`).
* - Up to one reserve operation.
* - One event.
* # </weight>
**/
forceTransfer: AugmentedSubmittable<(updated: AccountId | string | Uint8Array, index: AccountIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
};
balances: {
[index: string]: SubmittableExtrinsicFunction<ApiType>;
/**
+3 -3
View File
@@ -28,11 +28,11 @@
"dependencies": {
"@babel/runtime": "^7.8.4",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util-crypto": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"@polkadot/util-crypto": "^2.3.0-beta.5",
"bn.js": "^5.1.1"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.0-beta.2"
"@polkadot/keyring": "^2.3.0-beta.5"
}
}
@@ -15,10 +15,10 @@ describe('Decorated', () => {
it('should correctly get Alice\'s nonce storage key (u8a)', (): void => {
expect(
u8aToHex(
decorated.query.system.accountNonce('5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY')
decorated.query.system.account('5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY')
)
).toEqual(
'0x010126aa394eea5630e07c48ae0c9558cef79c2f82b23e5fd031fb54c292794b4cc42e3fb4c297a84c5cebc0e78257d213d0927ccc7596044c6ba013dd05522aacba'
'0x010126aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da92e3fb4c297a84c5cebc0e78257d213d0927ccc7596044c6ba013dd05522aacba'
);
});
@@ -28,11 +28,11 @@ describe('fromMetadata', (): void => {
it('should return the correct length-prefixed storage key', (): void => {
expect(
u8aToHex(
decorated.query.system.accountNonce(keyring.alice.address)
decorated.query.system.account(keyring.alice.address)
)
).toEqual(
// new storage key format
'0x010126aa394eea5630e07c48ae0c9558cef79c2f82b23e5fd031fb54c292794b4cc42e3fb4c297a84c5cebc0e78257d213d0927ccc7596044c6ba013dd05522aacba'
'0x010126aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da92e3fb4c297a84c5cebc0e78257d213d0927ccc7596044c6ba013dd05522aacba'
);
});
});
@@ -9,19 +9,19 @@
"prefix": "System",
"items": [
{
"name": "AccountNonce",
"name": "Account",
"modifier": "Default",
"type": {
"Map": {
"hasher": "Blake2_256",
"key": "AccountId",
"value": "Index",
"value": "(Index,AccountData)",
"linked": false
}
},
"fallback": "0x00000000",
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
" Extrinsics nonce for accounts."
" The full account information for a particular account ID."
]
},
{
@@ -78,7 +78,7 @@
"modifier": "Default",
"type": {
"Map": {
"hasher": "Blake2_256",
"hasher": "Twox64Concat",
"key": "u32",
"value": "Bytes",
"linked": false
@@ -313,6 +313,24 @@
"documentation": [
" `:code` was updated."
]
},
{
"name": "NewAccount",
"args": [
"AccountId"
],
"documentation": [
" A new account was created."
]
},
{
"name": "ReapedAccount",
"args": [
"AccountId"
],
"documentation": [
" An account was reaped."
]
}
],
"constants": [],
@@ -1069,47 +1087,159 @@
"prefix": "Indices",
"items": [
{
"name": "NextEnumSet",
"modifier": "Default",
"type": {
"Plain": "AccountIndex"
},
"fallback": "0x00000000",
"documentation": [
" The next free enumeration set."
]
},
{
"name": "EnumSet",
"modifier": "Default",
"name": "Accounts",
"modifier": "Optional",
"type": {
"Map": {
"hasher": "Blake2_256",
"hasher": "Blake2_128Concat",
"key": "AccountIndex",
"value": "Vec<AccountId>",
"value": "(AccountId,BalanceOf)",
"linked": false
}
},
"fallback": "0x00",
"documentation": [
" The enumeration sets."
" The lookup from index to account."
]
}
]
},
"calls": [],
"calls": [
{
"name": "claim",
"args": [
{
"name": "index",
"type": "AccountIndex"
}
],
"documentation": [
" Assign an previously unassigned index.",
"",
" Payment: `Deposit` is reserved from the sender account.",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" - `index`: the index to be claimed. This must not be in use.",
"",
" Emits `IndexAssigned` if successful.",
"",
" # <weight>",
" - `O(1)`.",
" - One storage mutation (codec `O(1)`).",
" - One reserve operation.",
" - One event.",
" # </weight>"
]
},
{
"name": "transfer",
"args": [
{
"name": "new",
"type": "AccountId"
},
{
"name": "index",
"type": "AccountIndex"
}
],
"documentation": [
" Assign an index already owned by the sender to another account. The balance reservation",
" is effectively transfered to the new account.",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" - `index`: the index to be re-assigned. This must be owned by the sender.",
" - `new`: the new owner of the index. This function is a no-op if it is equal to sender.",
"",
" Emits `IndexAssigned` if successful.",
"",
" # <weight>",
" - `O(1)`.",
" - One storage mutation (codec `O(1)`).",
" - One transfer operation.",
" - One event.",
" # </weight>"
]
},
{
"name": "free",
"args": [
{
"name": "index",
"type": "AccountIndex"
}
],
"documentation": [
" Free up an index owned by the sender.",
"",
" Payment: Any previous deposit placed for the index is unreserved in the sender account.",
"",
" The dispatch origin for this call must be _Signed_ and the sender must own the index.",
"",
" - `index`: the index to be freed. This must be owned by the sender.",
"",
" Emits `IndexFreed` if successful.",
"",
" # <weight>",
" - `O(1)`.",
" - One storage mutation (codec `O(1)`).",
" - One reserve operation.",
" - One event.",
" # </weight>"
]
},
{
"name": "force_transfer",
"args": [
{
"name": "new",
"type": "AccountId"
},
{
"name": "index",
"type": "AccountIndex"
}
],
"documentation": [
" Force an index to an account. This doesn't require a deposit. If the index is already",
" held, then any deposit is reimbursed to its current owner.",
"",
" The dispatch origin for this call must be _Root_.",
"",
" - `index`: the index to be (re-)assigned.",
" - `new`: the new owner of the index. This function is a no-op if it is equal to sender.",
"",
" Emits `IndexAssigned` if successful.",
"",
" # <weight>",
" - `O(1)`.",
" - One storage mutation (codec `O(1)`).",
" - Up to one reserve operation.",
" - One event.",
" # </weight>"
]
}
],
"events": [
{
"name": "NewAccountIndex",
"name": "IndexAssigned",
"args": [
"AccountId",
"AccountIndex"
],
"documentation": [
" A new account index was assigned.",
"",
" This event is not triggered when an existing index is reassigned",
" to another `AccountId`."
" A account index was assigned."
]
},
{
"name": "IndexFreed",
"args": [
"AccountIndex"
],
"documentation": [
" A account index has been freed up (unassigned)."
]
}
],
@@ -1148,7 +1278,9 @@
" The balance of an account.",
"",
" NOTE: THIS MAY NEVER BE IN EXISTENCE AND YET HAVE A `total().is_zero()`. If the total",
" is ever zero, then the entry *MUST* be removed."
" is ever zero, then the entry *MUST* be removed.",
"",
" NOTE: This is only used in the case that this module is used to store balances."
]
},
{
@@ -1300,23 +1432,24 @@
],
"events": [
{
"name": "NewAccount",
"name": "Endowed",
"args": [
"AccountId",
"Balance"
],
"documentation": [
" A new account was created."
" An account was created with some free balance."
]
},
{
"name": "ReapedAccount",
"name": "DustLost",
"args": [
"AccountId",
"Balance"
],
"documentation": [
" An account was reaped."
" An account was removed whose balance was non-zero but below ExistentialDeposit,",
" resulting in an outright loss."
]
},
{
@@ -1324,11 +1457,10 @@
"args": [
"AccountId",
"AccountId",
"Balance",
"Balance"
],
"documentation": [
" Transfer succeeded (from, to, value, fees)."
" Transfer succeeded (from, to, value)."
]
},
{
@@ -1361,14 +1493,6 @@
"documentation": [
" The minimum amount required to keep an account open."
]
},
{
"name": "CreationFee",
"type": "Balance",
"value": "0x0010a5d4e80000000000000000000000",
"documentation": [
" The fee required to create an account."
]
}
],
"errors": [
@@ -1811,17 +1935,6 @@
"documentation": [
" The earliest era for which we have a pending, unapplied slash."
]
},
{
"name": "StorageVersion",
"modifier": "Default",
"type": {
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
" The version of storage for upgrade."
]
}
]
},
@@ -2589,7 +2702,7 @@
" Get the vote in a given referendum of a particular voter. The result is meaningful only",
" if `voters_for` includes the voter when called with the referendum (you'll get the",
" default `Vote` value otherwise). If you don't want to check `voters_for`, then you can",
" also check for simple existence with `VoteOf::exists` first."
" also check for simple existence with `VoteOf::contains_key` first."
]
},
{
@@ -5564,14 +5677,6 @@
" to removal of a contract."
]
},
{
"name": "CreationFee",
"type": "BalanceOf",
"value": "0x0010a5d4e80000000000000000000000",
"documentation": [
" The fee required to create an account."
]
},
{
"name": "TransactionBaseFee",
"type": "BalanceOf",
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -31,11 +31,11 @@
"@polkadot/metadata": "^1.2.0-beta.16",
"@polkadot/rpc-provider": "^1.2.0-beta.16",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"memoizee": "^0.4.14",
"rxjs": "^6.5.4"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.0-beta.2"
"@polkadot/keyring": "^2.3.0-beta.5"
}
}
@@ -93,8 +93,8 @@ function formattingTests (version: string, decorated: Metadata, encodedValues: [
it('returns the fallback result on not-found values', (done): void => {
api.state
.getStorage([decorated.query.system.accountNonce, ADDR_ONE])
.subscribe((value): void => {
.getStorage([decorated.query.system.account, ADDR_ONE])
.subscribe(([value]: any): void => {
expect(value.toHex()).toEqual('0x00000000');
done();
});
+3 -3
View File
@@ -30,15 +30,15 @@
"@polkadot/jsonrpc": "^1.2.0-beta.16",
"@polkadot/metadata": "^1.2.0-beta.16",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util-crypto": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"@polkadot/util-crypto": "^2.3.0-beta.5",
"bn.js": "^5.1.1",
"eventemitter3": "^4.0.0",
"isomorphic-fetch": "^2.2.1",
"websocket": "^1.0.31"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.0-beta.2",
"@polkadot/keyring": "^2.3.0-beta.5",
"mock-socket": "^9.0.3",
"nock": "^11.8.2"
}
+1 -1
View File
@@ -177,7 +177,7 @@ export default class Mock implements ProviderInterface {
// increment the balances and nonce for each account
keyring.getPairs().forEach(({ publicKey }, index): void => {
// this.setStateBn(metadata.query.balances.freeBalance(publicKey), newHead.number.toBn().muln(3).iaddn(index));
this.setStateBn(metadata.query.system.accountNonce(publicKey), newHead.number.toBn().addn(index));
this.setStateBn(metadata.query.system.account(publicKey), newHead.number.toBn().addn(index));
});
// set the timestamp for the current block
+1 -1
View File
@@ -28,6 +28,6 @@
"dependencies": {
"@babel/runtime": "^7.8.4",
"@polkadot/types": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2"
"@polkadot/util": "^2.3.0-beta.5"
}
}
+3 -3
View File
@@ -35,8 +35,8 @@
"@babel/runtime": "^7.8.4",
"@polkadot/api": "^1.2.0-beta.16",
"@polkadot/metadata": "^1.2.0-beta.16",
"@polkadot/util": "^2.3.0-beta.2",
"@polkadot/util-crypto": "^2.3.0-beta.2",
"@polkadot/util": "^2.3.0-beta.5",
"@polkadot/util-crypto": "^2.3.0-beta.5",
"bn.js": "^5.1.1",
"memoizee": "^0.4.14",
"rxjs": "^6.5.4",
@@ -44,7 +44,7 @@
"yargs": "^15.1.0"
},
"devDependencies": {
"@polkadot/keyring": "^2.3.0-beta.2",
"@polkadot/keyring": "^2.3.0-beta.5",
"@types/memoizee": "^0.4.3",
"@types/yargs": "^15.0.3"
}
+20 -19
View File
@@ -2016,10 +2016,10 @@
dependencies:
"@types/node" ">= 8"
"@polkadot/dev@^0.40.12":
version "0.40.12"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.40.12.tgz#a692cd274fbc568a5fbcf20ad0c37745a5945aa0"
integrity sha512-dDXSX7tPELJRC+Xc51rlOrbgvH0UdM+aS0ZfQXgKchRP772oqRiVeZfYzh553FIhqUlXhAjesU2L03GRkFzddA==
"@polkadot/dev@^0.40.16":
version "0.40.16"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.40.16.tgz#45dc5ec8f791e38bed0fb4f9d8fde2a0854e488a"
integrity sha512-/vlk7E8TwnmAlLfwNE/7ePMuqSgapPcheWxnH7L+6hXNWKaAVAphjNEDq89D4DpHECxuL9pQvlwGTFM1r8/qkw==
dependencies:
"@babel/cli" "^7.8.4"
"@babel/core" "^7.8.4"
@@ -2057,6 +2057,7 @@
eslint-plugin-react "^7.18.3"
eslint-plugin-react-hooks "^2.3.0"
eslint-plugin-standard "^4.0.1"
fs-extra "^8.1.0"
gh-pages "^2.2.0"
jest "^25.1.0"
jest-cli "^25.1.0"
@@ -2076,14 +2077,14 @@
webpack-cli "^3.3.11"
yargs "^15.1.0"
"@polkadot/keyring@^2.3.0-beta.2":
version "2.3.0-beta.2"
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-2.3.0-beta.2.tgz#0100978be30a15441a238ac8d2964e0513059674"
integrity sha512-d3j55nxrbBqaqShwPE6Gon+cXkvFzgwfeahtGg+uPB7ufsZUP7Ni7oJPIg+iwLA6zltM5eYKqUxT2cgGfbBk+w==
"@polkadot/keyring@^2.3.0-beta.5":
version "2.3.0-beta.5"
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-2.3.0-beta.5.tgz#7ad9a1aa3792f03e7c988d9391dfbebc63234c6e"
integrity sha512-YU6VLWz6hwe01pG2gBmyuEFukciHrrwWQ0sBOc6atirqdh4Q2ZCHRJkr4hsL4o1rAVL5mypZx+fzQuIxp7Ru5A==
dependencies:
"@babel/runtime" "^7.8.4"
"@polkadot/util" "^2.3.0-beta.2"
"@polkadot/util-crypto" "^2.3.0-beta.2"
"@polkadot/util" "^2.3.0-beta.5"
"@polkadot/util-crypto" "^2.3.0-beta.5"
"@polkadot/ts@^0.2.3":
version "0.2.3"
@@ -2092,13 +2093,13 @@
dependencies:
"@types/chrome" "^0.0.95"
"@polkadot/util-crypto@^2.3.0-beta.2":
version "2.3.0-beta.2"
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-2.3.0-beta.2.tgz#8226f46a1961c69cddb3ea78bdd9a8bd34eea9b8"
integrity sha512-pWsSybAdHwFeUuXUpbnWl90i8qV3XuvFVRRtosxvXj951I841oIhZU+y11YA2u5/MZNGTW8GDgvuQUtOiLFxrg==
"@polkadot/util-crypto@^2.3.0-beta.5":
version "2.3.0-beta.5"
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-2.3.0-beta.5.tgz#4c03619d20fc51a2dc06735962132bab1a0a4ef2"
integrity sha512-lhipRbqpnedvwCjt80OH9cfkbONDnvF6LJ9yCWZq6pUj89HIaaW4gu7P/FKwW/ivtFXesuWSXACSItOt3tJ0qw==
dependencies:
"@babel/runtime" "^7.8.4"
"@polkadot/util" "^2.3.0-beta.2"
"@polkadot/util" "^2.3.0-beta.5"
"@polkadot/wasm-crypto" "^0.20.1"
"@types/bs58" "^4.0.0"
"@types/elliptic" "^6.4.12"
@@ -2115,10 +2116,10 @@
tweetnacl "^1.0.3"
xxhashjs "^0.2.2"
"@polkadot/util@^2.3.0-beta.2":
version "2.3.0-beta.2"
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-2.3.0-beta.2.tgz#e3dcfb2c48f02a3693955f91835c514a15acd57a"
integrity sha512-aBPEaLrIUBv913XuTMP5nhX7AwpWGBcvqMGAq+ESMLTITTRQh82Yto9s0Up5GxDs0mh76eYW6vLOy5BgEXENLQ==
"@polkadot/util@^2.3.0-beta.5":
version "2.3.0-beta.5"
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-2.3.0-beta.5.tgz#32b097a75dc64ed6b003093fab275a066c08eb86"
integrity sha512-9VOjeaoeWjfqLGvWZvW2UW4yVl6S+87Zec1H1Uj6+Ucc2Szv1AMgkNhuCkgsfILZ05D5aCS/mNPeAl7z6bGPpg==
dependencies:
"@babel/runtime" "^7.8.4"
"@types/bn.js" "^4.11.6"