diff --git a/package.json b/package.json index a10968e10c..0960069ed0 100644 --- a/package.json +++ b/package.json @@ -34,5 +34,5 @@ "@types/jest": "^26.0.20", "copyfiles": "^2.4.1" }, - "version": "3.7.4-4" + "version": "3.7.4-5" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 1f7b87f1b9..5c7c7bc72d 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", "sideEffects": false, @@ -13,8 +13,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/api": "3.7.4-4", - "@polkadot/types": "3.7.4-4", + "@polkadot/api": "3.7.4-5", + "@polkadot/types": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/x-rxjs": "^5.5.2", "bn.js": "^4.11.9" diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index aefc50a949..9ff7a6f0c5 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "sideEffects": false, @@ -13,9 +13,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/api": "3.7.4-4", - "@polkadot/rpc-core": "3.7.4-4", - "@polkadot/types": "3.7.4-4", + "@polkadot/api": "3.7.4-5", + "@polkadot/rpc-core": "3.7.4-5", + "@polkadot/types": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/util-crypto": "^5.5.2", "@polkadot/x-rxjs": "^5.5.2", @@ -23,6 +23,6 @@ }, "devDependencies": { "@polkadot/keyring": "^5.5.2", - "@polkadot/rpc-provider": "3.7.4-4" + "@polkadot/rpc-provider": "3.7.4-5" } } diff --git a/packages/api/package.json b/packages/api/package.json index 58e78d972c..fff0f2dc5c 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "sideEffects": [ @@ -16,13 +16,13 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/api-derive": "3.7.4-4", + "@polkadot/api-derive": "3.7.4-5", "@polkadot/keyring": "^5.5.2", - "@polkadot/metadata": "3.7.4-4", - "@polkadot/rpc-core": "3.7.4-4", - "@polkadot/rpc-provider": "3.7.4-4", - "@polkadot/types": "3.7.4-4", - "@polkadot/types-known": "3.7.4-4", + "@polkadot/metadata": "3.7.4-5", + "@polkadot/rpc-core": "3.7.4-5", + "@polkadot/rpc-provider": "3.7.4-5", + "@polkadot/types": "3.7.4-5", + "@polkadot/types-known": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/util-crypto": "^5.5.2", "@polkadot/x-rxjs": "^5.5.2", diff --git a/packages/api/src/augment/errors.ts b/packages/api/src/augment/errors.ts index 1781238193..7ee75efcc2 100644 --- a/packages/api/src/augment/errors.ts +++ b/packages/api/src/augment/errors.ts @@ -184,7 +184,8 @@ declare module '@polkadot/api/types/errors' { **/ CodeNotFound: AugmentedError; /** - * The code supplied to `put_code` exceeds the limit specified in the current schedule. + * The code supplied to `instantiate_with_code` exceeds the limit specified in the + * current schedule. **/ CodeTooLarge: AugmentedError; /** @@ -210,6 +211,10 @@ declare module '@polkadot/api/types/errors' { * Trying again during another block is the only way to resolve this issue. **/ DeletionQueueFull: AugmentedError; + /** + * A contract with the same AccountId already exists. + **/ + DuplicateContract: AugmentedError; /** * The topics passed to `seal_deposit_events` contains at least one duplicate. **/ diff --git a/packages/api/src/augment/events.ts b/packages/api/src/augment/events.ts index ebcdf5c2c6..65046ac48c 100644 --- a/packages/api/src/augment/events.ts +++ b/packages/api/src/augment/events.ts @@ -160,45 +160,71 @@ declare module '@polkadot/api/types/events' { contracts: { [key: string]: AugmentedEvent; /** - * Code with the specified hash has been stored. + * A code with the specified hash was removed. * \[code_hash\] + * + * This happens when the last contract that uses this code hash was removed or evicted. + **/ + CodeRemoved: AugmentedEvent; + /** + * Code with the specified hash has been stored. \[code_hash\] **/ CodeStored: AugmentedEvent; /** - * An event deposited upon execution of a contract from the account. - * \[account, data\] - **/ - ContractExecution: AugmentedEvent; - /** - * Contract has been evicted and is now in tombstone state. - * \[contract, tombstone\] + * A custom event emitted by the contract. + * \[contract, data\] * * # Params * - * - `contract`: `AccountId`: The account ID of the evicted contract. - * - `tombstone`: `bool`: True if the evicted contract left behind a tombstone. + * - `contract`: The contract that emitted the event. + * - `data`: Data supplied by the contract. Metadata generated during contract + * compilation is needed to decode it. **/ - Evicted: AugmentedEvent; + ContractEmitted: AugmentedEvent; /** - * Contract deployed by address at the specified address. \[owner, contract\] + * Contract has been evicted and is now in tombstone state. \[contract\] + **/ + Evicted: AugmentedEvent; + /** + * Contract deployed by address at the specified address. \[deployer, contract\] **/ Instantiated: AugmentedEvent; /** - * Restoration for a contract has been successful. - * \[donor, dest, code_hash, rent_allowance\] + * Restoration of a contract has been successful. + * \[restorer, dest, code_hash, rent_allowance\] * * # Params * - * - `donor`: `AccountId`: Account ID of the restoring contract - * - `dest`: `AccountId`: Account ID of the restored contract - * - `code_hash`: `Hash`: Code hash of the restored contract - * - `rent_allowance: `Balance`: Rent allowance of the restored contract + * - `restorer`: Account ID of the restoring contract. + * - `dest`: Account ID of the restored contract. + * - `code_hash`: Code hash of the restored contract. + * - `rent_allowance`: Rent allowance of the restored contract. **/ Restored: AugmentedEvent; /** - * Triggered when the current \[schedule\] is updated. + * Triggered when the current schedule is updated. + * \[version\] + * + * # Params + * + * - `version`: The version of the newly set schedule. **/ ScheduleUpdated: AugmentedEvent; + /** + * Contract has been terminated without leaving a tombstone. + * \[contract, beneficiary\] + * + * # Params + * + * - `contract`: The contract that was terminated. + * - `beneficiary`: The account that received the contracts remaining balance. + * + * # Note + * + * The only way for a contract to be removed without a tombstone and emitting + * this event is by calling `seal_terminate`. + **/ + Terminated: AugmentedEvent; }; council: { [key: string]: AugmentedEvent; diff --git a/packages/api/src/augment/query.ts b/packages/api/src/augment/query.ts index 00d9275212..70aefef57d 100644 --- a/packages/api/src/augment/query.ts +++ b/packages/api/src/augment/query.ts @@ -19,7 +19,7 @@ import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lotter import type { DeferredOffenceOf, Kind, OffenceDetails, OpaqueTimeSlot, ReportIdOf } from '@polkadot/types/interfaces/offences'; import type { ProxyAnnouncement, ProxyDefinition } from '@polkadot/types/interfaces/proxy'; import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; -import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Hash, KeyTypeId, Moment, OpaqueCall, Perbill, Releases, ValidatorId } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Hash, KeyTypeId, Moment, OpaqueCall, Perbill, Releases, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime'; import type { Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { Keys, SessionIndex } from '@polkadot/types/interfaces/session'; import type { Bid, BidKind, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; @@ -78,7 +78,7 @@ declare module '@polkadot/api/types/storage' { /** * Current slot number. **/ - currentSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; + currentSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Current epoch index. **/ @@ -87,7 +87,7 @@ declare module '@polkadot/api/types/storage' { * The slot at which the first epoch actually started. This is 0 * until the first block of the chain. **/ - genesisSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; + genesisSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Temporary value (cleared at block finalization) which is `Some` * if per-block initialization has already been called for current block. @@ -421,7 +421,7 @@ declare module '@polkadot/api/types/storage' { imOnline: { [key: string]: QueryableStorageEntry; /** - * For each session index, we keep a mapping of `T::ValidatorId` to the + * For each session index, we keep a mapping of `ValidatorId` to the * number of blocks authored by the given authority. **/ authoredBlocks: AugmentedQueryDoubleMap Observable, [SessionIndex, ValidatorId]> & QueryableStorageEntry; diff --git a/packages/api/src/augment/tx.ts b/packages/api/src/augment/tx.ts index 6d82e82ca6..a911bdc5a1 100644 --- a/packages/api/src/augment/tx.ts +++ b/packages/api/src/augment/tx.ts @@ -552,26 +552,37 @@ declare module '@polkadot/api/types/submittable' { **/ claimSurcharge: AugmentedSubmittable<(dest: AccountId | string | Uint8Array, auxSender: Option | null | object | string | Uint8Array) => SubmittableExtrinsic, [AccountId, Option]>; /** - * Instantiates a new contract from the `code_hash` generated by `put_code`, - * optionally transferring some balance. + * Instantiates a contract from a previously deployed wasm binary. * - * The supplied `salt` is used for contract address deriviation. See `fn contract_address`. - * - * Instantiation is executed as follows: - * - * - The destination address is computed based on the sender, code_hash and the salt. - * - The smart-contract account is created at the computed address. - * - The `ctor_code` is executed in the context of the newly-created account. Buffer returned - * after the execution is saved as the `code` of the account. That code will be invoked - * upon any call received by this account. - * - The contract is initialized. + * This function is identical to [`Self::instantiate_with_code`] but without the + * code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary + * must be supplied. **/ instantiate: AugmentedSubmittable<(endowment: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, codeHash: CodeHash | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Compact, CodeHash, Bytes, Bytes]>; /** - * Stores the given binary Wasm code into the chain's storage and returns its `codehash`. - * You can instantiate contracts only with stored code. + * Instantiates a new contract from the supplied `code` optionally transferring + * some balance. + * + * This is the only function that can deploy new code to the chain. + * + * # Parameters + * + * * `endowment`: The balance to transfer from the `origin` to the newly created contract. + * * `gas_limit`: The gas limit enforced when executing the constructor. + * * `code`: The contract code to deploy in raw bytes. + * * `data`: The input data to pass to the contract constructor. + * * `salt`: Used for the address derivation. See [`Self::contract_address`]. + * + * Instantiation is executed as follows: + * + * - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that code. + * - If the `code_hash` already exists on the chain the underlying `code` will be shared. + * - The destination address is computed based on the sender, code_hash and the salt. + * - The smart-contract account is created at the computed address. + * - The `endowment` is transferred to the new account. + * - The `deploy` function is executed in the context of the newly-created account. **/ - putCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + instantiateWithCode: AugmentedSubmittable<(endowment: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Compact, Bytes, Bytes, Bytes]>; /** * Updates the schedule for metering contracts. * diff --git a/packages/metadata/package.json b/packages/metadata/package.json index cbfe4bb3d4..357e830178 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/metadata", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Helpers to extract information from runtime metadata", "main": "index.js", "sideEffects": [ @@ -16,8 +16,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/types": "3.7.4-4", - "@polkadot/types-known": "3.7.4-4", + "@polkadot/types": "3.7.4-5", + "@polkadot/types-known": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/util-crypto": "^5.5.2", "bn.js": "^4.11.9" diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 5b5f1d3a31..4281b8db1c 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "sideEffects": false, @@ -13,9 +13,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/metadata": "3.7.4-4", - "@polkadot/rpc-provider": "3.7.4-4", - "@polkadot/types": "3.7.4-4", + "@polkadot/metadata": "3.7.4-5", + "@polkadot/rpc-provider": "3.7.4-5", + "@polkadot/types": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/x-rxjs": "^5.5.2" }, diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 8874fa5650..9ebd95379e 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Transport providers for the API", "main": "index.js", "sideEffects": false, @@ -13,7 +13,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/types": "3.7.4-4", + "@polkadot/types": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/util-crypto": "^5.5.2", "@polkadot/x-fetch": "^5.5.2", @@ -24,7 +24,7 @@ }, "devDependencies": { "@polkadot/keyring": "^5.5.2", - "@polkadot/metadata": "3.7.4-4", + "@polkadot/metadata": "3.7.4-5", "mock-socket": "^9.0.3", "nock": "^13.0.7" } diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 5c4f98a578..7e8b9694fc 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Type generation scripts", "main": "index.js", "sideEffects": false, @@ -22,10 +22,10 @@ "@babel/core": "^7.12.10", "@babel/register": "^7.12.10", "@babel/runtime": "^7.12.5", - "@polkadot/api": "3.7.4-4", - "@polkadot/metadata": "3.7.4-4", - "@polkadot/rpc-provider": "3.7.4-4", - "@polkadot/types": "3.7.4-4", + "@polkadot/api": "3.7.4-5", + "@polkadot/metadata": "3.7.4-5", + "@polkadot/rpc-provider": "3.7.4-5", + "@polkadot/types": "3.7.4-5", "@polkadot/util": "^5.5.2", "handlebars": "^4.7.6", "websocket": "^1.0.33", diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 0a36e3d940..d326ce82c1 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "sideEffects": false, @@ -14,7 +14,7 @@ "dependencies": { "@babel/runtime": "^7.12.5", "@polkadot/networks": "^5.5.2", - "@polkadot/types": "3.7.4-4", + "@polkadot/types": "3.7.4-5", "@polkadot/util": "^5.5.2", "bn.js": "^4.11.9" }, diff --git a/packages/types/package.json b/packages/types/package.json index 4082511b04..da267ae14c 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "3.7.4-4", + "version": "3.7.4-5", "description": "Implementation of the Parity codec", "main": "index.js", "sideEffects": [ @@ -16,7 +16,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/metadata": "3.7.4-4", + "@polkadot/metadata": "3.7.4-5", "@polkadot/util": "^5.5.2", "@polkadot/util-crypto": "^5.5.2", "@polkadot/x-rxjs": "^5.5.2", diff --git a/yarn.lock b/yarn.lock index ac7f24fed7..7c31b13e13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1622,24 +1622,24 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/api": 3.7.4-4 - "@polkadot/types": 3.7.4-4 + "@polkadot/api": 3.7.4-5 + "@polkadot/types": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/x-rxjs": ^5.5.2 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/api-derive@3.7.4-4, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@3.7.4-5, @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.12.5 - "@polkadot/api": 3.7.4-4 + "@polkadot/api": 3.7.4-5 "@polkadot/keyring": ^5.5.2 - "@polkadot/rpc-core": 3.7.4-4 - "@polkadot/rpc-provider": 3.7.4-4 - "@polkadot/types": 3.7.4-4 + "@polkadot/rpc-core": 3.7.4-5 + "@polkadot/rpc-provider": 3.7.4-5 + "@polkadot/types": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/util-crypto": ^5.5.2 "@polkadot/x-rxjs": ^5.5.2 @@ -1647,18 +1647,18 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/api@3.7.4-4, @polkadot/api@workspace:packages/api": +"@polkadot/api@3.7.4-5, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/api-derive": 3.7.4-4 + "@polkadot/api-derive": 3.7.4-5 "@polkadot/keyring": ^5.5.2 - "@polkadot/metadata": 3.7.4-4 - "@polkadot/rpc-core": 3.7.4-4 - "@polkadot/rpc-provider": 3.7.4-4 - "@polkadot/types": 3.7.4-4 - "@polkadot/types-known": 3.7.4-4 + "@polkadot/metadata": 3.7.4-5 + "@polkadot/rpc-core": 3.7.4-5 + "@polkadot/rpc-provider": 3.7.4-5 + "@polkadot/types": 3.7.4-5 + "@polkadot/types-known": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/util-crypto": ^5.5.2 "@polkadot/x-rxjs": ^5.5.2 @@ -1772,14 +1772,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/metadata@3.7.4-4, @polkadot/metadata@workspace:packages/metadata": +"@polkadot/metadata@3.7.4-5, @polkadot/metadata@workspace:packages/metadata": version: 0.0.0-use.local resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.12.5 "@polkadot/keyring": ^5.5.2 - "@polkadot/types": 3.7.4-4 - "@polkadot/types-known": 3.7.4-4 + "@polkadot/types": 3.7.4-5 + "@polkadot/types-known": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/util-crypto": ^5.5.2 bn.js: ^4.11.9 @@ -1795,28 +1795,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@3.7.4-4, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@3.7.4-5, @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.12.5 "@polkadot/keyring": ^5.5.2 - "@polkadot/metadata": 3.7.4-4 - "@polkadot/rpc-provider": 3.7.4-4 - "@polkadot/types": 3.7.4-4 + "@polkadot/metadata": 3.7.4-5 + "@polkadot/rpc-provider": 3.7.4-5 + "@polkadot/types": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/x-rxjs": ^5.5.2 languageName: unknown linkType: soft -"@polkadot/rpc-provider@3.7.4-4, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@3.7.4-5, @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.12.5 "@polkadot/keyring": ^5.5.2 - "@polkadot/metadata": 3.7.4-4 - "@polkadot/types": 3.7.4-4 + "@polkadot/metadata": 3.7.4-5 + "@polkadot/types": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/util-crypto": ^5.5.2 "@polkadot/x-fetch": ^5.5.2 @@ -1845,10 +1845,10 @@ __metadata: "@babel/core": ^7.12.10 "@babel/register": ^7.12.10 "@babel/runtime": ^7.12.5 - "@polkadot/api": 3.7.4-4 - "@polkadot/metadata": 3.7.4-4 - "@polkadot/rpc-provider": 3.7.4-4 - "@polkadot/types": 3.7.4-4 + "@polkadot/api": 3.7.4-5 + "@polkadot/metadata": 3.7.4-5 + "@polkadot/rpc-provider": 3.7.4-5 + "@polkadot/types": 3.7.4-5 "@polkadot/util": ^5.5.2 "@types/websocket": ^1.0.1 "@types/yargs": ^15.0.13 @@ -1864,26 +1864,26 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@3.7.4-4, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@3.7.4-5, @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.12.5 "@polkadot/networks": ^5.5.2 - "@polkadot/types": 3.7.4-4 + "@polkadot/types": 3.7.4-5 "@polkadot/util": ^5.5.2 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/types@3.7.4-4, @polkadot/types@workspace:packages/types": +"@polkadot/types@3.7.4-5, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.12.5 "@polkadot/keyring": ^5.5.2 - "@polkadot/metadata": 3.7.4-4 + "@polkadot/metadata": 3.7.4-5 "@polkadot/util": ^5.5.2 "@polkadot/util-crypto": ^5.5.2 "@polkadot/x-rxjs": ^5.5.2