diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 473787efb6..b2a7cc4528 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,4 +1,4 @@ - 2876 Jaco Output BitVec toHuman to LSB (limit support) (#4676) + 2877 Jaco Add dev_getBlockStats RPC (#4677) 83 Amaury Martiny StatementKind: Regular and Saft (#2303) 37 Keith Ingram Update contract types and rpc (#4541) 35 Stefanie Doll Updated child storage parameters (#1709) diff --git a/package.json b/package.json index de77a8d0d1..6a48ff231b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "sideEffects": false, "type": "commonjs", - "version": "7.13.2-2", + "version": "7.13.2-3", "workspaces": [ "packages/*" ], diff --git a/packages/api-augment/package.json b/packages/api-augment/package.json index 4cc9d06296..a986c7e5fe 100644 --- a/packages/api-augment/package.json +++ b/packages/api-augment/package.json @@ -20,18 +20,18 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/api-base": "7.13.2-2", - "@polkadot/rpc-augment": "7.13.2-2", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-augment": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", + "@polkadot/api-base": "7.13.2-3", + "@polkadot/rpc-augment": "7.13.2-3", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-augment": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", "@polkadot/util": "^8.6.1" }, "devDependencies": { - "@polkadot/types-support": "7.13.2-2" + "@polkadot/types-support": "7.13.2-3" } } diff --git a/packages/api-augment/src/packageInfo.ts b/packages/api-augment/src/packageInfo.ts index f2443bf0a3..108be1aee7 100644 --- a/packages/api-augment/src/packageInfo.ts +++ b/packages/api-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/api-base/package.json b/packages/api-base/package.json index b16f07c641..19a10b3cd9 100644 --- a/packages/api-base/package.json +++ b/packages/api-base/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/rpc-core": "7.13.2-2", - "@polkadot/types": "7.13.2-2", + "@polkadot/rpc-core": "7.13.2-3", + "@polkadot/types": "7.13.2-3", "@polkadot/util": "^8.6.1", "rxjs": "^7.5.5" } diff --git a/packages/api-base/src/packageInfo.ts b/packages/api-base/src/packageInfo.ts index 7c9d6dae64..c7d22a3a23 100644 --- a/packages/api-base/src/packageInfo.ts +++ b/packages/api-base/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index cb01ef2bbb..57bec2dcfa 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -20,20 +20,20 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/api": "7.13.2-2", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", - "@polkadot/types-create": "7.13.2-2", + "@polkadot/api": "7.13.2-3", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", + "@polkadot/types-create": "7.13.2-3", "@polkadot/util": "^8.6.1", "@polkadot/util-crypto": "^8.6.1", "rxjs": "^7.5.5" }, "devDependencies": { - "@polkadot/api-augment": "7.13.2-2", + "@polkadot/api-augment": "7.13.2-3", "@polkadot/keyring": "^8.6.1" } } diff --git a/packages/api-contract/src/packageInfo.ts b/packages/api-contract/src/packageInfo.ts index f7ca7e374e..0b61d69041 100644 --- a/packages/api-contract/src/packageInfo.ts +++ b/packages/api-contract/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 0fa3b2ba2b..4fb4c807de 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -20,25 +20,25 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/api": "7.13.2-2", - "@polkadot/api-augment": "7.13.2-2", - "@polkadot/api-base": "7.13.2-2", - "@polkadot/rpc-core": "7.13.2-2", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", + "@polkadot/api": "7.13.2-3", + "@polkadot/api-augment": "7.13.2-3", + "@polkadot/api-base": "7.13.2-3", + "@polkadot/rpc-core": "7.13.2-3", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", "@polkadot/util": "^8.6.1", "@polkadot/util-crypto": "^8.6.1", "rxjs": "^7.5.5" }, "devDependencies": { - "@polkadot/api": "7.13.2-2", - "@polkadot/api-augment": "7.13.2-2", - "@polkadot/rpc-augment": "7.13.2-2", - "@polkadot/rpc-provider": "7.13.2-2", - "@polkadot/types-support": "7.13.2-2" + "@polkadot/api": "7.13.2-3", + "@polkadot/api-augment": "7.13.2-3", + "@polkadot/rpc-augment": "7.13.2-3", + "@polkadot/rpc-provider": "7.13.2-3", + "@polkadot/types-support": "7.13.2-3" } } diff --git a/packages/api-derive/src/packageInfo.ts b/packages/api-derive/src/packageInfo.ts index 1b05b29789..b8254421f5 100644 --- a/packages/api-derive/src/packageInfo.ts +++ b/packages/api-derive/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/api/package.json b/packages/api/package.json index 91d68985c1..fcc06d4184 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -20,29 +20,29 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/api-augment": "7.13.2-2", - "@polkadot/api-base": "7.13.2-2", - "@polkadot/api-derive": "7.13.2-2", + "@polkadot/api-augment": "7.13.2-3", + "@polkadot/api-base": "7.13.2-3", + "@polkadot/api-derive": "7.13.2-3", "@polkadot/keyring": "^8.6.1", - "@polkadot/rpc-augment": "7.13.2-2", - "@polkadot/rpc-core": "7.13.2-2", - "@polkadot/rpc-provider": "7.13.2-2", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-augment": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", - "@polkadot/types-create": "7.13.2-2", - "@polkadot/types-known": "7.13.2-2", + "@polkadot/rpc-augment": "7.13.2-3", + "@polkadot/rpc-core": "7.13.2-3", + "@polkadot/rpc-provider": "7.13.2-3", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-augment": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", + "@polkadot/types-create": "7.13.2-3", + "@polkadot/types-known": "7.13.2-3", "@polkadot/util": "^8.6.1", "@polkadot/util-crypto": "^8.6.1", "eventemitter3": "^4.0.7", "rxjs": "^7.5.5" }, "devDependencies": { - "@polkadot/api-augment": "7.13.2-2", - "@polkadot/types-support": "7.13.2-2" + "@polkadot/api-augment": "7.13.2-3", + "@polkadot/types-support": "7.13.2-3" } } diff --git a/packages/api/src/packageInfo.ts b/packages/api/src/packageInfo.ts index 0b9d418a73..a99207d7db 100644 --- a/packages/api/src/packageInfo.ts +++ b/packages/api/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/rpc-augment/package.json b/packages/rpc-augment/package.json index cfac7c9b00..87b970df91 100644 --- a/packages/rpc-augment/package.json +++ b/packages/rpc-augment/package.json @@ -20,13 +20,13 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/rpc-core": "7.13.2-2", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", + "@polkadot/rpc-core": "7.13.2-3", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", "@polkadot/util": "^8.6.1" } } diff --git a/packages/rpc-augment/src/augment/jsonrpc.ts b/packages/rpc-augment/src/augment/jsonrpc.ts index ec333f5528..1c0e5a0ee8 100644 --- a/packages/rpc-augment/src/augment/jsonrpc.ts +++ b/packages/rpc-augment/src/augment/jsonrpc.ts @@ -12,6 +12,7 @@ import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts'; +import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { CreatedBlock } from '@polkadot/types/interfaces/engine'; import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; @@ -155,6 +156,12 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable>; }; + dev: { + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ + getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable>>; + }; engine: { /** * Instructs the manual-seal authorship task to create a new block diff --git a/packages/rpc-augment/src/packageInfo.ts b/packages/rpc-augment/src/packageInfo.ts index 53db8bec5e..c1caf2f37b 100644 --- a/packages/rpc-augment/src/packageInfo.ts +++ b/packages/rpc-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 2f5e3991d5..a7f85f74c0 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -20,18 +20,18 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/rpc-augment": "7.13.2-2", - "@polkadot/rpc-provider": "7.13.2-2", - "@polkadot/types": "7.13.2-2", + "@polkadot/rpc-augment": "7.13.2-3", + "@polkadot/rpc-provider": "7.13.2-3", + "@polkadot/types": "7.13.2-3", "@polkadot/util": "^8.6.1", "rxjs": "^7.5.5" }, "devDependencies": { "@polkadot/keyring": "^8.6.1", - "@polkadot/rpc-augment": "7.13.2-2" + "@polkadot/rpc-augment": "7.13.2-3" } } diff --git a/packages/rpc-core/src/packageInfo.ts b/packages/rpc-core/src/packageInfo.ts index aa45d8c6aa..fd1e00d08c 100644 --- a/packages/rpc-core/src/packageInfo.ts +++ b/packages/rpc-core/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index e11b993be2..4f74ede2a8 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -20,13 +20,13 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", "@polkadot/keyring": "^8.6.1", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-support": "7.13.2-2", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-support": "7.13.2-3", "@polkadot/util": "^8.6.1", "@polkadot/util-crypto": "^8.6.1", "@polkadot/x-fetch": "^8.6.1", diff --git a/packages/rpc-provider/src/packageInfo.ts b/packages/rpc-provider/src/packageInfo.ts index 6e01cfffff..aa11341edd 100644 --- a/packages/rpc-provider/src/packageInfo.ts +++ b/packages/rpc-provider/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/typegen/package.json b/packages/typegen/package.json index cf3588d254..f5709a164b 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "bin": { "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs", @@ -33,15 +33,15 @@ "@babel/core": "^7.17.8", "@babel/register": "^7.17.7", "@babel/runtime": "^7.17.8", - "@polkadot/api": "7.13.2-2", - "@polkadot/api-augment": "7.13.2-2", - "@polkadot/rpc-augment": "7.13.2-2", - "@polkadot/rpc-provider": "7.13.2-2", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-augment": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", - "@polkadot/types-create": "7.13.2-2", - "@polkadot/types-support": "7.13.2-2", + "@polkadot/api": "7.13.2-3", + "@polkadot/api-augment": "7.13.2-3", + "@polkadot/rpc-augment": "7.13.2-3", + "@polkadot/rpc-provider": "7.13.2-3", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-augment": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", + "@polkadot/types-create": "7.13.2-3", + "@polkadot/types-support": "7.13.2-3", "@polkadot/util": "^8.6.1", "@polkadot/x-ws": "^8.6.1", "handlebars": "^4.7.7", diff --git a/packages/typegen/src/packageInfo.ts b/packages/typegen/src/packageInfo.ts index e9614f764d..ec96bf1617 100644 --- a/packages/typegen/src/packageInfo.ts +++ b/packages/typegen/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/types-augment/package.json b/packages/types-augment/package.json index 137b63337c..2bb87a73d4 100644 --- a/packages/types-augment/package.json +++ b/packages/types-augment/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", "@polkadot/util": "^8.6.1" } } diff --git a/packages/types-augment/src/packageInfo.ts b/packages/types-augment/src/packageInfo.ts index c9148295b9..c7fc86f498 100644 --- a/packages/types-augment/src/packageInfo.ts +++ b/packages/types-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/types-augment/src/registry/interfaces.ts b/packages/types-augment/src/registry/interfaces.ts index 247958ed86..9a334b8077 100644 --- a/packages/types-augment/src/registry/interfaces.ts +++ b/packages/types-augment/src/registry/interfaces.ts @@ -22,6 +22,7 @@ import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, Contract import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; +import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; @@ -152,6 +153,7 @@ declare module '@polkadot/types/types/registry' { BlockNumber: BlockNumber; BlockNumberFor: BlockNumberFor; BlockNumberOf: BlockNumberOf; + BlockStats: BlockStats; BlockTrace: BlockTrace; BlockTraceEvent: BlockTraceEvent; BlockTraceEventData: BlockTraceEventData; diff --git a/packages/types-codec/package.json b/packages/types-codec/package.json index c0deea73c6..bd88db1987 100644 --- a/packages/types-codec/package.json +++ b/packages/types-codec/package.json @@ -20,16 +20,16 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", "@polkadot/util": "^8.6.1" }, "devDependencies": { - "@polkadot/types": "7.13.2-2", - "@polkadot/types-augment": "7.13.2-2", - "@polkadot/types-support": "7.13.2-2", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-augment": "7.13.2-3", + "@polkadot/types-support": "7.13.2-3", "@polkadot/util-crypto": "^8.6.1" } } diff --git a/packages/types-codec/src/packageInfo.ts b/packages/types-codec/src/packageInfo.ts index 374ca7130d..631f3b08f8 100644 --- a/packages/types-codec/src/packageInfo.ts +++ b/packages/types-codec/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/types-create/package.json b/packages/types-create/package.json index f1b7a49359..1c12c5c17e 100644 --- a/packages/types-create/package.json +++ b/packages/types-create/package.json @@ -20,14 +20,14 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", - "@polkadot/types-codec": "7.13.2-2", + "@polkadot/types-codec": "7.13.2-3", "@polkadot/util": "^8.6.1" }, "devDependencies": { - "@polkadot/types": "7.13.2-2" + "@polkadot/types": "7.13.2-3" } } diff --git a/packages/types-create/src/packageInfo.ts b/packages/types-create/src/packageInfo.ts index 13e3857874..9b322c5339 100644 --- a/packages/types-create/src/packageInfo.ts +++ b/packages/types-create/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/types-known/package.json b/packages/types-known/package.json index e0cfd2e159..feebda727c 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -20,14 +20,14 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", "@polkadot/networks": "^8.6.1", - "@polkadot/types": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", - "@polkadot/types-create": "7.13.2-2", + "@polkadot/types": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", + "@polkadot/types-create": "7.13.2-3", "@polkadot/util": "^8.6.1" } } diff --git a/packages/types-known/src/packageInfo.ts b/packages/types-known/src/packageInfo.ts index b69e876c13..966c396c9f 100644 --- a/packages/types-known/src/packageInfo.ts +++ b/packages/types-known/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/types-support/package.json b/packages/types-support/package.json index 103ebbef6d..d8deb22244 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", diff --git a/packages/types-support/src/packageInfo.ts b/packages/types-support/src/packageInfo.ts index 60a6271733..ad0cfd145c 100644 --- a/packages/types-support/src/packageInfo.ts +++ b/packages/types-support/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/packages/types/package.json b/packages/types/package.json index a3cfae10af..6210a76592 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -20,20 +20,20 @@ "./detectPackage.cjs" ], "type": "module", - "version": "7.13.2-2", + "version": "7.13.2-3", "main": "index.js", "dependencies": { "@babel/runtime": "^7.17.8", "@polkadot/keyring": "^8.6.1", - "@polkadot/types-augment": "7.13.2-2", - "@polkadot/types-codec": "7.13.2-2", - "@polkadot/types-create": "7.13.2-2", + "@polkadot/types-augment": "7.13.2-3", + "@polkadot/types-codec": "7.13.2-3", + "@polkadot/types-create": "7.13.2-3", "@polkadot/util": "^8.6.1", "@polkadot/util-crypto": "^8.6.1", "rxjs": "^7.5.5" }, "devDependencies": { "@polkadot/keyring": "^8.6.1", - "@polkadot/types-support": "7.13.2-2" + "@polkadot/types-support": "7.13.2-3" } } diff --git a/packages/types/src/interfaces/dev/index.ts b/packages/types/src/interfaces/dev/index.ts new file mode 100644 index 0000000000..2d307291c3 --- /dev/null +++ b/packages/types/src/interfaces/dev/index.ts @@ -0,0 +1,4 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +/* eslint-disable */ + +export * from './types'; diff --git a/packages/types/src/interfaces/dev/types.ts b/packages/types/src/interfaces/dev/types.ts new file mode 100644 index 0000000000..ab22366d92 --- /dev/null +++ b/packages/types/src/interfaces/dev/types.ts @@ -0,0 +1,14 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +/* eslint-disable */ + +import type { Struct, u64 } from '@polkadot/types-codec'; + +/** @name BlockStats */ +export interface BlockStats extends Struct { + readonly witnessLen: u64; + readonly witnessCompactLen: u64; + readonly blockLen: u64; + readonly blockNumExtrinsics: u64; +} + +export type PHANTOM_DEV = 'dev'; diff --git a/packages/types/src/interfaces/types.ts b/packages/types/src/interfaces/types.ts index 45bbab83bb..fdd102b1f5 100644 --- a/packages/types/src/interfaces/types.ts +++ b/packages/types/src/interfaces/types.ts @@ -20,6 +20,7 @@ export * from './contractsAbi/types'; export * from './crowdloan/types'; export * from './cumulus/types'; export * from './democracy/types'; +export * from './dev/types'; export * from './elections/types'; export * from './engine/types'; export * from './eth/types'; diff --git a/packages/types/src/packageInfo.ts b/packages/types/src/packageInfo.ts index ffc29b54d1..5c9ee3a234 100644 --- a/packages/types/src/packageInfo.ts +++ b/packages/types/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.13.2-2' }; +export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.13.2-3' }; diff --git a/yarn.lock b/yarn.lock index ea6ec14fba..73012f20a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1902,28 +1902,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@7.13.2-2, @polkadot/api-augment@workspace:packages/api-augment": +"@polkadot/api-augment@7.13.2-3, @polkadot/api-augment@workspace:packages/api-augment": version: 0.0.0-use.local resolution: "@polkadot/api-augment@workspace:packages/api-augment" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/api-base": 7.13.2-2 - "@polkadot/rpc-augment": 7.13.2-2 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-augment": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/api-base": 7.13.2-3 + "@polkadot/rpc-augment": 7.13.2-3 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-augment": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 languageName: unknown linkType: soft -"@polkadot/api-base@7.13.2-2, @polkadot/api-base@workspace:packages/api-base": +"@polkadot/api-base@7.13.2-3, @polkadot/api-base@workspace:packages/api-base": version: 0.0.0-use.local resolution: "@polkadot/api-base@workspace:packages/api-base" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/rpc-core": 7.13.2-2 - "@polkadot/types": 7.13.2-2 + "@polkadot/rpc-core": 7.13.2-3 + "@polkadot/types": 7.13.2-3 "@polkadot/util": ^8.6.1 rxjs: ^7.5.5 languageName: unknown @@ -1934,56 +1934,56 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/api": 7.13.2-2 - "@polkadot/api-augment": 7.13.2-2 + "@polkadot/api": 7.13.2-3 + "@polkadot/api-augment": 7.13.2-3 "@polkadot/keyring": ^8.6.1 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-create": 7.13.2-2 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-create": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/util-crypto": ^8.6.1 rxjs: ^7.5.5 languageName: unknown linkType: soft -"@polkadot/api-derive@7.13.2-2, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@7.13.2-3, @polkadot/api-derive@workspace:packages/api-derive": version: 0.0.0-use.local resolution: "@polkadot/api-derive@workspace:packages/api-derive" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/api": 7.13.2-2 - "@polkadot/api-augment": 7.13.2-2 - "@polkadot/api-base": 7.13.2-2 - "@polkadot/rpc-augment": 7.13.2-2 - "@polkadot/rpc-core": 7.13.2-2 - "@polkadot/rpc-provider": 7.13.2-2 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/api": 7.13.2-3 + "@polkadot/api-augment": 7.13.2-3 + "@polkadot/api-base": 7.13.2-3 + "@polkadot/rpc-augment": 7.13.2-3 + "@polkadot/rpc-core": 7.13.2-3 + "@polkadot/rpc-provider": 7.13.2-3 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/util-crypto": ^8.6.1 rxjs: ^7.5.5 languageName: unknown linkType: soft -"@polkadot/api@7.13.2-2, @polkadot/api@workspace:packages/api": +"@polkadot/api@7.13.2-3, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/api-augment": 7.13.2-2 - "@polkadot/api-base": 7.13.2-2 - "@polkadot/api-derive": 7.13.2-2 + "@polkadot/api-augment": 7.13.2-3 + "@polkadot/api-base": 7.13.2-3 + "@polkadot/api-derive": 7.13.2-3 "@polkadot/keyring": ^8.6.1 - "@polkadot/rpc-augment": 7.13.2-2 - "@polkadot/rpc-core": 7.13.2-2 - "@polkadot/rpc-provider": 7.13.2-2 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-augment": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-create": 7.13.2-2 - "@polkadot/types-known": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/rpc-augment": 7.13.2-3 + "@polkadot/rpc-core": 7.13.2-3 + "@polkadot/rpc-provider": 7.13.2-3 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-augment": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-create": 7.13.2-3 + "@polkadot/types-known": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/util-crypto": ^8.6.1 eventemitter3: ^4.0.7 @@ -2108,40 +2108,40 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@7.13.2-2, @polkadot/rpc-augment@workspace:packages/rpc-augment": +"@polkadot/rpc-augment@7.13.2-3, @polkadot/rpc-augment@workspace:packages/rpc-augment": version: 0.0.0-use.local resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/rpc-core": 7.13.2-2 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 + "@polkadot/rpc-core": 7.13.2-3 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 "@polkadot/util": ^8.6.1 languageName: unknown linkType: soft -"@polkadot/rpc-core@7.13.2-2, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@7.13.2-3, @polkadot/rpc-core@workspace:packages/rpc-core": version: 0.0.0-use.local resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: "@babel/runtime": ^7.17.8 "@polkadot/keyring": ^8.6.1 - "@polkadot/rpc-augment": 7.13.2-2 - "@polkadot/rpc-provider": 7.13.2-2 - "@polkadot/types": 7.13.2-2 + "@polkadot/rpc-augment": 7.13.2-3 + "@polkadot/rpc-provider": 7.13.2-3 + "@polkadot/types": 7.13.2-3 "@polkadot/util": ^8.6.1 rxjs: ^7.5.5 languageName: unknown linkType: soft -"@polkadot/rpc-provider@7.13.2-2, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@7.13.2-3, @polkadot/rpc-provider@workspace:packages/rpc-provider": version: 0.0.0-use.local resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: "@babel/runtime": ^7.17.8 "@polkadot/keyring": ^8.6.1 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/util-crypto": ^8.6.1 "@polkadot/x-fetch": ^8.6.1 @@ -2160,15 +2160,15 @@ __metadata: "@babel/core": ^7.17.8 "@babel/register": ^7.17.7 "@babel/runtime": ^7.17.8 - "@polkadot/api": 7.13.2-2 - "@polkadot/api-augment": 7.13.2-2 - "@polkadot/rpc-augment": 7.13.2-2 - "@polkadot/rpc-provider": 7.13.2-2 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-augment": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-create": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/api": 7.13.2-3 + "@polkadot/api-augment": 7.13.2-3 + "@polkadot/rpc-augment": 7.13.2-3 + "@polkadot/rpc-provider": 7.13.2-3 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-augment": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-create": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/x-ws": ^8.6.1 "@types/websocket": ^1.0.5 @@ -2185,55 +2185,55 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-augment@7.13.2-2, @polkadot/types-augment@workspace:packages/types-augment": +"@polkadot/types-augment@7.13.2-3, @polkadot/types-augment@workspace:packages/types-augment": version: 0.0.0-use.local resolution: "@polkadot/types-augment@workspace:packages/types-augment" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 "@polkadot/util": ^8.6.1 languageName: unknown linkType: soft -"@polkadot/types-codec@7.13.2-2, @polkadot/types-codec@workspace:packages/types-codec": +"@polkadot/types-codec@7.13.2-3, @polkadot/types-codec@workspace:packages/types-codec": version: 0.0.0-use.local resolution: "@polkadot/types-codec@workspace:packages/types-codec" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-augment": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-augment": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/util-crypto": ^8.6.1 languageName: unknown linkType: soft -"@polkadot/types-create@7.13.2-2, @polkadot/types-create@workspace:packages/types-create": +"@polkadot/types-create@7.13.2-3, @polkadot/types-create@workspace:packages/types-create": version: 0.0.0-use.local resolution: "@polkadot/types-create@workspace:packages/types-create" dependencies: "@babel/runtime": ^7.17.8 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 "@polkadot/util": ^8.6.1 languageName: unknown linkType: soft -"@polkadot/types-known@7.13.2-2, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@7.13.2-3, @polkadot/types-known@workspace:packages/types-known": version: 0.0.0-use.local resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: "@babel/runtime": ^7.17.8 "@polkadot/networks": ^8.6.1 - "@polkadot/types": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-create": 7.13.2-2 + "@polkadot/types": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-create": 7.13.2-3 "@polkadot/util": ^8.6.1 languageName: unknown linkType: soft -"@polkadot/types-support@7.13.2-2, @polkadot/types-support@workspace:packages/types-support": +"@polkadot/types-support@7.13.2-3, @polkadot/types-support@workspace:packages/types-support": version: 0.0.0-use.local resolution: "@polkadot/types-support@workspace:packages/types-support" dependencies: @@ -2242,16 +2242,16 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types@7.13.2-2, @polkadot/types@workspace:packages/types": +"@polkadot/types@7.13.2-3, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.17.8 "@polkadot/keyring": ^8.6.1 - "@polkadot/types-augment": 7.13.2-2 - "@polkadot/types-codec": 7.13.2-2 - "@polkadot/types-create": 7.13.2-2 - "@polkadot/types-support": 7.13.2-2 + "@polkadot/types-augment": 7.13.2-3 + "@polkadot/types-codec": 7.13.2-3 + "@polkadot/types-create": 7.13.2-3 + "@polkadot/types-support": 7.13.2-3 "@polkadot/util": ^8.6.1 "@polkadot/util-crypto": ^8.6.1 rxjs: ^7.5.5