diff --git a/package.json b/package.json index 75908f91..ce5dd268 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,10 @@ "dependencies": { "@headlessui/react": "^1.7.18", "@heroicons/react": "^1.0.6", - "@polkadot/api": "^16.4.1", - "@polkadot/api-contract": "^16.4.1", + "@polkadot/api": "^16.4.8", + "@polkadot/api-contract": "^16.4.8", "@polkadot/extension-dapp": "^0.58.6", - "@polkadot/types": "^16.4.1", + "@polkadot/types": "^16.4.8", "@polkadot/ui-keyring": "^3.12.2", "@polkadot/ui-shared": "^3.12.2", "big.js": "^6.2.1", diff --git a/src/lib/address.test.ts b/src/lib/address.test.ts index ae245eb6..9717b43a 100644 --- a/src/lib/address.test.ts +++ b/src/lib/address.test.ts @@ -4,25 +4,10 @@ import { describe, expect, it } from 'vitest'; import { getAddress } from 'ethers'; import { decodeAddress } from '@polkadot/keyring'; -import { create1, create2, toEthAddress } from './address'; +import { toEthAddress } from './address'; // Similar to pallet_revive tests: https://github.com/paritytech/polkadot-sdk/blob/65ade498b63bf2216d1c444f28c1b48085417f13/substrate/frame/revive/src/address.rs#L257 describe('address utilities', () => { - const deployer = '0x' + '01'.repeat(20); - const code = Uint8Array.from([0x60, 0x00, 0x60, 0x00, 0x55, 0x60, 0x01, 0x60, 0x00]); - const inputData = Uint8Array.from([0x55]); - const salt = '0x1234567890123456789012345678901234567890123456789012345678901234'; - - it('should compute correct address with create1', () => { - const address = create1(deployer, 1); - expect(getAddress(address)).toBe(getAddress('0xc851da37e4e8d3a20d8d56be2963934b4ad71c3b')); - }); - - it('should compute correct address with create2', () => { - const address = create2(deployer, code, inputData, salt); - expect(getAddress(address)).toBe(getAddress('0x7f31e795e5836a19a8f919ab5a9de9a197ecd2b6')); - }); - it('should convert Substrate account ID to Ethereum address', () => { const accountId = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; const ethAddress = toEthAddress(decodeAddress(accountId)); diff --git a/src/lib/address.ts b/src/lib/address.ts index 755f4c01..e6ba8337 100644 --- a/src/lib/address.ts +++ b/src/lib/address.ts @@ -1,66 +1,8 @@ // Copyright 2022-2024 use-ink/contracts-ui authors & contributors // SPDX-License-Identifier: GPL-3.0-only -import { BigNumberish, ethers } from 'ethers'; -import { hexToU8a, stringToU8a, u8aToHex } from '@polkadot/util'; -import { keccak256 } from 'ethers'; - -/** - * TypeScript equivalent of H160 (20-byte Ethereum address) - */ -type Address = string; - -/** - * Determine the address of a contract using CREATE semantics. - * @param deployer The address of the deployer - * @param nonce The nonce value - * @returns The contract address - */ -export function create1(deployer: string, nonce: number): Address { - // Convert deployer to bytes (remove 0x prefix if present) - const deployerBytes = ethers.hexlify(deployer); - ethers.toBeHex(nonce as BigNumberish); - // Convert nonce to hex (minimal encoding) - const nonceBytes = ethers.toBeHex(nonce as BigNumberish); - - // RLP encode [deployer, nonce] - const encodedData = ethers.encodeRlp([deployerBytes, nonceBytes]); - - // Calculate keccak256 hash of the RLP encoded data - const hash = ethers.keccak256(encodedData); - - // Take the last 20 bytes (40 hex chars + 0x prefix) - return ethers.getAddress('0x' + hash.substring(26)); -} - -/** - * Determine the address of a contract using CREATE2 semantics. - * @param deployer The address of the deployer - * @param code The contract code (WASM or EVM bytecode) - * @param inputData The constructor arguments or init input - * @param salt A 32-byte salt value (as hex string) - * @returns The deterministic contract address - */ -export function create2( - deployer: string, - code: Uint8Array, - inputData: Uint8Array, - salt: string, -): Address { - const initCode = new Uint8Array([...code, ...inputData]); - const initCodeHash = hexToU8a(keccak256(initCode)); - - const parts = new Uint8Array(1 + 20 + 32 + 32); // 0xff + deployer + salt + initCodeHash - parts[0] = 0xff; - parts.set(hexToU8a(deployer), 1); - parts.set(hexToU8a(salt), 21); - parts.set(initCodeHash, 53); - - const hash = keccak256(parts); - - // Return last 20 bytes as 0x-prefixed hex string - return ethers.getAddress('0x' + hash.substring(26)); -} +import { ethers } from 'ethers'; +import { stringToU8a, u8aToHex } from '@polkadot/util'; /** * Converts an account ID to an Ethereum address (H160) diff --git a/src/ui/components/instantiate/Step3.tsx b/src/ui/components/instantiate/Step3.tsx index a46715de..bf3d0eb0 100644 --- a/src/ui/components/instantiate/Step3.tsx +++ b/src/ui/components/instantiate/Step3.tsx @@ -8,16 +8,14 @@ import { Button, Buttons } from '../common/Button'; import { printBN } from 'lib/bn'; import { createInstantiateTx } from 'services/chain'; import { SubmittableResult } from 'types'; -import { useApi, useInstantiate, useTransactions, useVersion } from 'ui/contexts'; +import { useApi, useInstantiate, useTransactions } from 'ui/contexts'; import { useNewContract } from 'ui/hooks'; -import { transformUserInput } from 'lib/callOptions'; export function Step3() { const { codeHash: codeHashUrlParam } = useParams<{ codeHash: string }>(); const { data, step, setStep } = useInstantiate(); const { api } = useApi(); - const { version } = useVersion(); - const { accountId, value, metadata, gasLimit, name, constructorIndex, salt } = data; + const { accountId, value, metadata, gasLimit, name, constructorIndex } = data; const { queue, process, txs, dismiss } = useTransactions(); const [txId, setTxId] = useState(0); const onSuccess = useNewContract(); @@ -35,27 +33,7 @@ export function Step3() { extrinsic: tx, accountId: data.accountId, onSuccess: result => { - if (version !== 'v6') { - return onSuccess(result); - } - const constructor = metadata?.findConstructor(constructorIndex); - const transformed = transformUserInput( - api.registry, - constructor?.args || [], - data.argValues, - ); - const inputData = constructor?.toU8a(transformed).slice(1); // exclude the first byte (the length byte) - // Pass the contract data and extrinsic to onSuccess - // @ts-ignore - return onSuccess({ - ...result, - contractData: { - salt: salt?.toString() || '', - data: inputData || new Uint8Array(), - // @ts-ignore - code: metadata?.json.source.contract_binary, - }, - }); + return onSuccess(result); }, isValid, }); diff --git a/src/ui/hooks/useNewContract.ts b/src/ui/hooks/useNewContract.ts index 74e456cf..e39d5cfb 100644 --- a/src/ui/hooks/useNewContract.ts +++ b/src/ui/hooks/useNewContract.ts @@ -3,71 +3,23 @@ import { useNavigate } from 'react-router'; import type { BlueprintSubmittableResult } from 'types'; -import { useApi, useDatabase, useInstantiate, useVersion } from 'ui/contexts'; -import { ApiTypes } from '@polkadot/api/types'; -import { hexToU8a } from '@polkadot/util'; -import { decodeAddress } from '@polkadot/keyring'; -import { create1, create2, toEthAddress } from 'lib/address'; - -interface ExtendedBlueprintSubmittableResult - extends BlueprintSubmittableResult { - contractData?: { - salt: string; - data: Uint8Array; - code: string; - originIsCaller?: boolean; - }; -} +import { useDatabase, useInstantiate } from 'ui/contexts'; export function useNewContract() { const { db } = useDatabase(); const navigate = useNavigate(); const instantiate = useInstantiate(); - const { api } = useApi(); - const { version } = useVersion(); const { data: { accountId, name }, } = instantiate; - async function getNonce() { - try { - const nonce = await api.call.accountNonceApi.accountNonce(accountId); - return nonce.toNumber(); - } catch (error) { - console.error('Error fetching nonce:', error); - return null; - } - } - - return async function ({ - contract, - contractData, - }: ExtendedBlueprintSubmittableResult<'promise'>): Promise { + return async function ({ contract }: BlueprintSubmittableResult<'promise'>): Promise { if (accountId && contract?.abi.json) { - let calculatedAddress = contract.address.toString(); - // Calculate the expected contract address based on the Rust logic - if (version === 'v6' && contractData) { - const { salt, code, data, originIsCaller = false } = contractData; - const mappedAccount = toEthAddress(decodeAddress(accountId)); - - if (salt) { - // Use CREATE2 if salt is provided - calculatedAddress = create2(mappedAccount, hexToU8a(code), data, salt); - } else { - // Use CREATE1 if no salt is provided - const nonce = await getNonce(); - - if (nonce !== null) { - const adjustedNonce = originIsCaller ? Math.max(0, nonce - 1) : nonce; - calculatedAddress = create1(mappedAccount, adjustedNonce - 2); - } - } - } const codeHash = contract.abi.info.source.wasmHash.toHex(); const document = { abi: contract.abi.json, - address: calculatedAddress!, + address: contract.address.toString(), codeHash, date: new Date().toISOString(), name, @@ -82,7 +34,7 @@ export function useNewContract() { }), ]); - navigate(`/contract/${document.address}`); + navigate(`/contract/${contract.address}`); } }; } diff --git a/yarn.lock b/yarn.lock index 23cd9192..9d21a32e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1115,18 +1115,18 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/api-augment@npm:16.4.1" - dependencies: - "@polkadot/api-base": "npm:16.4.1" - "@polkadot/rpc-augment": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-augment": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" +"@polkadot/api-augment@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/api-augment@npm:16.4.8" + dependencies: + "@polkadot/api-base": "npm:16.4.8" + "@polkadot/rpc-augment": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-augment": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/bf345e012d17ba5cf8d7f175094141d035d7bf534c7585118dcb54d7be962d6d0a960e05b07e4c7809f5f88b60cd3f9b04c1078fec2bff3c1d6045e35c585085 + checksum: 10/9cfcaedff7777b5b15aa6490150df6b54e0d7b719696629897f0ba5ebd050b74e5930d4493b4b642a944720510d744668f2fdfcc36a2636c87999a1906d2c821 languageName: node linkType: hard @@ -1143,33 +1143,33 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-base@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/api-base@npm:16.4.1" +"@polkadot/api-base@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/api-base@npm:16.4.8" dependencies: - "@polkadot/rpc-core": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" + "@polkadot/rpc-core": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.1" - checksum: 10/808229394bdb3492602a5bf7f94c5ef459f85e7774a035d05db5284d50952d8bafdcfacc609799f6bf2fa784e6d49a5ae2075b77757d1975c295f884bde6b3ae + checksum: 10/017aeaa73dc32c89f9e21ef03f8c207ab5e683566cc18c834d35b2212df2e94bc814c7d3c60ffbff06699346ffac3e681f735255d76196d35eda3e23831324a9 languageName: node linkType: hard -"@polkadot/api-contract@npm:^16.4.1": - version: 16.4.1 - resolution: "@polkadot/api-contract@npm:16.4.1" +"@polkadot/api-contract@npm:^16.4.8": + version: 16.4.8 + resolution: "@polkadot/api-contract@npm:16.4.8" dependencies: - "@polkadot/api": "npm:16.4.1" - "@polkadot/api-augment": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/types-create": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" - "@polkadot/util-crypto": "npm:^13.5.3" + "@polkadot/api": "npm:16.4.8" + "@polkadot/api-augment": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/types-create": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" + "@polkadot/util-crypto": "npm:^13.5.6" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.1" - checksum: 10/c2f06ad12532fb415c7880d8075bad3236eab5319e021ff6e2cc164b8b368dbb966031df8cc3ee7cbc169d401970bee12addb790b187f2cb24ad511073cfe723 + checksum: 10/26e87baeb262b600697d2923397364e71ea00591fa65a60f95beb6158e839e52b11f5b4b6eda3b3dc32829cbc998cee211f82d8f866103b92a22b9995cb4f336 languageName: node linkType: hard @@ -1191,21 +1191,21 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/api-derive@npm:16.4.1" +"@polkadot/api-derive@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/api-derive@npm:16.4.8" dependencies: - "@polkadot/api": "npm:16.4.1" - "@polkadot/api-augment": "npm:16.4.1" - "@polkadot/api-base": "npm:16.4.1" - "@polkadot/rpc-core": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" - "@polkadot/util-crypto": "npm:^13.5.3" + "@polkadot/api": "npm:16.4.8" + "@polkadot/api-augment": "npm:16.4.8" + "@polkadot/api-base": "npm:16.4.8" + "@polkadot/rpc-core": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" + "@polkadot/util-crypto": "npm:^13.5.6" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.1" - checksum: 10/9fa815f12904de47e65b531479ba8a7b4d7a4ba02a45576a1a0febce9a2044b8c87181b33b09afb6a8cc5c6d5d44852e797da056009ca1bebcd64816a61db154 + checksum: 10/6e5aaafbbb248419a167a6f5e74a351214329a85b8d882ed9d2142699b6d5a986af73956d6cf5761ece3609f6ac2e8f87cdbfae9d2c9437cbb4c28b013ed3c2d languageName: node linkType: hard @@ -1234,28 +1234,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/api@npm:16.4.1, @polkadot/api@npm:^16.4.1": - version: 16.4.1 - resolution: "@polkadot/api@npm:16.4.1" - dependencies: - "@polkadot/api-augment": "npm:16.4.1" - "@polkadot/api-base": "npm:16.4.1" - "@polkadot/api-derive": "npm:16.4.1" - "@polkadot/keyring": "npm:^13.5.3" - "@polkadot/rpc-augment": "npm:16.4.1" - "@polkadot/rpc-core": "npm:16.4.1" - "@polkadot/rpc-provider": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-augment": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/types-create": "npm:16.4.1" - "@polkadot/types-known": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" - "@polkadot/util-crypto": "npm:^13.5.3" +"@polkadot/api@npm:16.4.8, @polkadot/api@npm:^16.4.8": + version: 16.4.8 + resolution: "@polkadot/api@npm:16.4.8" + dependencies: + "@polkadot/api-augment": "npm:16.4.8" + "@polkadot/api-base": "npm:16.4.8" + "@polkadot/api-derive": "npm:16.4.8" + "@polkadot/keyring": "npm:^13.5.6" + "@polkadot/rpc-augment": "npm:16.4.8" + "@polkadot/rpc-core": "npm:16.4.8" + "@polkadot/rpc-provider": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-augment": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/types-create": "npm:16.4.8" + "@polkadot/types-known": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" + "@polkadot/util-crypto": "npm:^13.5.6" eventemitter3: "npm:^5.0.1" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.1" - checksum: 10/a8081234541c6b20b819e6eef4113ce81e30b5da11a9dd64022fb48b2805a0892b1c164024499f4558bf1f0ae0158f14e3f1aae23e674481286e44968e37d46e + checksum: 10/e89d485508523b82c05971d8ef976a6b7b0723743668554fb0f3f4f50c000de05bc0214dcaa03be6d0043224885313e7e4234fa9059dd4fd855e3c7f9c9c229c languageName: node linkType: hard @@ -1307,17 +1307,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/keyring@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/keyring@npm:13.5.3" +"@polkadot/keyring@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/keyring@npm:13.5.6" dependencies: - "@polkadot/util": "npm:13.5.3" - "@polkadot/util-crypto": "npm:13.5.3" + "@polkadot/util": "npm:13.5.6" + "@polkadot/util-crypto": "npm:13.5.6" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.5.3 - "@polkadot/util-crypto": 13.5.3 - checksum: 10/3963e3f41a3ec0c46db506af8e821d4fb908f0b8c0c20acbc8eff9ba432a847e105a28376526c94b7d9b17f5374e35dee7c141a375c63aaae7928a1616b2065a + "@polkadot/util": 13.5.6 + "@polkadot/util-crypto": 13.5.6 + checksum: 10/c6b6ed89694eaf3ba082435d966a204d5fcc0de3cfcb57b1069aef8dd245e01fc5bf9372c256464e0b11eaf002fa40f5046a260f02eca8dff98d31da0739e3f3 languageName: node linkType: hard @@ -1332,14 +1332,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/networks@npm:13.5.3, @polkadot/networks@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/networks@npm:13.5.3" +"@polkadot/networks@npm:13.5.6, @polkadot/networks@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/networks@npm:13.5.6" dependencies: - "@polkadot/util": "npm:13.5.3" + "@polkadot/util": "npm:13.5.6" "@substrate/ss58-registry": "npm:^1.51.0" tslib: "npm:^2.8.0" - checksum: 10/2b669b98d02767bb59bd849928bce05ae8e2fad783b912e7bb7b9e252223bc6fa7f198173aaeaedd9c5aa966b06a54136c0a011f74e1aa2f236466d217f0f256 + checksum: 10/3f1063588db7872477ee4949f2841a8f98e46a759482d3476887f0e96ec0aa5aff2e9cc954093b0b3b9ee162568c1aaedce2fdbce6dabcc002c60b55926889e5 languageName: node linkType: hard @@ -1356,16 +1356,16 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/rpc-augment@npm:16.4.1" +"@polkadot/rpc-augment@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/rpc-augment@npm:16.4.8" dependencies: - "@polkadot/rpc-core": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" + "@polkadot/rpc-core": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/4ea04aa252f2f9ec6a305583ea52e9c52da07ce73e1d5f79f6598774ba8fb0aef4de8ca6de916bc7ca73377ed2af96191e46a607f45aeeea37a73e1219c999f2 + checksum: 10/bcc2f83023d479cb521843e44d00789461cf77ad1f9a31117717ebc4a913d702ded579daa07b49216988b511875da18d866338b8b91bee9fa6d20c1c7d587b48 languageName: node linkType: hard @@ -1383,17 +1383,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/rpc-core@npm:16.4.1" +"@polkadot/rpc-core@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/rpc-core@npm:16.4.8" dependencies: - "@polkadot/rpc-augment": "npm:16.4.1" - "@polkadot/rpc-provider": "npm:16.4.1" - "@polkadot/types": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" + "@polkadot/rpc-augment": "npm:16.4.8" + "@polkadot/rpc-provider": "npm:16.4.8" + "@polkadot/types": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.1" - checksum: 10/0718e2d8698964263787498f0f2b4768329f1ca77266d1215d113ea1828bae54e70ed4ace05ac5497c3a86f293b15e4ac19a7160c432d902afee04bbf8f3752f + checksum: 10/a38763b7612a72d31781139fc5914470b40eba6314593e1cbf7d7b980734e7ee90f346a2838ab39288992a88bd4dd610b02d6975415ee4fbb23a3a12761fd30c languageName: node linkType: hard @@ -1421,18 +1421,18 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/rpc-provider@npm:16.4.1" +"@polkadot/rpc-provider@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/rpc-provider@npm:16.4.8" dependencies: - "@polkadot/keyring": "npm:^13.5.3" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-support": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" - "@polkadot/util-crypto": "npm:^13.5.3" - "@polkadot/x-fetch": "npm:^13.5.3" - "@polkadot/x-global": "npm:^13.5.3" - "@polkadot/x-ws": "npm:^13.5.3" + "@polkadot/keyring": "npm:^13.5.6" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-support": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" + "@polkadot/util-crypto": "npm:^13.5.6" + "@polkadot/x-fetch": "npm:^13.5.6" + "@polkadot/x-global": "npm:^13.5.6" + "@polkadot/x-ws": "npm:^13.5.6" "@substrate/connect": "npm:0.8.11" eventemitter3: "npm:^5.0.1" mock-socket: "npm:^9.3.1" @@ -1441,7 +1441,7 @@ __metadata: dependenciesMeta: "@substrate/connect": optional: true - checksum: 10/3fff302422eb57edac028b2459df74b62f56d5146094c17ab8fe8f8fc4952a5ebd17f561e4fb973526ef5ccb4a4851da67856af9fa61eae853fd369882332cb8 + checksum: 10/62a0ec5bb1c046cc0f6c0b813232c6498f58356af40f11a6af8d611ec096de451db94a39590491da139d4f095522cd35c12c4606486507f685ea4a36b37a970e languageName: node linkType: hard @@ -1457,15 +1457,15 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-augment@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/types-augment@npm:16.4.1" +"@polkadot/types-augment@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/types-augment@npm:16.4.8" dependencies: - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/5c0bb13a8df8073b599c280ad7676224c5117644d04f9035350267511845970a9f40e4ed3fc6b9b3bc2cb7c0c4c47c8a060d9554926165dede9a0d1c441bf648 + checksum: 10/891378160780e4b2288a83326a73adcdf6b3f66e4e290c3afb0dd8e1d420f47d782f7c96c07a5d627dd82a2e92b1da3867991be782ffa0a29c42d3be5a7f1b1f languageName: node linkType: hard @@ -1480,14 +1480,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-codec@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/types-codec@npm:16.4.1" +"@polkadot/types-codec@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/types-codec@npm:16.4.8" dependencies: - "@polkadot/util": "npm:^13.5.3" - "@polkadot/x-bigint": "npm:^13.5.3" + "@polkadot/util": "npm:^13.5.6" + "@polkadot/x-bigint": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/bd7bc78638f5c5d499d018d65cda3407ad6d80d3281af744e14e741174183aa2e15625b35f39a27760bcfd1ec5349ecb55b4efed02d7549f2fa7d931ca7271be + checksum: 10/d8e755e75e795992eebb126fd618fa2b0a825efca654c9dbaab4560b38d4e90cb70ab7f39a42deeb4b7f7632caf5277feb5cc9cac743f9aff146b5af0ec34e64 languageName: node linkType: hard @@ -1502,14 +1502,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-create@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/types-create@npm:16.4.1" +"@polkadot/types-create@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/types-create@npm:16.4.8" dependencies: - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/24666e2437bdbfe6c6a2f067b5f3fb5f08fa053e687ba62e0b12e4630324b388a9e512e8bf8e37421e3cc468680f1c03609656eca5babfc0b2217619ba773926 + checksum: 10/c0edb037abc924856e707f178cf35fb24a6e30577dfce163b6ab4bab1a5cd9f0de400a45b3388c6b4612993832696b321122b5a9fdeeb5c8600bbcf2eed3b6c5 languageName: node linkType: hard @@ -1527,17 +1527,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/types-known@npm:16.4.1" +"@polkadot/types-known@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/types-known@npm:16.4.8" dependencies: - "@polkadot/networks": "npm:^13.5.3" - "@polkadot/types": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/types-create": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" + "@polkadot/networks": "npm:^13.5.6" + "@polkadot/types": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/types-create": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/8405635582e6f8c8b10c082955ac98daf364b39eb49dfc41df2aa6be713c8ded151189c0a39b3cbcb3feaf901faae975dbceb55ce18b6ea3c9682933e643c967 + checksum: 10/e2feae233e76cf5838162e1d9ec3e085a8c86bdf91f6fba92439125b60d3bf04b181cea3a3b99117a3ff5b1f9c4f11334ca72022ffa736292df6dedec62b21d4 languageName: node linkType: hard @@ -1551,13 +1551,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-support@npm:16.4.1": - version: 16.4.1 - resolution: "@polkadot/types-support@npm:16.4.1" +"@polkadot/types-support@npm:16.4.8": + version: 16.4.8 + resolution: "@polkadot/types-support@npm:16.4.8" dependencies: - "@polkadot/util": "npm:^13.5.3" + "@polkadot/util": "npm:^13.5.6" tslib: "npm:^2.8.1" - checksum: 10/f0465f8175aa63150928d246ede2577d2f6a628467e13b13b9fd8bfd3bcc1d1a6b1641bbd34c6583863b8e7dfd2b44743e69ae8447a8265db3e9faf123ca7c19 + checksum: 10/6e65d55acf7a9a40d95c76076bb615889c321caffd8d442d4d68e09a563526328dbd2ee53ddcd3d90b7f37928e77d6332dbbfeed0982061e922ba0f28c6cd2c2 languageName: node linkType: hard @@ -1577,19 +1577,19 @@ __metadata: languageName: node linkType: hard -"@polkadot/types@npm:16.4.1, @polkadot/types@npm:^16.4.1": - version: 16.4.1 - resolution: "@polkadot/types@npm:16.4.1" +"@polkadot/types@npm:16.4.8, @polkadot/types@npm:^16.4.8": + version: 16.4.8 + resolution: "@polkadot/types@npm:16.4.8" dependencies: - "@polkadot/keyring": "npm:^13.5.3" - "@polkadot/types-augment": "npm:16.4.1" - "@polkadot/types-codec": "npm:16.4.1" - "@polkadot/types-create": "npm:16.4.1" - "@polkadot/util": "npm:^13.5.3" - "@polkadot/util-crypto": "npm:^13.5.3" + "@polkadot/keyring": "npm:^13.5.6" + "@polkadot/types-augment": "npm:16.4.8" + "@polkadot/types-codec": "npm:16.4.8" + "@polkadot/types-create": "npm:16.4.8" + "@polkadot/util": "npm:^13.5.6" + "@polkadot/util-crypto": "npm:^13.5.6" rxjs: "npm:^7.8.1" tslib: "npm:^2.8.1" - checksum: 10/6434b2593955de628d5de1d4cbe8322e9c64038348c05551174bca0d1aad1d3c4c4d11d62b773a1da45dfe79c5ba55ebf70033497ee3f1746228f35410f28b20 + checksum: 10/1a6bc869f1f592f904011cb18c917fc7874a2222e1232e431b2fdf5e43bf9e0ec5ad9a159f602355955f56ff1f20448e1db2e0a4a4a2768d1e9be3c4d99ac42c languageName: node linkType: hard @@ -1662,23 +1662,23 @@ __metadata: languageName: node linkType: hard -"@polkadot/util-crypto@npm:13.5.3, @polkadot/util-crypto@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/util-crypto@npm:13.5.3" +"@polkadot/util-crypto@npm:13.5.6, @polkadot/util-crypto@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/util-crypto@npm:13.5.6" dependencies: "@noble/curves": "npm:^1.3.0" "@noble/hashes": "npm:^1.3.3" - "@polkadot/networks": "npm:13.5.3" - "@polkadot/util": "npm:13.5.3" - "@polkadot/wasm-crypto": "npm:^7.4.1" - "@polkadot/wasm-util": "npm:^7.4.1" - "@polkadot/x-bigint": "npm:13.5.3" - "@polkadot/x-randomvalues": "npm:13.5.3" + "@polkadot/networks": "npm:13.5.6" + "@polkadot/util": "npm:13.5.6" + "@polkadot/wasm-crypto": "npm:^7.5.1" + "@polkadot/wasm-util": "npm:^7.5.1" + "@polkadot/x-bigint": "npm:13.5.6" + "@polkadot/x-randomvalues": "npm:13.5.6" "@scure/base": "npm:^1.1.7" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.5.3 - checksum: 10/0313fc285e769520b135ebb7031ab1a694a96d88191977af0519847be7a0f50f8cf32aafc13132481eb3c40b1160e991b7535400ed18a9cd9a6d40d47cf7f1a7 + "@polkadot/util": 13.5.6 + checksum: 10/42c888e459b40fbc84de0a810947f55412c22af26a5cf81dbebc5197f5485aaae7cc5cae7b4d2ca6a1fe09b2df831b9ad98e00cd858cce189ea3e587b2fb83cf languageName: node linkType: hard @@ -1697,18 +1697,18 @@ __metadata: languageName: node linkType: hard -"@polkadot/util@npm:13.5.3, @polkadot/util@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/util@npm:13.5.3" +"@polkadot/util@npm:13.5.6, @polkadot/util@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/util@npm:13.5.6" dependencies: - "@polkadot/x-bigint": "npm:13.5.3" - "@polkadot/x-global": "npm:13.5.3" - "@polkadot/x-textdecoder": "npm:13.5.3" - "@polkadot/x-textencoder": "npm:13.5.3" + "@polkadot/x-bigint": "npm:13.5.6" + "@polkadot/x-global": "npm:13.5.6" + "@polkadot/x-textdecoder": "npm:13.5.6" + "@polkadot/x-textencoder": "npm:13.5.6" "@types/bn.js": "npm:^5.1.6" bn.js: "npm:^5.2.1" tslib: "npm:^2.8.0" - checksum: 10/5274dacf09df4b43155f20d0e709bf86c8a95995cf46f62ab23947b9a745e0c9c0a31d504e9984b07903f31f741f0cfa5b7e25bd7bcd7cbeb686be06ca48bd35 + checksum: 10/a99f767a62579b9ca082d671cb731fbfda56046058282f884534a9dfdeb97774ca017bbbf35ebd91e39873ac31ebabe75a545da2474f03ef80773e9158122562 languageName: node linkType: hard @@ -1725,6 +1725,19 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-bridge@npm:7.5.1": + version: 7.5.1 + resolution: "@polkadot/wasm-bridge@npm:7.5.1" + dependencies: + "@polkadot/wasm-util": "npm:7.5.1" + tslib: "npm:^2.7.0" + peerDependencies: + "@polkadot/util": "*" + "@polkadot/x-randomvalues": "*" + checksum: 10/70094b6e9727a902a922709326022e22c2a9bc7e27de541d646cb25d3cbee56df5eddd4a0046269ef34092562bc7f746e5d3347ac3f8aff01990eae837d078b8 + languageName: node + linkType: hard + "@polkadot/wasm-crypto-asmjs@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto-asmjs@npm:7.4.1" @@ -1736,6 +1749,17 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-crypto-asmjs@npm:7.5.1": + version: 7.5.1 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.5.1" + dependencies: + tslib: "npm:^2.7.0" + peerDependencies: + "@polkadot/util": "*" + checksum: 10/6849a96bf9191f22e238fa847ebc8cbbb13d9d2569007dde6055769144c3c6cf8398e81f3ab93b3fad458bf69f3833a77f197ff36b015fb61690ee15ba9ec45b + languageName: node + linkType: hard + "@polkadot/wasm-crypto-init@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto-init@npm:7.4.1" @@ -1752,6 +1776,22 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-crypto-init@npm:7.5.1": + version: 7.5.1 + resolution: "@polkadot/wasm-crypto-init@npm:7.5.1" + dependencies: + "@polkadot/wasm-bridge": "npm:7.5.1" + "@polkadot/wasm-crypto-asmjs": "npm:7.5.1" + "@polkadot/wasm-crypto-wasm": "npm:7.5.1" + "@polkadot/wasm-util": "npm:7.5.1" + tslib: "npm:^2.7.0" + peerDependencies: + "@polkadot/util": "*" + "@polkadot/x-randomvalues": "*" + checksum: 10/ca429d97bdfe637d1b3672015d16bc0a160af37bf647ccb52597b40f929fc7af16096c1af5603fb5b838e04140db91904c774fb3e59cd34debf026e45c77ac5b + languageName: node + linkType: hard + "@polkadot/wasm-crypto-wasm@npm:7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto-wasm@npm:7.4.1" @@ -1764,6 +1804,18 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-crypto-wasm@npm:7.5.1": + version: 7.5.1 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.5.1" + dependencies: + "@polkadot/wasm-util": "npm:7.5.1" + tslib: "npm:^2.7.0" + peerDependencies: + "@polkadot/util": "*" + checksum: 10/c652b38edbb07d7b7546ecdb44ea370244e3f1ff37c9733ee2db4d7e7483e7c7496ce220ec5c621a26fdb49d0475390fc84d51cec5ddb110fa0fc3373d06dd43 + languageName: node + linkType: hard + "@polkadot/wasm-crypto@npm:^7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-crypto@npm:7.4.1" @@ -1781,6 +1833,23 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-crypto@npm:^7.5.1": + version: 7.5.1 + resolution: "@polkadot/wasm-crypto@npm:7.5.1" + dependencies: + "@polkadot/wasm-bridge": "npm:7.5.1" + "@polkadot/wasm-crypto-asmjs": "npm:7.5.1" + "@polkadot/wasm-crypto-init": "npm:7.5.1" + "@polkadot/wasm-crypto-wasm": "npm:7.5.1" + "@polkadot/wasm-util": "npm:7.5.1" + tslib: "npm:^2.7.0" + peerDependencies: + "@polkadot/util": "*" + "@polkadot/x-randomvalues": "*" + checksum: 10/d304959e67dab123f9ba9e9d400358156478f633ef3e2f760530fc556d79fcebc155be809ec73dc54c247c4e5185e118fe23c191167a9ad77ec575adb32979e3 + languageName: node + linkType: hard + "@polkadot/wasm-util@npm:7.4.1, @polkadot/wasm-util@npm:^7.4.1": version: 7.4.1 resolution: "@polkadot/wasm-util@npm:7.4.1" @@ -1792,6 +1861,17 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-util@npm:7.5.1, @polkadot/wasm-util@npm:^7.5.1": + version: 7.5.1 + resolution: "@polkadot/wasm-util@npm:7.5.1" + dependencies: + tslib: "npm:^2.7.0" + peerDependencies: + "@polkadot/util": "*" + checksum: 10/7e96be99a275f6e4a68b92b6439b70aa7d80f1209031d4f7e7f7c00dee65272aabaaee43ec153c969a72a02792c2bf271e266bccd60e83e9a1450c5c5e7b06ee + languageName: node + linkType: hard + "@polkadot/x-bigint@npm:13.5.1, @polkadot/x-bigint@npm:^13.4.4": version: 13.5.1 resolution: "@polkadot/x-bigint@npm:13.5.1" @@ -1802,13 +1882,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:13.5.3, @polkadot/x-bigint@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-bigint@npm:13.5.3" +"@polkadot/x-bigint@npm:13.5.6, @polkadot/x-bigint@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-bigint@npm:13.5.6" dependencies: - "@polkadot/x-global": "npm:13.5.3" + "@polkadot/x-global": "npm:13.5.6" tslib: "npm:^2.8.0" - checksum: 10/f70d898a83ba8dc476c5164e2466dbfb9ab3722ec205a3dd448e96c2d764b9f30c532cf21d422005574e27b48e22c3cf3e7d2b0fb9b7b67e416941209875bd09 + checksum: 10/a4aef1e1baf38c7ce2f41c3464fb1f59cf3b41de5cc466ebdc25ee99966ffaebfffb4897d5ea1bc0b5c526c3504d434908819080e6f03450bc100fd18c28ec04 languageName: node linkType: hard @@ -1823,14 +1903,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-fetch@npm:13.5.3" +"@polkadot/x-fetch@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-fetch@npm:13.5.6" dependencies: - "@polkadot/x-global": "npm:13.5.3" + "@polkadot/x-global": "npm:13.5.6" node-fetch: "npm:^3.3.2" tslib: "npm:^2.8.0" - checksum: 10/8c2a5579f3af62803a0b945709b7dca88bce958a232e2749218ef30d0e70aede7193c5b330d16e058d9bfca199d3b5e02efcb80051f982c114505d784558dd23 + checksum: 10/64c6e7584dd5d2046fa36c91cf5e86379272577f923a0ecefe78191cd1760fc412f40f63965132a370f0acffce226afe65f363a09fc0dddad23a912eb17dab17 languageName: node linkType: hard @@ -1843,12 +1923,12 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:13.5.3, @polkadot/x-global@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-global@npm:13.5.3" +"@polkadot/x-global@npm:13.5.6, @polkadot/x-global@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-global@npm:13.5.6" dependencies: tslib: "npm:^2.8.0" - checksum: 10/3976491290df8f7a5929c85c1f5f962ac968594666a60488060511c41dcf878089caeb41ae662dde70deae6c875abd0a46533c2f0448f5da1831eed1dda53c7d + checksum: 10/050cb02e1405a37c92b8ab9202b3a1187d6ba7f5193d93126420a283c7ba3796b4fa6ae349b3f25335c905af4355b97cc6c74c29f267b5a0de0cff6cea667c11 languageName: node linkType: hard @@ -1865,16 +1945,16 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-randomvalues@npm:13.5.3" +"@polkadot/x-randomvalues@npm:13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-randomvalues@npm:13.5.6" dependencies: - "@polkadot/x-global": "npm:13.5.3" + "@polkadot/x-global": "npm:13.5.6" tslib: "npm:^2.8.0" peerDependencies: - "@polkadot/util": 13.5.3 + "@polkadot/util": 13.5.6 "@polkadot/wasm-util": "*" - checksum: 10/dff71cbaa046e3ef3103dfa72ffea32fd89c94bb3396f1882cb28697aee1c4a10b7bd0f7a2a64fbdeaff725c79d6164e9ebb9f3b1c50dbaef51ecd75569f4045 + checksum: 10/47dbb4380b8e48fd0b9828d40a9c60bb21ac188dba5b1ebe9cef71f0c49af479f21b8025f3eb5cc3147ef452d4f18c416f59d28ff518f4caa2c3da6ac788a0c6 languageName: node linkType: hard @@ -1888,13 +1968,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-textdecoder@npm:13.5.3" +"@polkadot/x-textdecoder@npm:13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-textdecoder@npm:13.5.6" dependencies: - "@polkadot/x-global": "npm:13.5.3" + "@polkadot/x-global": "npm:13.5.6" tslib: "npm:^2.8.0" - checksum: 10/5914ce2bad6f858ba2d509a6cecde61c9d547c83791697f79a3d4bf7675782ac470c60d62d39974b246ee74d07c58b006ddae22823945ca1e474a6040ab058ce + checksum: 10/7f04ba6d544acac05b6ea0b20b85ac31415c662b4d306b30cf5e7ba1bee387c36a5eee0abe889134048f3e6175528608b11c8540440343a8108440dfc4564156 languageName: node linkType: hard @@ -1908,13 +1988,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-textencoder@npm:13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-textencoder@npm:13.5.3" +"@polkadot/x-textencoder@npm:13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-textencoder@npm:13.5.6" dependencies: - "@polkadot/x-global": "npm:13.5.3" + "@polkadot/x-global": "npm:13.5.6" tslib: "npm:^2.8.0" - checksum: 10/bf3219c4a37dcc4b3de42e291b7fa137147b9497268699b9f35184967114a80da3de3785e2bf628bb02172f963fb7dc5ba150edb6cd2e28a0a6f7d142d55309f + checksum: 10/0f8d433d2825bb9193c49262fd2ace2253cac76b87eb37e051a3db108445c92ed5832f8a02631a616a9ea2ea3f719576b179c38bdad8747002a8f54e7753761f languageName: node linkType: hard @@ -1929,14 +2009,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-ws@npm:^13.5.3": - version: 13.5.3 - resolution: "@polkadot/x-ws@npm:13.5.3" +"@polkadot/x-ws@npm:^13.5.6": + version: 13.5.6 + resolution: "@polkadot/x-ws@npm:13.5.6" dependencies: - "@polkadot/x-global": "npm:13.5.3" + "@polkadot/x-global": "npm:13.5.6" tslib: "npm:^2.8.0" ws: "npm:^8.18.0" - checksum: 10/d44448acf166aa9d9b7d6b49877b01c571718219a832c9335af540b790d73bb24f6686aacdc60578eee2012a98c2232f0e7cc7c4e4b70e46e841ae5ce735b98f + checksum: 10/7746aa886ae2799700e5b7c65a0e1d8c032dcc6da10c80a79bad994240fe626b760c00bae9f5f57dc784ff2329232c42abdfb444b4c15feb3b3a2a2390e9c4ea languageName: node linkType: hard @@ -3995,10 +4075,10 @@ __metadata: "@headlessui/react": "npm:^1.7.18" "@heroicons/react": "npm:^1.0.6" "@istanbuljs/nyc-config-typescript": "npm:^1.0.2" - "@polkadot/api": "npm:^16.4.1" - "@polkadot/api-contract": "npm:^16.4.1" + "@polkadot/api": "npm:^16.4.8" + "@polkadot/api-contract": "npm:^16.4.8" "@polkadot/extension-dapp": "npm:^0.58.6" - "@polkadot/types": "npm:^16.4.1" + "@polkadot/types": "npm:^16.4.8" "@polkadot/ui-keyring": "npm:^3.12.2" "@polkadot/ui-shared": "npm:^3.12.2" "@tailwindcss/forms": "npm:^0.5.7"