From a10539a82fdba396c4dc94b78d564ec61cd52898 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 6 Apr 2023 18:10:29 +0200 Subject: [PATCH 1/7] chore: bump js script deps --- scripts/js/onboard/package.json | 10 +- scripts/js/onboard/yarn.lock | 1027 +++++++++++++----------------- scripts/js/upgrade/package.json | 8 +- scripts/js/upgrade/yarn.lock | 1034 ++++++++++--------------------- 4 files changed, 778 insertions(+), 1301 deletions(-) diff --git a/scripts/js/onboard/package.json b/scripts/js/onboard/package.json index 08073e1596..f931bddda6 100644 --- a/scripts/js/onboard/package.json +++ b/scripts/js/onboard/package.json @@ -1,6 +1,6 @@ { "name": "onboard", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "index.js", "scripts": { @@ -10,8 +10,8 @@ "author": "", "license": "ISC", "dependencies": { - "@polkadot/api": "^7.6.1", - "@polkadot/util": "^7.6.1", - "@polkadot/util-crypto": "^8.3.3" + "@polkadot/api": "^10.2.2", + "@polkadot/util": "^11.1.3", + "@polkadot/util-crypto": "^11.1.3" } -} +} \ No newline at end of file diff --git a/scripts/js/onboard/yarn.lock b/scripts/js/onboard/yarn.lock index 1aa66755a0..e82fb40fc8 100644 --- a/scripts/js/onboard/yarn.lock +++ b/scripts/js/onboard/yarn.lock @@ -2,447 +2,384 @@ # yarn lockfile v1 -"@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2": - version "7.17.2" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" - integrity sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw== - dependencies: - regenerator-runtime "^0.13.4" - -"@noble/hashes@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae" - integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg== - -"@noble/secp256k1@1.5.2": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.5.2.tgz#40399e4fba54f588fda14fc03a4499044fdcab24" - integrity sha512-5mzA40W2q55VCRuC9XzmkiEnODdY0c5a7qsK2QcOfI5/MuVQyBaWGQyE6YOEF7kDwp+tDVWGsCDVJUME+wsWWw== - -"@polkadot/api-augment@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-7.11.1.tgz#9866afe3281ae8371c8c645e73e848bac1f6fcd3" - integrity sha512-CqtmRZsr7va45r/wnsH+NZMqPyUQv46fmiHxt5gq6NC4p0ziDEVVDDHLlABx5RhQzCvdiBAccZ/X8DyMCFFGEA== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/api-base" "7.11.1" - "@polkadot/rpc-augment" "7.11.1" - "@polkadot/types" "7.11.1" - "@polkadot/types-augment" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/util" "^8.4.1" - -"@polkadot/api-base@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-7.11.1.tgz#fb27a7c33808a8f6542b322ffb3c6702a9e15ea8" - integrity sha512-MATI9tm0x3rRlipLMevWzJ4cGvMyrUGyOfwjMg3Z67U7atZgZ93LzowjzDcvSgFVM14d1tBOVWBKkCKnk7C6Zg== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/rpc-core" "7.11.1" - "@polkadot/types" "7.11.1" - "@polkadot/util" "^8.4.1" - rxjs "^7.5.4" - -"@polkadot/api-derive@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-7.11.1.tgz#ede6119577b08d6c94767551dc6ad17c6be64149" - integrity sha512-py7pqs5mLaKPNDvRZ7BcUC7obsbLIuzJT/kZFiGzJXmaObSzU2lJkGD7fV34QlpmGP+Bqb4KtlhtY+Tnq33C0w== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/api" "7.11.1" - "@polkadot/api-augment" "7.11.1" - "@polkadot/api-base" "7.11.1" - "@polkadot/rpc-core" "7.11.1" - "@polkadot/types" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/util" "^8.4.1" - "@polkadot/util-crypto" "^8.4.1" - rxjs "^7.5.4" - -"@polkadot/api@7.11.1", "@polkadot/api@^7.6.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-7.11.1.tgz#0aeb86319a14a9a2a071476e6a47ee3d6b8e116c" - integrity sha512-VTrhVuSJrWhIww1ofYPd7EhJd1UwKntfdPNRuy/abfb6GPzYCglKV6Sze3CsbI2KawC5oo1K7Ffrdf/lJy81kg== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/api-augment" "7.11.1" - "@polkadot/api-base" "7.11.1" - "@polkadot/api-derive" "7.11.1" - "@polkadot/keyring" "^8.4.1" - "@polkadot/rpc-augment" "7.11.1" - "@polkadot/rpc-core" "7.11.1" - "@polkadot/rpc-provider" "7.11.1" - "@polkadot/types" "7.11.1" - "@polkadot/types-augment" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/types-create" "7.11.1" - "@polkadot/types-known" "7.11.1" - "@polkadot/util" "^8.4.1" - "@polkadot/util-crypto" "^8.4.1" - eventemitter3 "^4.0.7" - rxjs "^7.5.4" - -"@polkadot/keyring@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-8.4.1.tgz#71098121c60a05e1ad33653fcc521c52f22ad1b8" - integrity sha512-0qfS7qikUxhe6LEdCOcMRdCxEa26inJ5aSUWaf5dXy+dgy9VJiov6uXAbXdAd1UHpDvr9hvw94FX+hXsJ7Vsyw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/util" "8.4.1" - "@polkadot/util-crypto" "8.4.1" - -"@polkadot/networks@8.4.1", "@polkadot/networks@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-8.4.1.tgz#c22585edb38f5ae0a329a1f471577d8b35bf64e4" - integrity sha512-YFY3fPLbc1Uz9zsX4TOzjY/FF09nABMgrMkvqddrVbSgo71NvoBv3Gqw3mKV/7bX1Gzk1ODfvTzamdpsKEWSnA== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/util" "8.4.1" - "@substrate/ss58-registry" "^1.14.0" - -"@polkadot/rpc-augment@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-7.11.1.tgz#c77bbdae20e3933ddd2d8eea243a215e35a6861f" - integrity sha512-cP/g6dM5Rmdeno+sOi/PBvAEycRoi/UI1MOKb0lVhlFJayw/uyGOhHtPKOnLh2fyDJ/q66HO3pu6aem3ORFwhQ== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/rpc-core" "7.11.1" - "@polkadot/types" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/util" "^8.4.1" - -"@polkadot/rpc-core@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-7.11.1.tgz#079f2c70e09015d01bfec92f06993a5538399072" - integrity sha512-Bp71BwOSPT4/xmYWn9e9/ikGKYYmltbceVwa0MJiuKI0Xd5YntjtJVov17Fqlt+eddkLGt74750paykvHDJWWQ== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/rpc-augment" "7.11.1" - "@polkadot/rpc-provider" "7.11.1" - "@polkadot/types" "7.11.1" - "@polkadot/util" "^8.4.1" - rxjs "^7.5.4" - -"@polkadot/rpc-provider@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-7.11.1.tgz#f0cf70c4fa3b69fb96aafbed07f8d5725db9cca8" - integrity sha512-07Mg+r9swMjNISDK8ntDI5gFZU8rtHeoB27/qQwZzcWugogva8rNhaInBikZPKlF7yxM6l2VMaQnOziKUNsnRw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/keyring" "^8.4.1" - "@polkadot/types" "7.11.1" - "@polkadot/types-support" "7.11.1" - "@polkadot/util" "^8.4.1" - "@polkadot/util-crypto" "^8.4.1" - "@polkadot/x-fetch" "^8.4.1" - "@polkadot/x-global" "^8.4.1" - "@polkadot/x-ws" "^8.4.1" - eventemitter3 "^4.0.7" - mock-socket "^9.1.2" - nock "^13.2.4" - -"@polkadot/types-augment@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-7.11.1.tgz#2c56779dbd1cff509609db912fcc2575e0983828" - integrity sha512-jCnZ/eMkLaqSKl5q4JwBxslhAaJSSNHt04reZRs1i2jlC2UVgiFN1Rr5GJmHYAwDPoFcge/rAm6bckfhXUIdOw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/types" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/util" "^8.4.1" - -"@polkadot/types-codec@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-7.11.1.tgz#4cfcd8ab81f6ba510a984c08eb11861b33acab38" - integrity sha512-rDM/FYcnou2Chy+urd7U41lcjM6jWUEUydyP9NuTOSAamCGtH0eKw52GURKTsKTT5r8wJdPMKv/yNxs1i+l5Lw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/util" "^8.4.1" - -"@polkadot/types-create@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-7.11.1.tgz#878b5bdf278ca9456195980aa91957979a4e9342" - integrity sha512-nVYaJC/IDsM4WM9WGjAI7qQ9scPSlBqqzwqLdvXCJeq3trOTt68x39DD0zp0hzJ/7MeXjPToDDWjpAF0B9mWSQ== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/types-codec" "7.11.1" - "@polkadot/util" "^8.4.1" - -"@polkadot/types-known@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-7.11.1.tgz#55c42aae31813360ea54e438a761b0c48392f148" - integrity sha512-BBqQxG7I+wUjeLby1u5p9aSoZ5Vy0oCwmm/aKN64JH9vBEz1OOA0pRdcCooGCG/884Wb5pRpacWTepQMQkOTLw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/networks" "^8.4.1" - "@polkadot/types" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/types-create" "7.11.1" - "@polkadot/util" "^8.4.1" - -"@polkadot/types-support@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-7.11.1.tgz#509d942c8a9c0670a20b77fc1c98c97b7151b75e" - integrity sha512-pJmDUHK7DOO6mjpntxq9Lq0tjvqwc15FrrrNbuENgRiOueRqcAlzv+V80wdzoIBUwINgKphtpzu+rdQIYsVVQg== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/util" "^8.4.1" - -"@polkadot/types@7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-7.11.1.tgz#aefdd0efa98b43ebf516947a845e12fc5d63e9ae" - integrity sha512-jxVrxIbsSfH9xK1Q3vaCfJmbkm0OlvoXz0GxdP5RJ7dQnxlNYWQUXanFkKebbRL8gSEs1wSRVccil/TSH65Nvg== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/keyring" "^8.4.1" - "@polkadot/types-augment" "7.11.1" - "@polkadot/types-codec" "7.11.1" - "@polkadot/types-create" "7.11.1" - "@polkadot/util" "^8.4.1" - "@polkadot/util-crypto" "^8.4.1" - rxjs "^7.5.4" - -"@polkadot/util-crypto@8.4.1", "@polkadot/util-crypto@^8.3.3", "@polkadot/util-crypto@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-8.4.1.tgz#41ff754dc995b681913fc0a484bb0d309221a703" - integrity sha512-mWjp83aIWw+EhKN9RkUDmubXibo25q5yHJl4BGm2gT71yTZcABB7q1SGfpDqLH9AB3eXJiutqhC4L3SH7YZ+6Q== - dependencies: - "@babel/runtime" "^7.17.2" - "@noble/hashes" "1.0.0" - "@noble/secp256k1" "1.5.2" - "@polkadot/networks" "8.4.1" - "@polkadot/util" "8.4.1" - "@polkadot/wasm-crypto" "^4.5.1" - "@polkadot/x-bigint" "8.4.1" - "@polkadot/x-randomvalues" "8.4.1" - "@scure/base" "1.0.0" - ed2curve "^0.3.0" +"@noble/hashes@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" + integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== + +"@noble/secp256k1@1.7.1": + version "1.7.1" + resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" + integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw== + +"@polkadot/api-augment@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.2.2.tgz#5e802f83594d8baaf9b3715c9315d950f106096a" + integrity sha512-ENICYFmUX1BzbgfHvIsWvJVYrBK6y7A1AfYweQ4/sp7qqCXZ69uCrUzEJnyB5f6Zj7n7QJxBSa18l51yKljxrA== + dependencies: + "@polkadot/api-base" "10.2.2" + "@polkadot/rpc-augment" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-augment" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/api-base@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.2.2.tgz#819fed1ea7f6a670e3972e580e628e3c1c76142f" + integrity sha512-7xpkUOIesYZ+K9dw9zJZW0NTVWfNJXszX0WWKYxBK7V4tH4DB1VVCC+5syNzhDUEfDVSLYfcZANx1W6T+32V/w== + dependencies: + "@polkadot/rpc-core" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/util" "^11.1.3" + rxjs "^7.8.0" + tslib "^2.5.0" + +"@polkadot/api-derive@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.2.2.tgz#18d28c21c782110dbef9c78962975c546001005c" + integrity sha512-/qqZOMNXo1x24nBGc93SOpoddOa15duazsneeylulqf3zUM9E8JT510QnzSHC5UANCNs98q3UaU+CS/kHb9v6Q== + dependencies: + "@polkadot/api" "10.2.2" + "@polkadot/api-augment" "10.2.2" + "@polkadot/api-base" "10.2.2" + "@polkadot/rpc-core" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" + rxjs "^7.8.0" + tslib "^2.5.0" + +"@polkadot/api@10.2.2", "@polkadot/api@^10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.2.2.tgz#feadf8809f85f6b95e9d80a2741219e8740b8482" + integrity sha512-tv/E+8qN492b33CvSEZ57SjKQ8f6AMUSI6Js6lZreYPomSq5SzJWFH1mplOp3/VI0uX1O5c01dgMWkpM8W2ZKw== + dependencies: + "@polkadot/api-augment" "10.2.2" + "@polkadot/api-base" "10.2.2" + "@polkadot/api-derive" "10.2.2" + "@polkadot/keyring" "^11.1.3" + "@polkadot/rpc-augment" "10.2.2" + "@polkadot/rpc-core" "10.2.2" + "@polkadot/rpc-provider" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-augment" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/types-create" "10.2.2" + "@polkadot/types-known" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" + eventemitter3 "^5.0.0" + rxjs "^7.8.0" + tslib "^2.5.0" + +"@polkadot/keyring@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-11.1.3.tgz#8718f14996ecdb389acffc6ecbe7deb8a2d74b5f" + integrity sha512-bzGz1cWDYK7MWhp0630W6KOwTC/wsvKKHBvWxReMT7iQwFHeLn5AemUOveqIPxF+esd/UfdN5aFDHApjYcyZsg== + dependencies: + "@polkadot/util" "11.1.3" + "@polkadot/util-crypto" "11.1.3" + tslib "^2.5.0" + +"@polkadot/networks@11.1.3", "@polkadot/networks@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-11.1.3.tgz#e113c98269328267962c2047dccca4d2790cc8a5" + integrity sha512-goLpX9SswAGGeh1jXB79wHEfWOF5rLIItMHYalujBmhQVxyAqbxP2tzQqPQXDLcnkWbgwkyYGLXaDD72GBqHZw== + dependencies: + "@polkadot/util" "11.1.3" + "@substrate/ss58-registry" "^1.39.0" + tslib "^2.5.0" + +"@polkadot/rpc-augment@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.2.2.tgz#5a4ca3d138e42b6ca9925533cdcdf9985be58809" + integrity sha512-NpxdlIjQbnBAqTU7Gh9yd672r0BX4SAQ0xODtDKUFA4zXaHC6rrK0DpshAe4dmafvhvxGftXwTrkxl+6yBQ/AA== + dependencies: + "@polkadot/rpc-core" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/rpc-core@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.2.2.tgz#b585942107244710fece57bd285ded4113c26c6b" + integrity sha512-PXsiGcb3PHWP4FSO1BsSX5R32GrKO5uaoT8ul2cm8ZuEeNA85MelXNH/5iKZ/gj2TwJoYARFLz4evW9F6QKTmw== + dependencies: + "@polkadot/rpc-augment" "10.2.2" + "@polkadot/rpc-provider" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/util" "^11.1.3" + rxjs "^7.8.0" + tslib "^2.5.0" + +"@polkadot/rpc-provider@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.2.2.tgz#e0649e082be956fea4ae5de631250ae0f14af8f7" + integrity sha512-bk4ihqKVapyZRNI6cMQanp4Ajouzh8t/028rpsZRbB7C5x2CIGwtTqxzo4l2oSNF6Mn0zji3UA5XYeWxSZDAAg== + dependencies: + "@polkadot/keyring" "^11.1.3" + "@polkadot/types" "10.2.2" + "@polkadot/types-support" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" + "@polkadot/x-fetch" "^11.1.3" + "@polkadot/x-global" "^11.1.3" + "@polkadot/x-ws" "^11.1.3" + eventemitter3 "^5.0.0" + mock-socket "^9.2.1" + nock "^13.3.0" + tslib "^2.5.0" + optionalDependencies: + "@substrate/connect" "0.7.22" + +"@polkadot/types-augment@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.2.2.tgz#42ad9432c1d5ca6eb32ea0af74e4fbecf6e699c5" + integrity sha512-1VTsILspyS23bysTub9Ub6ZIXvOoEsM6/P1xnYgNfFPxb4pTXvW+dPJ11BhJNsgYAm5NbcCo8QxLwMUnM+S86g== + dependencies: + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-codec@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.2.2.tgz#2573f9f9ca85427c91bb976647fa4d990707e1f6" + integrity sha512-W2nYjutn5T7Ggi8Kqf0tf56iuwKNnb6U6bhuSBMvpyA1O6Y0vc2si50fZ+jUfx/XYOshMs1skw80PnM577KPlQ== + dependencies: + "@polkadot/util" "^11.1.3" + "@polkadot/x-bigint" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-create@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.2.2.tgz#0fe4c24a5f1b4de315abdc3bdaf221d8ad07aeee" + integrity sha512-bk+oTPjcm4811GzDmzcQqFZoZlcTaVjqoXS+GSRuPX0+OzAMIVUwz6qFnYpS1hxm8yfZKyOMAQyqV7aK7vQFfg== + dependencies: + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-known@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.2.2.tgz#983c6948e8b6c96a2737ec1d93a7a32beefe600c" + integrity sha512-y9Lfzikd5VKaifBynyqG1oE4n7iIM6OAHtKW5YGCmfkwIrj1EeEn2CDc5zhvlVpbctqrB5XEbSf/r30zA1fUdw== + dependencies: + "@polkadot/networks" "^11.1.3" + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/types-create" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-support@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.2.2.tgz#01cde329010690841ba5f163dc753a7c67d2a2cc" + integrity sha512-T0CxVmA/IWJ35CaFMMGJyvgDyDt6kF3a7r0IVGJD/ChkTiPvNKlZTrg2LHBH/m04I87yq26ILAq03sSiRbftWA== + dependencies: + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.2.2.tgz#cc1088aa43336d45b7f31015fdc61d1531d6ca9f" + integrity sha512-J7I93a+Rfn3nov03XYyYMZLTn0dPDjv9XDNhSU9KkKB8WpVW7P0aRJNee2PWJjmRX8uXQsoLRSz3CLpMVQTVNA== + dependencies: + "@polkadot/keyring" "^11.1.3" + "@polkadot/types-augment" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/types-create" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" + rxjs "^7.8.0" + tslib "^2.5.0" + +"@polkadot/util-crypto@11.1.3", "@polkadot/util-crypto@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-11.1.3.tgz#c3b166f8f8934a2139c8cfb31af50dae53a9d985" + integrity sha512-hjH1y6jXQuceJ2NWx7+ei0sR4A7t844XwlNquPxZX3kQbQS+1t6tO4Eo3/95JhPsEaJOXduus02cYEF6gteEYQ== + dependencies: + "@noble/hashes" "1.3.0" + "@noble/secp256k1" "1.7.1" + "@polkadot/networks" "11.1.3" + "@polkadot/util" "11.1.3" + "@polkadot/wasm-crypto" "^7.0.3" + "@polkadot/x-bigint" "11.1.3" + "@polkadot/x-randomvalues" "11.1.3" + "@scure/base" "1.1.1" + tslib "^2.5.0" tweetnacl "^1.0.3" -"@polkadot/util@8.4.1", "@polkadot/util@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-8.4.1.tgz#b84835c55585c8b5fc5608a99aa62ac815292ae7" - integrity sha512-8+wqHgFbFWI5TfrvtcL888w0nWvFpbTTYIcbpEw+zYGp3n1YZTAMMP26bXWAaQX5AttxynJRij7JP3ySxYY1fg== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-bigint" "8.4.1" - "@polkadot/x-global" "8.4.1" - "@polkadot/x-textdecoder" "8.4.1" - "@polkadot/x-textencoder" "8.4.1" - "@types/bn.js" "^5.1.0" - bn.js "^5.2.0" - ip-regex "^4.3.0" - -"@polkadot/util@^7.6.1": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-7.9.2.tgz#567ac659516d6b685ed7e796919901d92e5cbe6b" - integrity sha512-6ABY6ErgkCsM4C6+X+AJSY4pBGwbKlHZmUtHftaiTvbaj4XuA4nTo3GU28jw8wY0Jh2cJZJvt6/BJ5GVkm5tBA== - dependencies: - "@babel/runtime" "^7.16.3" - "@polkadot/x-textdecoder" "7.9.2" - "@polkadot/x-textencoder" "7.9.2" - "@types/bn.js" "^4.11.6" - bn.js "^4.12.0" - camelcase "^6.2.1" - ip-regex "^4.3.0" - -"@polkadot/wasm-crypto-asmjs@^4.5.1": - version "4.5.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.5.1.tgz#e1025a49e106db11d1187caf65f56c960ea2ad2b" - integrity sha512-DOdRiWhxVvmqTvp+E9z1j+Yr0zDOGsDvqnT/eNw0Dl1FVUOImsEa7FKns/urASmcxCVEE1jtUWSnij29jrORMQ== - dependencies: - "@babel/runtime" "^7.16.3" - -"@polkadot/wasm-crypto-wasm@^4.5.1": - version "4.5.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.5.1.tgz#063a58ff7ddd939b7886a6a238109a8d2c416e46" - integrity sha512-hPwke85HxpgG/RAlwdCE8u5w7bThvWg399mlB+XjogXMxOUWBZSgq2XYbgzROUXx27inK9nStF4Pnc4zJnqs9A== - dependencies: - "@babel/runtime" "^7.16.3" - -"@polkadot/wasm-crypto@^4.5.1": - version "4.5.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-4.5.1.tgz#e1ac6d846a0ad8e991cec128994524183ef6e8fd" - integrity sha512-Cr21ais3Kq3aedIHZ3J1tjgeD/+K8FCiwEawr0oRywNBSJR8wyuZMePs4swR/6xm8wbBkpqoBVHz/UQHqqQJmA== - dependencies: - "@babel/runtime" "^7.16.3" - "@polkadot/wasm-crypto-asmjs" "^4.5.1" - "@polkadot/wasm-crypto-wasm" "^4.5.1" - -"@polkadot/x-bigint@8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-8.4.1.tgz#d3ccddd26cdc5413f5c722d8c53ec523299e3ff1" - integrity sha512-QVP0UMoM0nBD998s3ESeaoSiVMEnHK3x0CCqocKO4l7ADNw8lfWdDG7Bb0+ymNaFYGz2KgEWxkN0VhNEnXzo0w== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-global" "8.4.1" - -"@polkadot/x-fetch@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-8.4.1.tgz#7254cdb70b61aea79debd7d0c9ae5e126f78d90d" - integrity sha512-DPkgXZYt1B4xCzEw/3hxRc4/lR+NEr/b/GYijSPM8UsVoEKqHWTx2qCXrxvmKh1WD9reQ+oUACPVjRcBz5bs+g== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-global" "8.4.1" - "@types/node-fetch" "^2.5.12" - node-fetch "^2.6.7" - -"@polkadot/x-global@7.9.2": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-7.9.2.tgz#b272b0a3bedaad3bcbf075ec4682abe68cf2a850" - integrity sha512-JX5CrGWckHf1P9xKXq4vQCAuMUbL81l2hOWX7xeP8nv4caHEpmf5T1wD1iMdQBL5PFifo6Pg0V6/oZBB+bts7A== - dependencies: - "@babel/runtime" "^7.16.3" - -"@polkadot/x-global@8.4.1", "@polkadot/x-global@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-8.4.1.tgz#61def1f5962001200c17b9fde92f6837736b3c55" - integrity sha512-MQs89LKQrJwiXjV7dY2kDOPNaiWrwaQ/Fzg93ycB2xMCclRV1jRFRhnhTPJ8Ao79lhCCoazd7pXIyFgfifxdqg== - dependencies: - "@babel/runtime" "^7.17.2" - -"@polkadot/x-randomvalues@8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-8.4.1.tgz#4488d2d6b982e7b2ecafc573cd25e3f1e85a512c" - integrity sha512-1dRIFIib4RzyVo0k5oMLuxqSuZEV6UVvvN+jJw9G/9P1ggZtHjM1KwoFcyHgvpk2RWTB9eJZFemwSvQTpdmSJw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-global" "8.4.1" - -"@polkadot/x-textdecoder@7.9.2": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-7.9.2.tgz#a78548e33efeb3a25f761fec9787b2bcae7f0608" - integrity sha512-wfwbSHXPhrOAl12QvlIOGNkMH/N/h8PId2ytIjvM/8zPPFB5Il6DWSFLtVapOGEpIFjEWbd5t8Td4pHBVXIEbg== - dependencies: - "@babel/runtime" "^7.16.3" - "@polkadot/x-global" "7.9.2" - -"@polkadot/x-textdecoder@8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-8.4.1.tgz#5a227006d183f5ec3a8a331ca38e4969d24c4a97" - integrity sha512-qbSXyR2KvE1bO6QGsxWU3Yrx5e70rX2lwv0MHG++MyyNaDoBM3hjx14lF911bYRWXR6MW4eZ+0Nakn0oM5uSKw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-global" "8.4.1" - -"@polkadot/x-textencoder@7.9.2": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-7.9.2.tgz#b32bfd6fbff8587c56452f58252a52d62bbcd5b9" - integrity sha512-A19wwYINuZwU2dUyQ/mMzB0ISjyfc4cISfL4zCMUAVgj7xVoXMYV2GfjNdMpA8Wsjch3su6pxLbtJ2wU03sRTQ== - dependencies: - "@babel/runtime" "^7.16.3" - "@polkadot/x-global" "7.9.2" - -"@polkadot/x-textencoder@8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-8.4.1.tgz#ea01733ce6b80821bf8af943a1d98878a9150af5" - integrity sha512-1UYuckNOk6NUk70Y/SGbK8oyGbqPlrny1x2OWoK/BT3/tyL2xKVV5TlXDOiFrX1PChbskXye5M8blCTYikFiJg== +"@polkadot/util@11.1.3", "@polkadot/util@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-11.1.3.tgz#dcdc4504f7c31e6104e7970903d8c1998f3858ef" + integrity sha512-Gsqzv1/fSoypS5tnJkM+NJQeT7O4iYlSniubUJnaZVOKsIbueTS1bMQ1y3/h8ISxbKBtICW5cZ6zCej6Q/jC3w== + dependencies: + "@polkadot/x-bigint" "11.1.3" + "@polkadot/x-global" "11.1.3" + "@polkadot/x-textdecoder" "11.1.3" + "@polkadot/x-textencoder" "11.1.3" + "@types/bn.js" "^5.1.1" + bn.js "^5.2.1" + tslib "^2.5.0" + +"@polkadot/wasm-bridge@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.0.3.tgz#9691450830604dc4a361692a8a2a3df22fa53e96" + integrity sha512-q5qyhkGE9lHQmThNg6G5zCM4gYip2KtmR+De/URX7yWAO6snsinFqt066RFVuHvX1hZijrYSe/BGQABAUtH4pw== + dependencies: + tslib "^2.5.0" + +"@polkadot/wasm-crypto-asmjs@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.0.3.tgz#a1bc942029979b2696a1062066d774e99a5a6b4c" + integrity sha512-ldMZjowYywn0Uj7jSr8a21rrlFFq/jWhCXVl21/KDcYGdFEfIajqbcrO5cHoT6w95sQgAwMWJwwDClXOaBjc/Q== + dependencies: + tslib "^2.5.0" + +"@polkadot/wasm-crypto-init@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.0.3.tgz#336af713edfcd6fdd0194fee2919781893fba577" + integrity sha512-W4ClfPrzOTqiX0x4h6rXjCt8UsVsbg3zU7LJFFjeLgrguPoKTLGw4h5O1rR2H7EuMFbuqdztzJn3qTjBcR03Cg== + dependencies: + "@polkadot/wasm-bridge" "7.0.3" + "@polkadot/wasm-crypto-asmjs" "7.0.3" + "@polkadot/wasm-crypto-wasm" "7.0.3" + tslib "^2.5.0" + +"@polkadot/wasm-crypto-wasm@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.0.3.tgz#016834b1eb2564d8a13b133ee77a4612ad873d41" + integrity sha512-FRjUADiA3wMkjJqQLgB0v9rbSADcb2PY/6dJi06iza9m41HebTN3x7f5D3gWTCfgJjzWLAPchY2Hwsa0WpTQkw== + dependencies: + "@polkadot/wasm-util" "7.0.3" + tslib "^2.5.0" + +"@polkadot/wasm-crypto@^7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.0.3.tgz#e07ddbeea0b45149d8e58be292ad423d646f1cb1" + integrity sha512-mOCLCaL9cyrU72PCc9nMNAj3zdvOzau5mOGJjLahIz+mqlHAoAmEXCAJvJ2qCo7OFl8QiDToAEGhdDWQfiHUyg== + dependencies: + "@polkadot/wasm-bridge" "7.0.3" + "@polkadot/wasm-crypto-asmjs" "7.0.3" + "@polkadot/wasm-crypto-init" "7.0.3" + "@polkadot/wasm-crypto-wasm" "7.0.3" + "@polkadot/wasm-util" "7.0.3" + tslib "^2.5.0" + +"@polkadot/wasm-util@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.0.3.tgz#eab59f9dac0f00ca736aff8b24925108b7b2f860" + integrity sha512-L9U5nSbzr5xa2YSpveP/zZxhOB6i8ibssK+ihuG+7SICYtTC0B9wJp/UnjP/c6bEDlMV3yWiNXJPBTJMGmkmIQ== + dependencies: + tslib "^2.5.0" + +"@polkadot/x-bigint@11.1.3", "@polkadot/x-bigint@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-11.1.3.tgz#37b09a12a9ed6df704e047e261f1b8b2ac978497" + integrity sha512-fRUUHfW9VFsXT7sLUUY7gSu8v+PvzNLRwvjnp+Ly8vFx9LTLuVGFCi+mpysuRTaPpqZZJlzBJ3fST7xTGh67Pg== + dependencies: + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" + +"@polkadot/x-fetch@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-11.1.3.tgz#e39df53fc7fb6399d3883b45d03f6ef7f265a7f9" + integrity sha512-+Z0RxxsN7+l2ZmmDdHqOo0kgqvjXJ1bw8CwTVnq3t9nPgZKn2pC3Fq3xdj/sRWiLuf/UhgCxKfYfMmt5ek4kIg== + dependencies: + "@polkadot/x-global" "11.1.3" + node-fetch "^3.3.1" + tslib "^2.5.0" + +"@polkadot/x-global@11.1.3", "@polkadot/x-global@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-11.1.3.tgz#4086694f52373fea63910b62da999bf0981d7d86" + integrity sha512-R3aqtIjgzFHJ3TyX6wavhp+59oLbZiqczIHkaas/nJe21+SVARqFmIII6BwS7ty7+8Uu4fHliA9re+ZSUp+rwg== + dependencies: + tslib "^2.5.0" + +"@polkadot/x-randomvalues@11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-11.1.3.tgz#48dde21012aa4eef3bd00d46f545861727fb6618" + integrity sha512-kZjbRgxokMR9UTodZQKs6s3C/Q2YgeizcxpDCghM/VdvQUE8OVBGNzduF7SvBvQyg2Qbg8jMcSxXOY7UgcOWSg== + dependencies: + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" + +"@polkadot/x-textdecoder@11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-11.1.3.tgz#1d1e2aa86e47587393a6acb74a086ab97d62058d" + integrity sha512-NhOjuXVfYRMw9l0VhCtZOtcWefZth58p5KpVOrFyJZd12fTsoMO5/746K7QoAjWRrLQTJ/LHCEKCtWww0LwVPw== + dependencies: + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" + +"@polkadot/x-textencoder@11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-11.1.3.tgz#ba7621b636dcfa6ca4ab6176a6a52eef15904a72" + integrity sha512-7DmqjlPN8aQexLUKwoHeadihpUnW8hjpXEru+aEDxjgq9XIxPvb++NeBK+Mra9RzzZRuiT/K5z16HlwKN//ewg== + dependencies: + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" + +"@polkadot/x-ws@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-11.1.3.tgz#5a759bcbbbdceeecca53bcc74170e52cd3ca774b" + integrity sha512-omNU2mIVX997HiHm2YxEdJdyCFnv+oTyKWZd0+FdS47rdfhVwD+H9/bS+rtQ9lIqfhODdGmw3fG//gq1KpYJcw== dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-global" "8.4.1" - -"@polkadot/x-ws@^8.4.1": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-8.4.1.tgz#502fc034588cd81ed9dc0301ca70197bf3d78799" - integrity sha512-u9rsJdVrBkSARy8BhJPho1yMMBSiI/Z/W8ZQRr1I28/QOwl02VYktFpFWWrhkBHsL9JlZ0wfnyKBPXrw8Wp2Vw== - dependencies: - "@babel/runtime" "^7.17.2" - "@polkadot/x-global" "8.4.1" - "@types/websocket" "^1.0.5" - websocket "^1.0.34" - -"@scure/base@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.0.0.tgz#109fb595021de285f05a7db6806f2f48296fcee7" - integrity sha512-gIVaYhUsy+9s58m/ETjSJVKHhKTBMmcRb9cEV5/5dwvfDlfORjKrFsDeDHWRrm6RjcPvCLZFwGJjAjLj1gg4HA== - -"@substrate/ss58-registry@^1.14.0": - version "1.15.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.15.0.tgz#211c7c9e5cbcbfb6ee9c300efd719a038af38c36" - integrity sha512-UU5uN8HEp0NM22od6kHWLltX0McQPgPX6O3gj7fSf1mMExsCS5fzW88gv1WaVaT8Q+umvGgnIAF7+Tvp8fqTFw== + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" + ws "^8.13.0" + +"@scure/base@1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" + integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== + +"@substrate/connect-extension-protocol@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" + integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== -"@types/bn.js@^4.11.6": - version "4.11.6" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" - integrity sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg== +"@substrate/connect@0.7.22": + version "0.7.22" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.22.tgz#15a20d734bab082c87f2aaaf75ce012c83881ef7" + integrity sha512-g12IYiepPu0OFWcm87ugDbfPr5a9TCGd4HJv1zXB2TRP/ZvYtHCE9+ftA5IvJbJPw6CI6/0XmUbP7Nz19HT/aw== dependencies: - "@types/node" "*" + "@substrate/connect-extension-protocol" "^1.0.1" + eventemitter3 "^4.0.7" + smoldot "1.0.0" -"@types/bn.js@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.0.tgz#32c5d271503a12653c62cf4d2b45e6eab8cebc68" - integrity sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA== - dependencies: - "@types/node" "*" +"@substrate/ss58-registry@^1.39.0": + version "1.39.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.39.0.tgz#eb916ff5fea7fa02e77745823fde21af979273d2" + integrity sha512-qZYpuE6n+mwew+X71dOur/CbMXj6rNW27o63JeJwdQH/GvcSKm3JLNhd+bGzwUKg0D/zD30Qc6p4JykArzM+tA== -"@types/node-fetch@^2.5.12": - version "2.6.1" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.1.tgz#8f127c50481db65886800ef496f20bbf15518975" - integrity sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA== +"@types/bn.js@^5.1.1": + version "5.1.1" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" + integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== dependencies: "@types/node" "*" - form-data "^3.0.0" "@types/node@*": version "17.0.21" resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.21.tgz#864b987c0c68d07b4345845c3e63b75edd143644" integrity sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ== -"@types/websocket@^1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.5.tgz#3fb80ed8e07f88e51961211cd3682a3a4a81569c" - integrity sha512-NbsqiNX9CnEfC1Z0Vf4mE1SgAJ07JnRYcNex7AJ9zAVzmiGHmjKFEk7O4TJIsgv2B1sLEb6owKFZrACwdYngsQ== - dependencies: - "@types/node" "*" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= +bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -bn.js@^4.12.0: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" - integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== - -bufferutil@^4.0.1: - version "4.0.6" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.6.tgz#ebd6c67c7922a0e902f053e5d8be5ec850e48433" - integrity sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw== - dependencies: - node-gyp-build "^4.3.0" - -camelcase@^6.2.1: - version "6.3.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" - integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== - -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - -debug@^2.2.0: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" +data-uri-to-buffer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e" + integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== debug@^4.1.0: version "4.3.3" @@ -451,221 +388,121 @@ debug@^4.1.0: dependencies: ms "2.1.2" -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= - -ed2curve@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/ed2curve/-/ed2curve-0.3.0.tgz#322b575152a45305429d546b071823a93129a05d" - integrity sha512-8w2fmmq3hv9rCrcI7g9hms2pMunQr1JINfcjwR9tAyZqhtyaMN991lF/ZfHfr5tzZQ8c7y7aBgZbjfbd0fjFwQ== - dependencies: - tweetnacl "1.x.x" - -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.57" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.57.tgz#440574256186e2bf22223d673087caae83edabd2" - integrity sha512-L7cCNoPwTkAp7IBHxrKLsh7NKiVFkcdxlP9vbVw9QUvb7gF0Mz9bEBN0WY9xqdTjGF907EMT/iG013vnbqwu1Q== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -ext@^1.1.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" - integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== - dependencies: - type "^2.5.0" +eventemitter3@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.0.tgz#084eb7f5b5388df1451e63f4c2aafd71b217ccb3" + integrity sha512-riuVbElZZNXLeLEoprfNYoDSwTBRR44X3mnhdI1YcnENpWTCsTTVZ2zFuqQcpoyqPQIUXdiPEU0ECAq0KQRaHg== -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -ip-regex@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.3.0.tgz#687275ab0f57fa76978ff8f4dddc8a23d5990db5" - integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q== + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" -is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" json-stringify-safe@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -lodash.set@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" - integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM= - -mime-db@1.51.0: - version "1.51.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c" - integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== - -mime-types@^2.1.12: - version "2.1.34" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24" - integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A== - dependencies: - mime-db "1.51.0" - -mock-socket@^9.1.2: - version "9.1.2" - resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.1.2.tgz#cce6cf2193aada937ba41de3288c5c1922fbd571" - integrity sha512-XKZkCnQ9ISOlTnaPg4LYYSMj7+6i78HyadYzLA5JM4465ibLdjappZD9Csnqc3Tfzep/eEK/LCJ29BTaLHoB1A== +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= +mock-socket@^9.2.1: + version "9.2.1" + resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.2.1.tgz#cc9c0810aa4d0afe02d721dcb2b7e657c00e2282" + integrity sha512-aw9F9T9G2zpGipLLhSNh6ZpgUyUl4frcVmRN08uE1NWPWg43Wx6+sGPDbQ7E5iFZZDJW5b5bypMeAEHqTbIFag== ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - -nock@^13.2.4: - version "13.2.4" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.2.4.tgz#43a309d93143ee5cdcca91358614e7bde56d20e1" - integrity sha512-8GPznwxcPNCH/h8B+XZcKjYPXnUV5clOKCjAqyjsiqA++MpNx9E9+t8YPp0MbThO+KauRo7aZJ1WuIZmOrT2Ug== +nock@^13.3.0: + version "13.3.0" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.0.tgz#b13069c1a03f1ad63120f994b04bfd2556925768" + integrity sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" - lodash.set "^4.3.2" + lodash "^4.17.21" propagate "^2.0.0" -node-fetch@^2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + +node-fetch@^3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.1.tgz#b3eea7b54b3a48020e46f4f88b9c5a7430d20b2e" + integrity sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow== dependencies: - whatwg-url "^5.0.0" + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" -node-gyp-build@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3" - integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q== +pako@^2.0.4: + version "2.1.0" + resolved "https://registry.yarnpkg.com/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" + integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== propagate@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/propagate/-/propagate-2.0.1.tgz#40cdedab18085c792334e64f0ac17256d38f9a45" integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag== -regenerator-runtime@^0.13.4: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== - -rxjs@^7.5.4: - version "7.5.5" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" - integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== +rxjs@^7.8.0: + version "7.8.0" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" + integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== dependencies: tslib "^2.1.0" -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= +smoldot@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-1.0.0.tgz#438ddb9903fed28f24e52c4c0fb56f0b479209d7" + integrity sha512-3/y/poD7j42NL6Z/Gp4OLm1qx8svyy255XQ5xRkjv9+O50RT0SeEmnBZmEbVmi1w6WmamPjt8URdzfN7xxgK9Q== + dependencies: + pako "^2.0.4" + ws "^8.8.1" tslib@^2.1.0: version "2.3.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== -tweetnacl@1.x.x, tweetnacl@^1.0.3: +tslib@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" + integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== + +tweetnacl@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/type/-/type-2.6.0.tgz#3ca6099af5981d36ca86b78442973694278a219f" - integrity sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ== - -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - -utf-8-validate@^5.0.2: - version "5.0.9" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.9.tgz#ba16a822fbeedff1a58918f2a6a6b36387493ea3" - integrity sha512-Yek7dAy0v3Kl0orwMlvi7TPtiCNrdfHNd7Gcc/pLq4BLXqfAmd0J7OWMizUQnTTJsyjKn02mU7anqwfmUP4J8Q== - dependencies: - node-gyp-build "^4.3.0" - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= - -websocket@^1.0.34: - version "1.0.34" - resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111" - integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ== - dependencies: - bufferutil "^4.0.1" - debug "^2.2.0" - es5-ext "^0.10.50" - typedarray-to-buffer "^3.1.5" - utf-8-validate "^5.0.2" - yaeti "^0.0.6" - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" +web-streams-polyfill@^3.0.3: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== -yaeti@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577" - integrity sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc= +ws@^8.13.0, ws@^8.8.1: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== diff --git a/scripts/js/upgrade/package.json b/scripts/js/upgrade/package.json index 60fb4c9425..b72e8f1b7b 100644 --- a/scripts/js/upgrade/package.json +++ b/scripts/js/upgrade/package.json @@ -1,6 +1,6 @@ { "name": "upgrade", - "version": "1.0.0", + "version": "1.1.0", "description": "", "main": "index.js", "scripts": { @@ -10,8 +10,8 @@ "author": "", "license": "ISC", "dependencies": { - "@polkadot/api": "^9.11.1", - "@polkadot/util": "^9.7.2", - "@polkadot/util-crypto": "^8.3.3" + "@polkadot/api": "^10.2.2", + "@polkadot/util": "^11.1.3", + "@polkadot/util-crypto": "^11.1.3" } } diff --git a/scripts/js/upgrade/yarn.lock b/scripts/js/upgrade/yarn.lock index 82da1f2467..b373e485ea 100644 --- a/scripts/js/upgrade/yarn.lock +++ b/scripts/js/upgrade/yarn.lock @@ -2,517 +2,338 @@ # yarn lockfile v1 -"@babel/runtime@^7.17.8": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" - integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== - dependencies: - regenerator-runtime "^0.13.4" - -"@babel/runtime@^7.18.6", "@babel/runtime@^7.20.6", "@babel/runtime@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" - integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ== - dependencies: - regenerator-runtime "^0.13.11" - -"@noble/hashes@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae" - integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg== - -"@noble/hashes@1.1.5": - version "1.1.5" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.5.tgz#1a0377f3b9020efe2fae03290bd2a12140c95c11" - integrity sha512-LTMZiiLc+V4v1Yi16TD6aX2gmtKszNye0pQgbaLqkvhIqP7nVsSaJsWloGQjJfJ8offaoP5GtX3yY5swbcJxxQ== - -"@noble/secp256k1@1.5.5": - version "1.5.5" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.5.5.tgz#315ab5745509d1a8c8e90d0bdf59823ccf9bcfc3" - integrity sha512-sZ1W6gQzYnu45wPrWx8D3kwI2/U29VYTx9OjbDAd7jwRItJ0cSTMPRL/C8AWZFn9kWFLQGqEXVEE86w4Z8LpIQ== - -"@noble/secp256k1@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.0.tgz#d15357f7c227e751d90aa06b05a0e5cf993ba8c1" - integrity sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw== - -"@polkadot/api-augment@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-9.11.1.tgz#1d1fff15e256f5a5c80047db9b56e839c7af0515" - integrity sha512-heQFPjliNAOPNkHu01Fm+8i8aNynL7JUfHrfkbb1zTFAW6dN2x3SfrsaV7UpzJCK2/aghY9LOpayehZvFSy3og== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/api-base" "9.11.1" - "@polkadot/rpc-augment" "9.11.1" - "@polkadot/types" "9.11.1" - "@polkadot/types-augment" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/util" "^10.2.3" - -"@polkadot/api-base@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-9.11.1.tgz#f9240200a736c929e9b99d8e735c67bc21c175d9" - integrity sha512-4z4ttJKD3mPD/khPjr3CtolxtV+gbXJtSJLMMFIoNkLd3TnC7cqzerWJoLnQatPQMWgyH9byXGqnAgYaJlOiiQ== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/rpc-core" "9.11.1" - "@polkadot/types" "9.11.1" - "@polkadot/util" "^10.2.3" +"@noble/hashes@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" + integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== + +"@noble/secp256k1@1.7.1": + version "1.7.1" + resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" + integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw== + +"@polkadot/api-augment@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.2.2.tgz#5e802f83594d8baaf9b3715c9315d950f106096a" + integrity sha512-ENICYFmUX1BzbgfHvIsWvJVYrBK6y7A1AfYweQ4/sp7qqCXZ69uCrUzEJnyB5f6Zj7n7QJxBSa18l51yKljxrA== + dependencies: + "@polkadot/api-base" "10.2.2" + "@polkadot/rpc-augment" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-augment" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/api-base@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.2.2.tgz#819fed1ea7f6a670e3972e580e628e3c1c76142f" + integrity sha512-7xpkUOIesYZ+K9dw9zJZW0NTVWfNJXszX0WWKYxBK7V4tH4DB1VVCC+5syNzhDUEfDVSLYfcZANx1W6T+32V/w== + dependencies: + "@polkadot/rpc-core" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/util" "^11.1.3" rxjs "^7.8.0" - -"@polkadot/api-derive@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-9.11.1.tgz#c03f0668d9d4fe3a3b5bf3c6a329cb83b427fd30" - integrity sha512-xQRNBvciqEgW3TB3XJlYkL8NgoUEI/fYlEVIbkm+CjS5+M/p+GFm+Reog0rwSIip8JeGL5OTOQVOt4GL99rb2A== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/api" "9.11.1" - "@polkadot/api-augment" "9.11.1" - "@polkadot/api-base" "9.11.1" - "@polkadot/rpc-core" "9.11.1" - "@polkadot/types" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/util" "^10.2.3" - "@polkadot/util-crypto" "^10.2.3" + tslib "^2.5.0" + +"@polkadot/api-derive@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.2.2.tgz#18d28c21c782110dbef9c78962975c546001005c" + integrity sha512-/qqZOMNXo1x24nBGc93SOpoddOa15duazsneeylulqf3zUM9E8JT510QnzSHC5UANCNs98q3UaU+CS/kHb9v6Q== + dependencies: + "@polkadot/api" "10.2.2" + "@polkadot/api-augment" "10.2.2" + "@polkadot/api-base" "10.2.2" + "@polkadot/rpc-core" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" rxjs "^7.8.0" - -"@polkadot/api@9.11.1", "@polkadot/api@^9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-9.11.1.tgz#e39353e70c10baf3af70798e1cecfee4126c766d" - integrity sha512-g1xpXpwtxQ1nlvESmolxVqXQmRq6FbGrVZmhA9w4EvkEV1PXUbngz/yCJi52RlGeYNRhv6d7SwvlWLHm80Fu9Q== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/api-augment" "9.11.1" - "@polkadot/api-base" "9.11.1" - "@polkadot/api-derive" "9.11.1" - "@polkadot/keyring" "^10.2.3" - "@polkadot/rpc-augment" "9.11.1" - "@polkadot/rpc-core" "9.11.1" - "@polkadot/rpc-provider" "9.11.1" - "@polkadot/types" "9.11.1" - "@polkadot/types-augment" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/types-create" "9.11.1" - "@polkadot/types-known" "9.11.1" - "@polkadot/util" "^10.2.3" - "@polkadot/util-crypto" "^10.2.3" - eventemitter3 "^4.0.7" + tslib "^2.5.0" + +"@polkadot/api@10.2.2", "@polkadot/api@^10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.2.2.tgz#feadf8809f85f6b95e9d80a2741219e8740b8482" + integrity sha512-tv/E+8qN492b33CvSEZ57SjKQ8f6AMUSI6Js6lZreYPomSq5SzJWFH1mplOp3/VI0uX1O5c01dgMWkpM8W2ZKw== + dependencies: + "@polkadot/api-augment" "10.2.2" + "@polkadot/api-base" "10.2.2" + "@polkadot/api-derive" "10.2.2" + "@polkadot/keyring" "^11.1.3" + "@polkadot/rpc-augment" "10.2.2" + "@polkadot/rpc-core" "10.2.2" + "@polkadot/rpc-provider" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-augment" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/types-create" "10.2.2" + "@polkadot/types-known" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" + eventemitter3 "^5.0.0" rxjs "^7.8.0" - -"@polkadot/keyring@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-10.2.3.tgz#cf33f599e7018398e0eca119207514eef4106e7a" - integrity sha512-OCOfkhqXu9j0g1T6u1bg1Qo/JJS8ng1M1Qv+rfpxDFYGz26T81SOT0caxsOvF6MzBBYm0l0d9sAYB62mQYuWCA== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/util" "10.2.3" - "@polkadot/util-crypto" "10.2.3" - -"@polkadot/networks@10.2.3", "@polkadot/networks@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-10.2.3.tgz#89940078f9c4967bf5edbc66dd22207bdebc3a73" - integrity sha512-YE2/UzrYrf8IZpZ4jfK7rWJdXjW10ISqlePzDx02BCkEB7GZj9al9c3m+lJPaqmpwcGPZpn0UVw6UtBSIt4pNA== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/util" "10.2.3" - "@substrate/ss58-registry" "^1.37.0" - -"@polkadot/networks@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-8.7.1.tgz#26c2ec6158c985bb77c510d98a3ab1c7e049f89c" - integrity sha512-8xAmhDW0ry5EKcEjp6VTuwoTm0DdDo/zHsmx88P6sVL87gupuFsL+B6TrsYLl8GcaqxujwrOlKB+CKTUg7qFKg== - dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/util" "8.7.1" - "@substrate/ss58-registry" "^1.17.0" - -"@polkadot/rpc-augment@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-9.11.1.tgz#2f2398fd8abcf3dc0ef4b39f98f67d4a33c312f8" - integrity sha512-LZU73uSlsv8qwq6LWxv+jmkbvBnFowfoX3Q4SRrjhOTzvo4Z62CkH/fnBsKE5FwB+baJmsL1eU6H/V8VtHoHJA== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/rpc-core" "9.11.1" - "@polkadot/types" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/util" "^10.2.3" - -"@polkadot/rpc-core@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-9.11.1.tgz#9d957b58edfdf2c24e445b5843205b77fca67132" - integrity sha512-OnV9Vms7CfgAvLWKm6uZCnoUDj75k2E/JaguOC2AeII4LzA4CrM2CRgLrAiaiQIQivupPxr7GjdempWdGSB/6Q== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/rpc-augment" "9.11.1" - "@polkadot/rpc-provider" "9.11.1" - "@polkadot/types" "9.11.1" - "@polkadot/util" "^10.2.3" + tslib "^2.5.0" + +"@polkadot/keyring@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-11.1.3.tgz#8718f14996ecdb389acffc6ecbe7deb8a2d74b5f" + integrity sha512-bzGz1cWDYK7MWhp0630W6KOwTC/wsvKKHBvWxReMT7iQwFHeLn5AemUOveqIPxF+esd/UfdN5aFDHApjYcyZsg== + dependencies: + "@polkadot/util" "11.1.3" + "@polkadot/util-crypto" "11.1.3" + tslib "^2.5.0" + +"@polkadot/networks@11.1.3", "@polkadot/networks@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-11.1.3.tgz#e113c98269328267962c2047dccca4d2790cc8a5" + integrity sha512-goLpX9SswAGGeh1jXB79wHEfWOF5rLIItMHYalujBmhQVxyAqbxP2tzQqPQXDLcnkWbgwkyYGLXaDD72GBqHZw== + dependencies: + "@polkadot/util" "11.1.3" + "@substrate/ss58-registry" "^1.39.0" + tslib "^2.5.0" + +"@polkadot/rpc-augment@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.2.2.tgz#5a4ca3d138e42b6ca9925533cdcdf9985be58809" + integrity sha512-NpxdlIjQbnBAqTU7Gh9yd672r0BX4SAQ0xODtDKUFA4zXaHC6rrK0DpshAe4dmafvhvxGftXwTrkxl+6yBQ/AA== + dependencies: + "@polkadot/rpc-core" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/rpc-core@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.2.2.tgz#b585942107244710fece57bd285ded4113c26c6b" + integrity sha512-PXsiGcb3PHWP4FSO1BsSX5R32GrKO5uaoT8ul2cm8ZuEeNA85MelXNH/5iKZ/gj2TwJoYARFLz4evW9F6QKTmw== + dependencies: + "@polkadot/rpc-augment" "10.2.2" + "@polkadot/rpc-provider" "10.2.2" + "@polkadot/types" "10.2.2" + "@polkadot/util" "^11.1.3" rxjs "^7.8.0" - -"@polkadot/rpc-provider@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-9.11.1.tgz#e09b5d24dd4b4edcfe82efc64889bec8fb8ab5db" - integrity sha512-KjUGi9yPaMb00HZVTTtjv/zQBqh8Uf6vHOEQjwM8gZi51qIgs5MMJRyiv0yFnkPtu1wNsw12SI1py0rpQT2NOA== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/keyring" "^10.2.3" - "@polkadot/types" "9.11.1" - "@polkadot/types-support" "9.11.1" - "@polkadot/util" "^10.2.3" - "@polkadot/util-crypto" "^10.2.3" - "@polkadot/x-fetch" "^10.2.3" - "@polkadot/x-global" "^10.2.3" - "@polkadot/x-ws" "^10.2.3" - eventemitter3 "^4.0.7" - mock-socket "^9.1.5" - nock "^13.2.9" + tslib "^2.5.0" + +"@polkadot/rpc-provider@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.2.2.tgz#e0649e082be956fea4ae5de631250ae0f14af8f7" + integrity sha512-bk4ihqKVapyZRNI6cMQanp4Ajouzh8t/028rpsZRbB7C5x2CIGwtTqxzo4l2oSNF6Mn0zji3UA5XYeWxSZDAAg== + dependencies: + "@polkadot/keyring" "^11.1.3" + "@polkadot/types" "10.2.2" + "@polkadot/types-support" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" + "@polkadot/x-fetch" "^11.1.3" + "@polkadot/x-global" "^11.1.3" + "@polkadot/x-ws" "^11.1.3" + eventemitter3 "^5.0.0" + mock-socket "^9.2.1" + nock "^13.3.0" + tslib "^2.5.0" optionalDependencies: - "@substrate/connect" "0.7.18" - -"@polkadot/types-augment@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-9.11.1.tgz#40c493b797a4f1a653166ee3068f28153f94b021" - integrity sha512-SKafiDAfh+hDY6fz9fkuXa37/aqb+UMNv26FTfAscJJFrKxAG4QSXbcxyvWefGvMB2S7gJ59e3D33FfsuuySJA== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/types" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/util" "^10.2.3" - -"@polkadot/types-codec@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-9.11.1.tgz#f5463d42fea858b48ff2c5716b077f62fc5ef133" - integrity sha512-RrY7+E9SapXsAjnARQqBIsCrPrCZrw3sfvAYCPGULB56j0HyX+Dut/45QBrWUiITeLdbUsbSAP5bLkQoUZOANQ== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/util" "^10.2.3" - "@polkadot/x-bigint" "^10.2.3" - -"@polkadot/types-create@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-9.11.1.tgz#73e9438c54ddda95189bbb348a6734eaa053007d" - integrity sha512-y8E7rx5ZJNWtPKrrUVT7s79i+ehffMNV95DTEHtSVizFfYVXEYZuOI0/AqK2vqR93uolth18GxbcRCRZwZGFow== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/types-codec" "9.11.1" - "@polkadot/util" "^10.2.3" - -"@polkadot/types-known@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-9.11.1.tgz#82665c57aeda2ec00bc7e6a1cf0e5a642b0665aa" - integrity sha512-DZOXhQ5ST565FijTQn4T5GglsD/g2lnOrgylCHG/U00ppN/5GJYedQZU5qQ8t4uhdBj2EVlkB7PflRNZqfkJ3w== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/networks" "^10.2.3" - "@polkadot/types" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/types-create" "9.11.1" - "@polkadot/util" "^10.2.3" - -"@polkadot/types-support@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-9.11.1.tgz#0ed6f173568df191bfc9d3b72e77574082e3cedb" - integrity sha512-Z6NdqqLxezZBIYmNVVETwKo5r8WCCnvEzd0p/AxVGRsfkQ/Y82+GbynEgczMG7N8/cnWE0AOpDtONlVIodVHMw== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/util" "^10.2.3" - -"@polkadot/types@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-9.11.1.tgz#d889be948baba1db0032af2a1b8d94777281dd1b" - integrity sha512-3uo4eoNtqjxqRudyNzGEVhQnvkAdqy5iOJZVsEKXP9/eyRupWbAHsZGxmYBuvmRIL+6Bucv/rnd4/YSTAJH7VQ== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/keyring" "^10.2.3" - "@polkadot/types-augment" "9.11.1" - "@polkadot/types-codec" "9.11.1" - "@polkadot/types-create" "9.11.1" - "@polkadot/util" "^10.2.3" - "@polkadot/util-crypto" "^10.2.3" + "@substrate/connect" "0.7.22" + +"@polkadot/types-augment@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.2.2.tgz#42ad9432c1d5ca6eb32ea0af74e4fbecf6e699c5" + integrity sha512-1VTsILspyS23bysTub9Ub6ZIXvOoEsM6/P1xnYgNfFPxb4pTXvW+dPJ11BhJNsgYAm5NbcCo8QxLwMUnM+S86g== + dependencies: + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-codec@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.2.2.tgz#2573f9f9ca85427c91bb976647fa4d990707e1f6" + integrity sha512-W2nYjutn5T7Ggi8Kqf0tf56iuwKNnb6U6bhuSBMvpyA1O6Y0vc2si50fZ+jUfx/XYOshMs1skw80PnM577KPlQ== + dependencies: + "@polkadot/util" "^11.1.3" + "@polkadot/x-bigint" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-create@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.2.2.tgz#0fe4c24a5f1b4de315abdc3bdaf221d8ad07aeee" + integrity sha512-bk+oTPjcm4811GzDmzcQqFZoZlcTaVjqoXS+GSRuPX0+OzAMIVUwz6qFnYpS1hxm8yfZKyOMAQyqV7aK7vQFfg== + dependencies: + "@polkadot/types-codec" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-known@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.2.2.tgz#983c6948e8b6c96a2737ec1d93a7a32beefe600c" + integrity sha512-y9Lfzikd5VKaifBynyqG1oE4n7iIM6OAHtKW5YGCmfkwIrj1EeEn2CDc5zhvlVpbctqrB5XEbSf/r30zA1fUdw== + dependencies: + "@polkadot/networks" "^11.1.3" + "@polkadot/types" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/types-create" "10.2.2" + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types-support@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.2.2.tgz#01cde329010690841ba5f163dc753a7c67d2a2cc" + integrity sha512-T0CxVmA/IWJ35CaFMMGJyvgDyDt6kF3a7r0IVGJD/ChkTiPvNKlZTrg2LHBH/m04I87yq26ILAq03sSiRbftWA== + dependencies: + "@polkadot/util" "^11.1.3" + tslib "^2.5.0" + +"@polkadot/types@10.2.2": + version "10.2.2" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.2.2.tgz#cc1088aa43336d45b7f31015fdc61d1531d6ca9f" + integrity sha512-J7I93a+Rfn3nov03XYyYMZLTn0dPDjv9XDNhSU9KkKB8WpVW7P0aRJNee2PWJjmRX8uXQsoLRSz3CLpMVQTVNA== + dependencies: + "@polkadot/keyring" "^11.1.3" + "@polkadot/types-augment" "10.2.2" + "@polkadot/types-codec" "10.2.2" + "@polkadot/types-create" "10.2.2" + "@polkadot/util" "^11.1.3" + "@polkadot/util-crypto" "^11.1.3" rxjs "^7.8.0" - -"@polkadot/util-crypto@10.2.3", "@polkadot/util-crypto@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-10.2.3.tgz#ad5d365005d91b8642041b08c3065464692963df" - integrity sha512-B4bl5OxZKiJfYerCcD9Ys9/zNYFLAdCM077BT9SkY6T1aJ4Lar1TW7+PekmBRQ9r/rB7hbDMG9pJIy97PVM99g== - dependencies: - "@babel/runtime" "^7.20.7" - "@noble/hashes" "1.1.5" - "@noble/secp256k1" "1.7.0" - "@polkadot/networks" "10.2.3" - "@polkadot/util" "10.2.3" - "@polkadot/wasm-crypto" "^6.4.1" - "@polkadot/x-bigint" "10.2.3" - "@polkadot/x-randomvalues" "10.2.3" + tslib "^2.5.0" + +"@polkadot/util-crypto@11.1.3", "@polkadot/util-crypto@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-11.1.3.tgz#c3b166f8f8934a2139c8cfb31af50dae53a9d985" + integrity sha512-hjH1y6jXQuceJ2NWx7+ei0sR4A7t844XwlNquPxZX3kQbQS+1t6tO4Eo3/95JhPsEaJOXduus02cYEF6gteEYQ== + dependencies: + "@noble/hashes" "1.3.0" + "@noble/secp256k1" "1.7.1" + "@polkadot/networks" "11.1.3" + "@polkadot/util" "11.1.3" + "@polkadot/wasm-crypto" "^7.0.3" + "@polkadot/x-bigint" "11.1.3" + "@polkadot/x-randomvalues" "11.1.3" "@scure/base" "1.1.1" - ed2curve "^0.3.0" + tslib "^2.5.0" tweetnacl "^1.0.3" -"@polkadot/util-crypto@^8.3.3": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-8.7.1.tgz#f9fcca2895b5f160ce1c2faa0aa3054cc7aa4655" - integrity sha512-TaSuJ2aNrB5sYK7YXszkEv24nYJKRFqjF2OrggoMg6uYxUAECvTkldFnhtgeizMweRMxJIBu6bMHlSIutbWgjw== - dependencies: - "@babel/runtime" "^7.17.8" - "@noble/hashes" "1.0.0" - "@noble/secp256k1" "1.5.5" - "@polkadot/networks" "8.7.1" - "@polkadot/util" "8.7.1" - "@polkadot/wasm-crypto" "^5.1.1" - "@polkadot/x-bigint" "8.7.1" - "@polkadot/x-randomvalues" "8.7.1" - "@scure/base" "1.0.0" - ed2curve "^0.3.0" - tweetnacl "^1.0.3" - -"@polkadot/util@10.2.3", "@polkadot/util@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-10.2.3.tgz#05a18641c639838370af332dd2e9077253a5df23" - integrity sha512-Zs+G2iFmdG2jUXyiuBF6HMGHdpHX+58yrKPgt1S7kBBh1Odfw3GTX9vljwJ25mznkLhGBjERAmt6wNWuvPmpJA== +"@polkadot/util@11.1.3", "@polkadot/util@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-11.1.3.tgz#dcdc4504f7c31e6104e7970903d8c1998f3858ef" + integrity sha512-Gsqzv1/fSoypS5tnJkM+NJQeT7O4iYlSniubUJnaZVOKsIbueTS1bMQ1y3/h8ISxbKBtICW5cZ6zCej6Q/jC3w== dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-bigint" "10.2.3" - "@polkadot/x-global" "10.2.3" - "@polkadot/x-textdecoder" "10.2.3" - "@polkadot/x-textencoder" "10.2.3" + "@polkadot/x-bigint" "11.1.3" + "@polkadot/x-global" "11.1.3" + "@polkadot/x-textdecoder" "11.1.3" + "@polkadot/x-textencoder" "11.1.3" "@types/bn.js" "^5.1.1" bn.js "^5.2.1" + tslib "^2.5.0" -"@polkadot/util@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-8.7.1.tgz#27fe93bf7b8345276f10cfe9c0380510cd4584f6" - integrity sha512-XjY1bTo7V6OvOCe4yn8H2vifeuBciCy0gq0k5P1tlGUQLI/Yt0hvDmxcA0FEPtqg8CL+rYRG7WXGPVNjkrNvyQ== - dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/x-bigint" "8.7.1" - "@polkadot/x-global" "8.7.1" - "@polkadot/x-textdecoder" "8.7.1" - "@polkadot/x-textencoder" "8.7.1" - "@types/bn.js" "^5.1.0" - bn.js "^5.2.0" - ip-regex "^4.3.0" - -"@polkadot/util@^9.7.2": - version "9.7.2" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-9.7.2.tgz#0f97fa92b273e6ce4b53fe869a957ac99342007d" - integrity sha512-ivTmA+KkPCq5i3O0Gk+dTds/hwdwlYCh89aKfeaG9ni3XHUbbuBgTqHneo648HqxwAwSAyiDiwE9EdXrzAdO4Q== - dependencies: - "@babel/runtime" "^7.18.6" - "@polkadot/x-bigint" "9.7.2" - "@polkadot/x-global" "9.7.2" - "@polkadot/x-textdecoder" "9.7.2" - "@polkadot/x-textencoder" "9.7.2" - "@types/bn.js" "^5.1.0" - bn.js "^5.2.1" - ip-regex "^4.3.0" - -"@polkadot/wasm-bridge@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-6.4.1.tgz#e97915dd67ba543ec3381299c2a5b9330686e27e" - integrity sha512-QZDvz6dsUlbYsaMV5biZgZWkYH9BC5AfhT0f0/knv8+LrbAoQdP3Asbvddw8vyU9sbpuCHXrd4bDLBwUCRfrBQ== +"@polkadot/wasm-bridge@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.0.3.tgz#9691450830604dc4a361692a8a2a3df22fa53e96" + integrity sha512-q5qyhkGE9lHQmThNg6G5zCM4gYip2KtmR+De/URX7yWAO6snsinFqt066RFVuHvX1hZijrYSe/BGQABAUtH4pw== dependencies: - "@babel/runtime" "^7.20.6" - -"@polkadot/wasm-crypto-asmjs@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.4.1.tgz#3cc76bbda5ea4a7a860982c64f9565907b312253" - integrity sha512-UxZTwuBZlnODGIQdCsE2Sn/jU0O2xrNQ/TkhRFELfkZXEXTNu4lw6NpaKq7Iey4L+wKd8h4lT3VPVkMcPBLOvA== + tslib "^2.5.0" + +"@polkadot/wasm-crypto-asmjs@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.0.3.tgz#a1bc942029979b2696a1062066d774e99a5a6b4c" + integrity sha512-ldMZjowYywn0Uj7jSr8a21rrlFFq/jWhCXVl21/KDcYGdFEfIajqbcrO5cHoT6w95sQgAwMWJwwDClXOaBjc/Q== dependencies: - "@babel/runtime" "^7.20.6" + tslib "^2.5.0" -"@polkadot/wasm-crypto-asmjs@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-5.1.1.tgz#6648e9c6f627501f61aef570e110022f2be1eff2" - integrity sha512-1WBwc2G3pZMKW1T01uXzKE30Sg22MXmF3RbbZiWWk3H2d/Er4jZQRpjumxO5YGWan+xOb7HQQdwnrUnrPgbDhg== +"@polkadot/wasm-crypto-init@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.0.3.tgz#336af713edfcd6fdd0194fee2919781893fba577" + integrity sha512-W4ClfPrzOTqiX0x4h6rXjCt8UsVsbg3zU7LJFFjeLgrguPoKTLGw4h5O1rR2H7EuMFbuqdztzJn3qTjBcR03Cg== dependencies: - "@babel/runtime" "^7.17.8" + "@polkadot/wasm-bridge" "7.0.3" + "@polkadot/wasm-crypto-asmjs" "7.0.3" + "@polkadot/wasm-crypto-wasm" "7.0.3" + tslib "^2.5.0" -"@polkadot/wasm-crypto-init@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.4.1.tgz#4d9ab0030db52cf177bf707ef8e77aa4ca721668" - integrity sha512-1ALagSi/nfkyFaH6JDYfy/QbicVbSn99K8PV9rctDUfxc7P06R7CoqbjGQ4OMPX6w1WYVPU7B4jPHGLYBlVuMw== +"@polkadot/wasm-crypto-wasm@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.0.3.tgz#016834b1eb2564d8a13b133ee77a4612ad873d41" + integrity sha512-FRjUADiA3wMkjJqQLgB0v9rbSADcb2PY/6dJi06iza9m41HebTN3x7f5D3gWTCfgJjzWLAPchY2Hwsa0WpTQkw== dependencies: - "@babel/runtime" "^7.20.6" - "@polkadot/wasm-bridge" "6.4.1" - "@polkadot/wasm-crypto-asmjs" "6.4.1" - "@polkadot/wasm-crypto-wasm" "6.4.1" + "@polkadot/wasm-util" "7.0.3" + tslib "^2.5.0" -"@polkadot/wasm-crypto-wasm@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.4.1.tgz#97180f80583b18f6a13c1054fa5f7e8da40b1028" - integrity sha512-3VV9ZGzh0ZY3SmkkSw+0TRXxIpiO0nB8lFwlRgcwaCihwrvLfRnH9GI8WE12mKsHVjWTEVR3ogzILJxccAUjDA== +"@polkadot/wasm-crypto@^7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.0.3.tgz#e07ddbeea0b45149d8e58be292ad423d646f1cb1" + integrity sha512-mOCLCaL9cyrU72PCc9nMNAj3zdvOzau5mOGJjLahIz+mqlHAoAmEXCAJvJ2qCo7OFl8QiDToAEGhdDWQfiHUyg== dependencies: - "@babel/runtime" "^7.20.6" - "@polkadot/wasm-util" "6.4.1" + "@polkadot/wasm-bridge" "7.0.3" + "@polkadot/wasm-crypto-asmjs" "7.0.3" + "@polkadot/wasm-crypto-init" "7.0.3" + "@polkadot/wasm-crypto-wasm" "7.0.3" + "@polkadot/wasm-util" "7.0.3" + tslib "^2.5.0" -"@polkadot/wasm-crypto-wasm@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-5.1.1.tgz#dc371755a05fe93f87a2754a2bcf1ff42e4bb541" - integrity sha512-F9PZ30J2S8vUNl2oY7Myow5Xsx5z5uNVpnNlJwlmY8IXBvyucvyQ4HSdhJsrbs4W1BfFc0mHghxgp0FbBCnf/Q== +"@polkadot/wasm-util@7.0.3": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.0.3.tgz#eab59f9dac0f00ca736aff8b24925108b7b2f860" + integrity sha512-L9U5nSbzr5xa2YSpveP/zZxhOB6i8ibssK+ihuG+7SICYtTC0B9wJp/UnjP/c6bEDlMV3yWiNXJPBTJMGmkmIQ== dependencies: - "@babel/runtime" "^7.17.8" + tslib "^2.5.0" -"@polkadot/wasm-crypto@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-5.1.1.tgz#d1f8a0da631028ba904c374c1e8496ab3ba4636b" - integrity sha512-JCcAVfH8DhYuEyd4oX1ouByxhou0TvpErKn8kHjtzt7+tRoFi0nzWlmK4z49vszsV3JJgXxV81i10C0BYlwTcQ== +"@polkadot/x-bigint@11.1.3", "@polkadot/x-bigint@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-11.1.3.tgz#37b09a12a9ed6df704e047e261f1b8b2ac978497" + integrity sha512-fRUUHfW9VFsXT7sLUUY7gSu8v+PvzNLRwvjnp+Ly8vFx9LTLuVGFCi+mpysuRTaPpqZZJlzBJ3fST7xTGh67Pg== dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/wasm-crypto-asmjs" "^5.1.1" - "@polkadot/wasm-crypto-wasm" "^5.1.1" - -"@polkadot/wasm-crypto@^6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-6.4.1.tgz#79310e23ad1ca62362ba893db6a8567154c2536a" - integrity sha512-FH+dcDPdhSLJvwL0pMLtn/LIPd62QDPODZRCmDyw+pFjLOMaRBc7raomWUOqyRWJTnqVf/iscc2rLVLNMyt7ag== - dependencies: - "@babel/runtime" "^7.20.6" - "@polkadot/wasm-bridge" "6.4.1" - "@polkadot/wasm-crypto-asmjs" "6.4.1" - "@polkadot/wasm-crypto-init" "6.4.1" - "@polkadot/wasm-crypto-wasm" "6.4.1" - "@polkadot/wasm-util" "6.4.1" + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" -"@polkadot/wasm-util@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-6.4.1.tgz#74aecc85bec427a9225d9874685944ea3dc3ab76" - integrity sha512-Uwo+WpEsDmFExWC5kTNvsVhvqXMZEKf4gUHXFn4c6Xz4lmieRT5g+1bO1KJ21pl4msuIgdV3Bksfs/oiqMFqlw== - dependencies: - "@babel/runtime" "^7.20.6" - -"@polkadot/x-bigint@10.2.3", "@polkadot/x-bigint@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-10.2.3.tgz#6dceb291892491384de567aa3f9f31a6472c23de" - integrity sha512-xPblZVmIpXV7rMzwArOA3BfiDjBZ296jfkpMRaa90sSUEAxFTu8f0SEAxNkUIXrpyyzNiwqL5DhCp1pRuqg36w== +"@polkadot/x-fetch@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-11.1.3.tgz#e39df53fc7fb6399d3883b45d03f6ef7f265a7f9" + integrity sha512-+Z0RxxsN7+l2ZmmDdHqOo0kgqvjXJ1bw8CwTVnq3t9nPgZKn2pC3Fq3xdj/sRWiLuf/UhgCxKfYfMmt5ek4kIg== dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-global" "10.2.3" + "@polkadot/x-global" "11.1.3" + node-fetch "^3.3.1" + tslib "^2.5.0" -"@polkadot/x-bigint@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-8.7.1.tgz#a496225def32e98c430c76b91c1579f48acf501a" - integrity sha512-ClkhgdB/KqcAKk3zA6Qw8wBL6Wz67pYTPkrAtImpvoPJmR+l4RARauv+MH34JXMUNlNb3aUwqN6lq2Z1zN+mJg== +"@polkadot/x-global@11.1.3", "@polkadot/x-global@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-11.1.3.tgz#4086694f52373fea63910b62da999bf0981d7d86" + integrity sha512-R3aqtIjgzFHJ3TyX6wavhp+59oLbZiqczIHkaas/nJe21+SVARqFmIII6BwS7ty7+8Uu4fHliA9re+ZSUp+rwg== dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/x-global" "8.7.1" + tslib "^2.5.0" -"@polkadot/x-bigint@9.7.2": - version "9.7.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-9.7.2.tgz#ec79977335dce173a81e45247bdfd46f3b301702" - integrity sha512-qi8/DTGypFSt5vvNOsYcEaqH72lymfyidGlsHlZ6e7nNASnEhk/NaOcINiTr1ds+fpu4dtKXWAIPZufujf2JeQ== +"@polkadot/x-randomvalues@11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-11.1.3.tgz#48dde21012aa4eef3bd00d46f545861727fb6618" + integrity sha512-kZjbRgxokMR9UTodZQKs6s3C/Q2YgeizcxpDCghM/VdvQUE8OVBGNzduF7SvBvQyg2Qbg8jMcSxXOY7UgcOWSg== dependencies: - "@babel/runtime" "^7.18.6" - "@polkadot/x-global" "9.7.2" + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" -"@polkadot/x-fetch@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-10.2.3.tgz#be33d1ad3170c2f7d5c9fb91349d45c4780197e9" - integrity sha512-2i15Y8pMXUb7kjUSJrJzS4lrgbOhMWlIHNUFT0AUkR4P7RsBKHGfXvTGF720qT7KIZaOmrPkmlqDqafIbIs/8g== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-global" "10.2.3" - "@types/node-fetch" "^2.6.2" - node-fetch "^3.3.0" - -"@polkadot/x-global@10.2.3", "@polkadot/x-global@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-10.2.3.tgz#7d8ab3750f078c963759a498a65152d809c67eea" - integrity sha512-lloJGTilvEi9gnviHacnRphv2zMhOxgXf4Ajn+dSF8zR7UzyCL9Gphg3G/nagebBtGAq1BSOS6QWOiRcuAeZrA== - dependencies: - "@babel/runtime" "^7.20.7" - -"@polkadot/x-global@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-8.7.1.tgz#b972044125a4fe059f4aef7c15a4e22d18179095" - integrity sha512-WOgUor16IihgNVdiTVGAWksYLUAlqjmODmIK1cuWrLOZtV1VBomWcb3obkO9sh5P6iWziAvCB/i+L0vnTN9ZCA== - dependencies: - "@babel/runtime" "^7.17.8" - -"@polkadot/x-global@9.7.2": - version "9.7.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-9.7.2.tgz#9847fd1da13989f321ca621e85477ba70fd8d55a" - integrity sha512-3NN5JhjosaelaFWBJSlv9mb/gDAlt7RuZ8NKlOjB+LQHd9g6ZbnYi5wwjW+i/x/3E4IVbBx66uvWgNaw7IBrkg== - dependencies: - "@babel/runtime" "^7.18.6" - -"@polkadot/x-randomvalues@10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-10.2.3.tgz#2ed39a6c7806aa17c5816b69cd143a98bd284ca2" - integrity sha512-i5WIzYi/zGfnKF5TWcnpjP2Pu2rpJH1TE89F/h9i+LliIhQ1GqHBPj1EXyhNI9BfA28EQhjpFZhLUxCCuAL09w== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-global" "10.2.3" - -"@polkadot/x-randomvalues@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-8.7.1.tgz#b7cc358c2a6d20f7e7798d45d1d5c7ac8c9ab4f2" - integrity sha512-njt17MlfN6yNyNEti7fL12lr5qM6A1aSGkWKVuqzc7XwSBesifJuW4km5u6r2gwhXjH2eHDv9SoQ7WXu8vrrkg== - dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/x-global" "8.7.1" - -"@polkadot/x-textdecoder@10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-10.2.3.tgz#a713c8fba81985c93e4dab95724df1875e64704f" - integrity sha512-E+z6GSgrrSWJm227LjJqKzmK4vF0FGpaX+WvHSlQVX/+Q0x2qF+/L7lXk5FUQHtoPgKL3ydBLZaylEkA2Zl5kQ== +"@polkadot/x-textdecoder@11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-11.1.3.tgz#1d1e2aa86e47587393a6acb74a086ab97d62058d" + integrity sha512-NhOjuXVfYRMw9l0VhCtZOtcWefZth58p5KpVOrFyJZd12fTsoMO5/746K7QoAjWRrLQTJ/LHCEKCtWww0LwVPw== dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-global" "10.2.3" - -"@polkadot/x-textdecoder@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-8.7.1.tgz#b706ef98d5a033d02c633009fb8dab4a4f9d7d55" - integrity sha512-ia0Ie2zi4VdQdNVD2GE2FZzBMfX//hEL4w546RMJfZM2LqDS674LofHmcyrsv5zscLnnRyCxZC1+J2dt+6MDIA== - dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/x-global" "8.7.1" - -"@polkadot/x-textdecoder@9.7.2": - version "9.7.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-9.7.2.tgz#c94ea6c8f510fdf579659248ede9421854e32b42" - integrity sha512-hhrMNZwJBmusdpqjDRpOHZoMB4hpyJt9Gu9Bi9is7/D/vq/hpxq8z7s6NxrbRyXJf1SIk6NMK0jf5XjRLdKdbw== - dependencies: - "@babel/runtime" "^7.18.6" - "@polkadot/x-global" "9.7.2" - -"@polkadot/x-textencoder@10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-10.2.3.tgz#d8f2554264a1540b9daec4e43675950f6fafa7b5" - integrity sha512-UuzPELhQljyyzwpCnv/GF9ZWpF3Pc29g4+YZWPg9hC3kwv4DRLFcFxdouWo/ic1luXwL4THcdWGIiF4VNUKlCg== - dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-global" "10.2.3" - -"@polkadot/x-textencoder@8.7.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-8.7.1.tgz#7820e30081e8e0a607c1c27b9e3486d82d1a723e" - integrity sha512-XDO0A27Xy+eJCKSxENroB8Dcnl+UclGG4ZBei+P/BqZ9rsjskUyd2Vsl6peMXAcsxwOE7g0uTvujoGM8jpKOXw== - dependencies: - "@babel/runtime" "^7.17.8" - "@polkadot/x-global" "8.7.1" + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" -"@polkadot/x-textencoder@9.7.2": - version "9.7.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-9.7.2.tgz#2ae29fa5ca2c0353e7a1913eef710b2d45bdf0b2" - integrity sha512-GHbSdbMPixDAOnJ9cvL/x9sPNeHegPoDSqCAzY5H6/zHc/fNn0vUu0To9VpPgPhp/Jb9dbc0h8YqEyvOcOlphw== +"@polkadot/x-textencoder@11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-11.1.3.tgz#ba7621b636dcfa6ca4ab6176a6a52eef15904a72" + integrity sha512-7DmqjlPN8aQexLUKwoHeadihpUnW8hjpXEru+aEDxjgq9XIxPvb++NeBK+Mra9RzzZRuiT/K5z16HlwKN//ewg== dependencies: - "@babel/runtime" "^7.18.6" - "@polkadot/x-global" "9.7.2" + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" -"@polkadot/x-ws@^10.2.3": - version "10.2.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-10.2.3.tgz#4f3bc1b47f6dfa4110208b222d404e2ae84ba2c5" - integrity sha512-ELXZHyn4YnttCb0PGDsSK4sEBKOMYceH3gPPrCBOeZl5btI2OfezrL9MoIgthxlqJ6EDbBymYVyNDv2RqJQrxQ== +"@polkadot/x-ws@^11.1.3": + version "11.1.3" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-11.1.3.tgz#5a759bcbbbdceeecca53bcc74170e52cd3ca774b" + integrity sha512-omNU2mIVX997HiHm2YxEdJdyCFnv+oTyKWZd0+FdS47rdfhVwD+H9/bS+rtQ9lIqfhODdGmw3fG//gq1KpYJcw== dependencies: - "@babel/runtime" "^7.20.7" - "@polkadot/x-global" "10.2.3" - "@types/websocket" "^1.0.5" - websocket "^1.0.34" - -"@scure/base@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.0.0.tgz#109fb595021de285f05a7db6806f2f48296fcee7" - integrity sha512-gIVaYhUsy+9s58m/ETjSJVKHhKTBMmcRb9cEV5/5dwvfDlfORjKrFsDeDHWRrm6RjcPvCLZFwGJjAjLj1gg4HA== + "@polkadot/x-global" "11.1.3" + tslib "^2.5.0" + ws "^8.13.0" "@scure/base@1.1.1": version "1.1.1" @@ -524,104 +345,42 @@ resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== -"@substrate/connect@0.7.18": - version "0.7.18" - resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.18.tgz#ed4a95a4f5f60132dd26dbaf98820044b622763e" - integrity sha512-T1CaZJhe+uaeyM/cBdmD/oMWnaGf+tJdfG+3Os4H5YR0NVKXWsHpSfBryBP5wEce2hQhRiNnzQ+9ny8siKqRgg== +"@substrate/connect@0.7.22": + version "0.7.22" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.22.tgz#15a20d734bab082c87f2aaaf75ce012c83881ef7" + integrity sha512-g12IYiepPu0OFWcm87ugDbfPr5a9TCGd4HJv1zXB2TRP/ZvYtHCE9+ftA5IvJbJPw6CI6/0XmUbP7Nz19HT/aw== dependencies: "@substrate/connect-extension-protocol" "^1.0.1" - "@substrate/smoldot-light" "0.7.9" eventemitter3 "^4.0.7" + smoldot "1.0.0" -"@substrate/smoldot-light@0.7.9": - version "0.7.9" - resolved "https://registry.yarnpkg.com/@substrate/smoldot-light/-/smoldot-light-0.7.9.tgz#68449873a25558e547e9468289686ee228a9930f" - integrity sha512-HP8iP7sFYlpSgjjbo0lqHyU+gu9lL2hbDNce6dWk5/10mFFF9jKIFGfui4zCecUY808o/Go9pan/31kMJoLbug== - dependencies: - pako "^2.0.4" - ws "^8.8.1" - -"@substrate/ss58-registry@^1.17.0": - version "1.31.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.31.0.tgz#489e3a496081dc3ee7ef5ef2eb513962d5d29351" - integrity sha512-OSOmdjaq9foXfHBy9aLVMwGheygvsiZlv4dggnLOYOuhSmNCsSB/PaW4DBz+/tSdK1Fo9+ZiFW6cF24RA+m0sw== - -"@substrate/ss58-registry@^1.37.0": - version "1.37.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.37.0.tgz#78f2a6f59f8c712cfe3ea747c52dcdfded3ec517" - integrity sha512-8R/4aQdZlKEPNrp2HSoPNxlDPPOyJe20qFk2w1hT0lXVbY4ZALrsO5Z4NrObAM2D9wTSpcxNKMFVQ2hIsqEHdw== +"@substrate/ss58-registry@^1.39.0": + version "1.39.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.39.0.tgz#eb916ff5fea7fa02e77745823fde21af979273d2" + integrity sha512-qZYpuE6n+mwew+X71dOur/CbMXj6rNW27o63JeJwdQH/GvcSKm3JLNhd+bGzwUKg0D/zD30Qc6p4JykArzM+tA== -"@types/bn.js@^5.1.0", "@types/bn.js@^5.1.1": +"@types/bn.js@^5.1.1": version "5.1.1" resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== dependencies: "@types/node" "*" -"@types/node-fetch@^2.6.2": - version "2.6.2" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.2.tgz#d1a9c5fd049d9415dce61571557104dec3ec81da" - integrity sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A== - dependencies: - "@types/node" "*" - form-data "^3.0.0" - "@types/node@*": version "18.8.3" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.8.3.tgz#ce750ab4017effa51aed6a7230651778d54e327c" integrity sha512-0os9vz6BpGwxGe9LOhgP/ncvYN5Tx1fNcd2TM3rD/aCGBkysb+ZWpXEocG24h6ZzOi13+VB8HndAQFezsSOw1w== -"@types/websocket@^1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.5.tgz#3fb80ed8e07f88e51961211cd3682a3a4a81569c" - integrity sha512-NbsqiNX9CnEfC1Z0Vf4mE1SgAJ07JnRYcNex7AJ9zAVzmiGHmjKFEk7O4TJIsgv2B1sLEb6owKFZrACwdYngsQ== - dependencies: - "@types/node" "*" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -bn.js@^5.2.0, bn.js@^5.2.1: +bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -bufferutil@^4.0.1: - version "4.0.6" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.6.tgz#ebd6c67c7922a0e902f053e5d8be5ec850e48433" - integrity sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw== - dependencies: - node-gyp-build "^4.3.0" - -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - data-uri-to-buffer@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b" integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA== -debug@^2.2.0: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - debug@^4.1.0: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -629,55 +388,15 @@ debug@^4.1.0: dependencies: ms "2.1.2" -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -ed2curve@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/ed2curve/-/ed2curve-0.3.0.tgz#322b575152a45305429d546b071823a93129a05d" - integrity sha512-8w2fmmq3hv9rCrcI7g9hms2pMunQr1JINfcjwR9tAyZqhtyaMN991lF/ZfHfr5tzZQ8c7y7aBgZbjfbd0fjFwQ== - dependencies: - tweetnacl "1.x.x" - -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.62" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" - integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -ext@^1.1.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" - integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== - dependencies: - type "^2.7.2" +eventemitter3@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.0.tgz#084eb7f5b5388df1451e63f4c2aafd71b217ccb3" + integrity sha512-riuVbElZZNXLeLEoprfNYoDSwTBRR44X3mnhdI1YcnENpWTCsTTVZ2zFuqQcpoyqPQIUXdiPEU0ECAq0KQRaHg== fetch-blob@^3.1.2, fetch-blob@^3.1.4: version "3.2.0" @@ -687,15 +406,6 @@ fetch-blob@^3.1.2, fetch-blob@^3.1.4: node-domexception "^1.0.0" web-streams-polyfill "^3.0.3" -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - formdata-polyfill@^4.0.10: version "4.0.10" resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" @@ -703,16 +413,6 @@ formdata-polyfill@^4.0.10: dependencies: fetch-blob "^3.1.2" -ip-regex@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.3.0.tgz#687275ab0f57fa76978ff8f4dddc8a23d5990db5" - integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q== - -is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - json-stringify-safe@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -723,39 +423,17 @@ lodash@^4.17.21: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mock-socket@^9.1.5: - version "9.1.5" - resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.1.5.tgz#2c4e44922ad556843b6dfe09d14ed8041fa2cdeb" - integrity sha512-3DeNIcsQixWHHKk6NdoBhWI4t1VMj5/HzfnI1rE/pLl5qKx7+gd4DNA07ehTaZ6MoUU053si6Hd+YtiM/tQZfg== - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== +mock-socket@^9.2.1: + version "9.2.1" + resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.2.1.tgz#cc9c0810aa4d0afe02d721dcb2b7e657c00e2282" + integrity sha512-aw9F9T9G2zpGipLLhSNh6ZpgUyUl4frcVmRN08uE1NWPWg43Wx6+sGPDbQ7E5iFZZDJW5b5bypMeAEHqTbIFag== ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - -nock@^13.2.9: +nock@^13.3.0: version "13.3.0" resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.0.tgz#b13069c1a03f1ad63120f994b04bfd2556925768" integrity sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg== @@ -770,20 +448,15 @@ node-domexception@^1.0.0: resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== -node-fetch@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.0.tgz#37e71db4ecc257057af828d523a7243d651d91e4" - integrity sha512-BKwRP/O0UvoMKp7GNdwPlObhYGB5DQqwhEDQlNKuoqwVYSxkSZCSbHjnFFmUEtwSKRPU4kNK8PbDYYitwaE3QA== +node-fetch@^3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.1.tgz#b3eea7b54b3a48020e46f4f88b9c5a7430d20b2e" + integrity sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow== dependencies: data-uri-to-buffer "^4.0.0" fetch-blob "^3.1.4" formdata-polyfill "^4.0.10" -node-gyp-build@^4.3.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" - integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== - pako@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" @@ -794,16 +467,6 @@ propagate@^2.0.0: resolved "https://registry.yarnpkg.com/propagate/-/propagate-2.0.1.tgz#40cdedab18085c792334e64f0ac17256d38f9a45" integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag== -regenerator-runtime@^0.13.11: - version "0.13.11" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" - integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== - -regenerator-runtime@^0.13.4: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== - rxjs@^7.8.0: version "7.8.0" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" @@ -811,63 +474,40 @@ rxjs@^7.8.0: dependencies: tslib "^2.1.0" +smoldot@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-1.0.0.tgz#438ddb9903fed28f24e52c4c0fb56f0b479209d7" + integrity sha512-3/y/poD7j42NL6Z/Gp4OLm1qx8svyy255XQ5xRkjv9+O50RT0SeEmnBZmEbVmi1w6WmamPjt8URdzfN7xxgK9Q== + dependencies: + pako "^2.0.4" + ws "^8.8.1" + tslib@^2.1.0: version "2.4.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== -tweetnacl@1.x.x, tweetnacl@^1.0.3: +tslib@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" + integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== + +tweetnacl@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== - -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - -utf-8-validate@^5.0.2: - version "5.0.9" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.9.tgz#ba16a822fbeedff1a58918f2a6a6b36387493ea3" - integrity sha512-Yek7dAy0v3Kl0orwMlvi7TPtiCNrdfHNd7Gcc/pLq4BLXqfAmd0J7OWMizUQnTTJsyjKn02mU7anqwfmUP4J8Q== - dependencies: - node-gyp-build "^4.3.0" - web-streams-polyfill@^3.0.3: version "3.2.1" resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== -websocket@^1.0.34: - version "1.0.34" - resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111" - integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ== - dependencies: - bufferutil "^4.0.1" - debug "^2.2.0" - es5-ext "^0.10.50" - typedarray-to-buffer "^3.1.5" - utf-8-validate "^5.0.2" - yaeti "^0.0.6" +ws@^8.13.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== ws@^8.8.1: version "8.12.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== - -yaeti@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577" - integrity sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug== From 93168bb9ceb3eaa373956cb2dde57ec6c6b7557c Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 6 Apr 2023 18:11:48 +0200 Subject: [PATCH 2/7] fix: js upgrade script after bounded democracy calls https://github.com/paritytech/substrate/pull/11649 --- scripts/js/upgrade/index.js | 340 +++++++++++++++++++----------------- 1 file changed, 176 insertions(+), 164 deletions(-) diff --git a/scripts/js/upgrade/index.js b/scripts/js/upgrade/index.js index c0ad7fe9f3..d698ed3bda 100644 --- a/scripts/js/upgrade/index.js +++ b/scripts/js/upgrade/index.js @@ -4,16 +4,23 @@ const fs = require('fs') const util = require('util'); const exec = util.promisify(require('child_process').exec); +const PREIMAGE_LENGTH_BOUND = 34; +const PROPOSAL_LENGTH_BOUND = 90; +const FAST_TRACK_BLOCKS = 15; +const FAST_TRACK_DELAY = 0; +const MAX_COUNT_DOWN_BLOCKS = 30; + const run = async () => { let exitCode = 0; try { - console.log("Parsing Args ...") - // 0 & 1 are command context const endpoint = "ws://0.0.0.0:9946"; const endpointRelay = "ws://0.0.0.0:9944"; - const ALICE = "//Alice" - const BOB = "//Bob" - const CHARLIE = "//Charlie" + const ALICE = "//Alice"; + const BOB = "//Bob"; + const CHARLIE = "//Charlie"; + + // input args: 0 & 1 are command context + console.log("Parsing Args ...") const wasmFile = process.argv[2]; const targetDockerTag = process.argv[3]; const chainSpec = process.argv[4] !== undefined ? process.argv[4] : 'centrifuge-local'; @@ -49,7 +56,7 @@ const run = async () => { // Wait one extra session due to facing random errors when starting to send txs too close to the onboarding step // await waitUntilEventFound(api, "NewSession") - await waitUntilEventFound(api, "EmptyTerm") //TODO: Change to "NewSession" once we have built a runtime upgrade with a version increment + await waitUntilEventFound(api, "NewSession") //TODO: Change to "NewSession" once we have built a runtime upgrade with a version increment const keyring = new Keyring({ type: "sr25519" }); const alice = keyring.addFromUri(ALICE); @@ -96,8 +103,8 @@ const run = async () => { console.log("Waiting for 3 NewSession events") let foundInBlock = 0; for (let i = 0; i < 3; i++) { - foundInBlock = await waitUntilEventFound(api, "NewSession", foundInBlock+1) - console.log(`Session ${i+1}/3`) + foundInBlock = await waitUntilEventFound(api, "NewSession", foundInBlock + 1) + console.log(`Session ${i + 1}/3`) } console.log("Runtime Upgrade succeeded") @@ -129,7 +136,7 @@ async function execCommand(strCommand) { async function waitUntilEventFound(api, eventName, fromBlock = 0) { return new Promise(async (resolve, reject) => { - let maxCountDownBlocks = 30; + let maxCountDownBlocks = MAX_COUNT_DOWN_BLOCKS; const unsubscribe = await api.rpc.chain.subscribeNewHeads(async (header) => { maxCountDownBlocks-- if (maxCountDownBlocks === 0) { @@ -156,162 +163,167 @@ async function notePreimageAuth(api, alice, wasmFileHash, nonce) { let preimageNoted = ""; console.log( - `--- Submitting extrinsic to notePreimage ${wasmFileHash}. (nonce: ${nonce}) ---` + `--- Submitting extrinsic to notePreimage ${wasmFileHash}. (nonce: ${nonce}) ---` ); - api.tx.democracy.notePreimage(authorizeUpgradeCall.method.toHex()) - .signAndSend(alice, {nonce: nonce, era: 0}, (result) => { - console.log(`Current status is ${result.status}`); - if (result.status.isInBlock) { - console.log( - `Transaction included at blockHash ${result.status.asInBlock}` - ); - result.events.forEach((er) => { - if (er.event.method === "PreimageNoted") { - preimageNoted = er.event.data[0].toHex() - } - }) - console.log("PreimageNoted", preimageNoted); - resolve(preimageNoted) - } else if (result.dispatchError) { - if (result.dispatchError.isModule) { - // for module errors, we have the section indexed, lookup - const decoded = api.registry.findMetaError(result.dispatchError.asModule); - const { docs, name, section } = decoded; - reject(`${section}.${name}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - reject(result.dispatchError.toString()); + api.tx.preimage.notePreimage(authorizeUpgradeCall.method.toHex()) + .signAndSend(alice, { nonce: nonce, era: 0 }, (result) => { + console.log(`Current status is ${result.status}`); + if (result.status.isInBlock) { + console.log( + `Transaction included at blockHash ${result.status.asInBlock}` + ); + result.events.forEach((er) => { + if (er.event.method === "Noted") { + preimageNoted = er.event.data[0].toHex() } - } else if (result.isError) { - reject(result) + }) + console.log("Noted", preimageNoted); + resolve(preimageNoted) + } else if (result.dispatchError) { + if (result.dispatchError.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(result.dispatchError.asModule); + const { docs, name, section } = decoded; + reject(`${section}.${name}: ${docs.join(' ')}`); + } else { + // Other, CannotLookup, BadOrigin, no extra info + reject(result.dispatchError.toString()); } - }); + } else if (result.isError) { + reject(result) + } + }); }); } async function councilProposeDemocracy(api, alice, preimageHash, nonce) { return new Promise((resolve, reject) => { const txs = [ - api.tx.democracy.externalProposeMajority(preimageHash), - api.tx.democracy.fastTrack(preimageHash, 10, 0) + api.tx.democracy.externalProposeMajority({ + Lookup: { + hash: preimageHash, + len: PREIMAGE_LENGTH_BOUND + } + }), + api.tx.democracy.fastTrack(preimageHash, FAST_TRACK_BLOCKS, FAST_TRACK_DELAY) ]; let batchAllDemocracy = api.tx.utility.batchAll(txs) console.log( - `--- Submitting extrinsic to propose preimage to council. (nonce: ${nonce}) ---` + `--- Submitting extrinsic to propose preimage to council. (nonce: ${nonce}) ---` ); - api.tx.council.propose(3, batchAllDemocracy, 82) - .signAndSend(alice, {nonce: nonce, era: 0}, (result) => { - console.log(`Current status is ${result.status}`); - if (result.status.isInBlock) { - console.log( - `Transaction included at blockHash ${result.status.asInBlock}` - ); - let councilProposalHash = ""; - let councilProposalIndex = ""; - result.events.forEach((er) => { - if (er.event.method === "Proposed") { - councilProposalIndex = er.event.data[1] - councilProposalHash = er.event.data[2].toHex() - } - }) - console.log("CouncilProposalHashAndIndex", councilProposalHash, councilProposalIndex); - resolve([councilProposalHash, councilProposalIndex]) - } else if (result.dispatchError) { - if (result.dispatchError.isModule) { - // for module errors, we have the section indexed, lookup - const decoded = api.registry.findMetaError(result.dispatchError.asModule); - const { docs, name, section } = decoded; - reject(`${section}.${name}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - reject(result.dispatchError.toString()); + api.tx.council.propose(3, batchAllDemocracy, PROPOSAL_LENGTH_BOUND) + .signAndSend(alice, { nonce: nonce, era: 0 }, (result) => { + console.log(`Current status is ${result.status}`); + if (result.status.isInBlock) { + console.log( + `Transaction included at blockHash ${result.status.asInBlock}` + ); + let councilProposalHash = ""; + let councilProposalIndex = ""; + result.events.forEach((er) => { + if (er.event.method === "Proposed") { + councilProposalIndex = er.event.data[1] + councilProposalHash = er.event.data[2].toHex() } - } else if (result.isError) { - reject(result) + }) + console.log("CouncilProposalHashAndIndex", councilProposalHash, councilProposalIndex); + resolve([councilProposalHash, councilProposalIndex]) + } else if (result.dispatchError) { + if (result.dispatchError.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(result.dispatchError.asModule); + const { docs, name, section } = decoded; + reject(`${section}.${name}: ${docs.join(' ')}`); + } else { + // Other, CannotLookup, BadOrigin, no extra info + reject(result.dispatchError.toString()); } - }); + } else if (result.isError) { + reject(result) + } + }); }); } async function councilVoteProposal(api, account, proposalHash, proposalIndex, nonce, wait) { return new Promise((resolve, reject) => { console.log( - `--- Submitting extrinsic to vote on council motion. (nonce: ${nonce}) ---` + `--- Submitting extrinsic to vote on council motion. (nonce: ${nonce}) ---` ); api.tx.council.vote(proposalHash, proposalIndex, true) - .signAndSend(account, {nonce: nonce, era: 0}, (result) => { - console.log(`Current status is ${result.status}`); - if (!wait) { - resolve() - } - if (result.status.isInBlock) { - console.log( - `Transaction included at blockHash ${result.status.asInBlock}` - ); - resolve() - } else if (result.dispatchError) { - if (result.dispatchError.isModule) { - // for module errors, we have the section indexed, lookup - const decoded = api.registry.findMetaError(result.dispatchError.asModule); - const { docs, name, section } = decoded; - reject(`${section}.${name}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - reject(result.dispatchError.toString()); - } - } else if (result.isError) { - reject(result) + .signAndSend(account, { nonce: nonce, era: 0 }, (result) => { + console.log(`Current status is ${result.status}`); + if (!wait) { + resolve() + } + if (result.status.isInBlock) { + console.log( + `Transaction included at blockHash ${result.status.asInBlock}` + ); + resolve() + } else if (result.dispatchError) { + if (result.dispatchError.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(result.dispatchError.asModule); + const { docs, name, section } = decoded; + reject(`${section}.${name}: ${docs.join(' ')}`); + } else { + // Other, CannotLookup, BadOrigin, no extra info + reject(result.dispatchError.toString()); } - }); + } else if (result.isError) { + reject(result) + } + }); }); } async function councilCloseProposal(api, account, proposalHash, proposalIndex, nonce) { return new Promise((resolve, reject) => { console.log( - `--- Submitting extrinsic to close council motion. (nonce: ${nonce}) ---` + `--- Submitting extrinsic to close council motion. (nonce: ${nonce}) ---` ); - api.tx.council.close(proposalHash, proposalIndex, 52865600000, 82) - .signAndSend(account, {nonce: nonce, era: 0}, (result) => { - console.log(`Current status is ${result.status}`); - if (result.status.isInBlock) { - - console.log( - `Transaction included at blockHash ${result.status.asInBlock}` - ); - - let democracyIndex; - result.events.forEach((er) => { - if (er.event.method === "Started") { - democracyIndex = er.event.data[0] - } - }) - - resolve(democracyIndex) - } else if (result.dispatchError) { - if (result.dispatchError.isModule) { - // for module errors, we have the section indexed, lookup - const decoded = api.registry.findMetaError(result.dispatchError.asModule); - const { docs, name, section } = decoded; - reject(`${section}.${name}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - reject(result.dispatchError.toString()); + api.tx.council.close(proposalHash, proposalIndex, { refTime: 52865600000, proofSize: 0 }, PROPOSAL_LENGTH_BOUND) + .signAndSend(account, { nonce: nonce, era: 0 }, (result) => { + console.log(`Current status is ${result.status}`); + if (result.status.isInBlock) { + + console.log( + `Transaction included at blockHash ${result.status.asInBlock}` + ); + + let democracyIndex; + result.events.forEach((er) => { + if (er.event.method === "Started") { + democracyIndex = er.event.data[0] } - } else if (result.isError) { - reject(result) + }) + + resolve(democracyIndex) + } else if (result.dispatchError) { + if (result.dispatchError.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(result.dispatchError.asModule); + const { docs, name, section } = decoded; + reject(`${section}.${name}: ${docs.join(' ')}`); + } else { + // Other, CannotLookup, BadOrigin, no extra info + reject(result.dispatchError.toString()); } - }); + } else if (result.isError) { + reject(result) + } + }); }); } async function voteReferenda(api, account, refIndex, nonce) { return new Promise((resolve, reject) => { console.log( - `--- Submitting extrinsic to vote on referenda. (nonce: ${nonce}) ---` + `--- Submitting extrinsic to vote on referenda. (nonce: ${nonce}) ---` ); let vote = { @@ -325,58 +337,58 @@ async function voteReferenda(api, account, refIndex, nonce) { } api.tx.democracy.vote(refIndex, vote) - .signAndSend(account, {nonce: nonce, era: 0}, (result) => { - console.log(`Current status is ${result.status}`); - if (result.status.isInBlock) { - console.log( - `Transaction included at blockHash ${result.status.asInBlock}` - ); - resolve() - } else if (result.dispatchError) { - if (result.dispatchError.isModule) { - // for module errors, we have the section indexed, lookup - const decoded = api.registry.findMetaError(result.dispatchError.asModule); - const { docs, name, section } = decoded; - reject(`${section}.${name}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - reject(result.dispatchError.toString()); - } - } else if (result.isError) { - reject(result) + .signAndSend(account, { nonce: nonce, era: 0 }, (result) => { + console.log(`Current status is ${result.status}`); + if (result.status.isInBlock) { + console.log( + `Transaction included at blockHash ${result.status.asInBlock}` + ); + resolve() + } else if (result.dispatchError) { + if (result.dispatchError.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(result.dispatchError.asModule); + const { docs, name, section } = decoded; + reject(`${section}.${name}: ${docs.join(' ')}`); + } else { + // Other, CannotLookup, BadOrigin, no extra info + reject(result.dispatchError.toString()); } - }); + } else if (result.isError) { + reject(result) + } + }); }); } async function enactUpgrade(api, account, wasmCode, nonce) { return new Promise((resolve, reject) => { console.log( - `--- Submitting extrinsic to enact upgrade. (nonce: ${nonce}) ---` + `--- Submitting extrinsic to enact upgrade. (nonce: ${nonce}) ---` ); api.tx.parachainSystem.enactAuthorizedUpgrade(wasmCode) - .signAndSend(account, {nonce: nonce, era: 0}, (result) => { - console.log(`Current status is ${result.status}`); - if (result.status.isInBlock) { - console.log( - `Transaction included at blockHash ${result.status.asInBlock}` - ); - resolve() - } else if (result.dispatchError) { - if (result.dispatchError.isModule) { - // for module errors, we have the section indexed, lookup - const decoded = api.registry.findMetaError(result.dispatchError.asModule); - const { docs, name, section } = decoded; - reject(`${section}.${name}: ${docs.join(' ')}`); - } else { - // Other, CannotLookup, BadOrigin, no extra info - reject(result.dispatchError.toString()); - } - } else if (result.isError) { - reject(result) + .signAndSend(account, { nonce: nonce, era: 0 }, (result) => { + console.log(`Current status is ${result.status}`); + if (result.status.isInBlock) { + console.log( + `Transaction included at blockHash ${result.status.asInBlock}` + ); + resolve() + } else if (result.dispatchError) { + if (result.dispatchError.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(result.dispatchError.asModule); + const { docs, name, section } = decoded; + reject(`${section}.${name}: ${docs.join(' ')}`); + } else { + // Other, CannotLookup, BadOrigin, no extra info + reject(result.dispatchError.toString()); } - }); + } else if (result.isError) { + reject(result) + } + }); }); } From 0a14e74db914cf3dec483559d3d88f502805777b Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Tue, 11 Apr 2023 15:21:05 +0200 Subject: [PATCH 3/7] refactor: post upgrade waiting sessions as const --- scripts/js/upgrade/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/js/upgrade/index.js b/scripts/js/upgrade/index.js index d698ed3bda..256553965d 100644 --- a/scripts/js/upgrade/index.js +++ b/scripts/js/upgrade/index.js @@ -9,6 +9,7 @@ const PROPOSAL_LENGTH_BOUND = 90; const FAST_TRACK_BLOCKS = 15; const FAST_TRACK_DELAY = 0; const MAX_COUNT_DOWN_BLOCKS = 30; +const WAITING_SESSIONS_AFTER_UPGRADE = 3; const run = async () => { let exitCode = 0; @@ -100,11 +101,11 @@ const run = async () => { console.log("Waiting for ValidationFunctionApplied event") await waitUntilEventFound(api, "ValidationFunctionApplied") - console.log("Waiting for 3 NewSession events") + console.log(`Waiting for ${WAITING_SESSIONS_AFTER_UPGRADE} NewSession events`) let foundInBlock = 0; - for (let i = 0; i < 3; i++) { + for (let i = 0; i < WAITING_SESSIONS_AFTER_UPGRADE; i++) { foundInBlock = await waitUntilEventFound(api, "NewSession", foundInBlock + 1) - console.log(`Session ${i + 1}/3`) + console.log(`Session ${i + 1}/${WAITING_SESSIONS_AFTER_UPGRADE}`) } console.log("Runtime Upgrade succeeded") From 71da5cde46d1423fa53fc846829c860729e4829f Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 25 May 2023 15:37:36 +0200 Subject: [PATCH 4/7] docs: clarify magic prop length bounds --- scripts/js/upgrade/index.js | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/scripts/js/upgrade/index.js b/scripts/js/upgrade/index.js index 256553965d..cb1dcd82ad 100644 --- a/scripts/js/upgrade/index.js +++ b/scripts/js/upgrade/index.js @@ -4,8 +4,17 @@ const fs = require('fs') const util = require('util'); const exec = util.promisify(require('child_process').exec); -const PREIMAGE_LENGTH_BOUND = 34; -const PROPOSAL_LENGTH_BOUND = 90; +// Needs to be >= 34 +// 32 bytes from the encoding of the H256 hashed WASM blob +// 2 for extra stuff +const AUTHORIZE_UPGRADE_PREIMAGE_LENGTH_BOUND = 34; +// Needs to be >= 84 +// 39 from edemocracy.xternalProposeMajority(Lookup(H256, 34))) +// 42 from democracy.fastTrack(H256, ...) +// 1 from utility.batchAll +// 2 extra +const COUNCIL_PROPOSAL_LENGTH_BOUND = 90; +// arbitrary numbers const FAST_TRACK_BLOCKS = 15; const FAST_TRACK_DELAY = 0; const MAX_COUNT_DOWN_BLOCKS = 30; @@ -203,7 +212,7 @@ async function councilProposeDemocracy(api, alice, preimageHash, nonce) { api.tx.democracy.externalProposeMajority({ Lookup: { hash: preimageHash, - len: PREIMAGE_LENGTH_BOUND + len: AUTHORIZE_UPGRADE_PREIMAGE_LENGTH_BOUND } }), api.tx.democracy.fastTrack(preimageHash, FAST_TRACK_BLOCKS, FAST_TRACK_DELAY) @@ -214,7 +223,7 @@ async function councilProposeDemocracy(api, alice, preimageHash, nonce) { console.log( `--- Submitting extrinsic to propose preimage to council. (nonce: ${nonce}) ---` ); - api.tx.council.propose(3, batchAllDemocracy, PROPOSAL_LENGTH_BOUND) + api.tx.council.propose(3, batchAllDemocracy, COUNCIL_PROPOSAL_LENGTH_BOUND) .signAndSend(alice, { nonce: nonce, era: 0 }, (result) => { console.log(`Current status is ${result.status}`); if (result.status.isInBlock) { @@ -287,7 +296,7 @@ async function councilCloseProposal(api, account, proposalHash, proposalIndex, n `--- Submitting extrinsic to close council motion. (nonce: ${nonce}) ---` ); - api.tx.council.close(proposalHash, proposalIndex, { refTime: 52865600000, proofSize: 0 }, PROPOSAL_LENGTH_BOUND) + api.tx.council.close(proposalHash, proposalIndex, { refTime: 52865600000, proofSize: 0 }, COUNCIL_PROPOSAL_LENGTH_BOUND) .signAndSend(account, { nonce: nonce, era: 0 }, (result) => { console.log(`Current status is ${result.status}`); if (result.status.isInBlock) { From 18c3eb39f36b70045b94637c7f80852d27d7a3ea Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 25 May 2023 15:37:48 +0200 Subject: [PATCH 5/7] chore: bump js script deps --- scripts/js/onboard/package.json | 6 +- scripts/js/onboard/yarn.lock | 604 ++++++++++++++++---------------- scripts/js/upgrade/package.json | 6 +- scripts/js/upgrade/yarn.lock | 604 ++++++++++++++++---------------- 4 files changed, 614 insertions(+), 606 deletions(-) diff --git a/scripts/js/onboard/package.json b/scripts/js/onboard/package.json index f931bddda6..720f3ec34f 100644 --- a/scripts/js/onboard/package.json +++ b/scripts/js/onboard/package.json @@ -10,8 +10,8 @@ "author": "", "license": "ISC", "dependencies": { - "@polkadot/api": "^10.2.2", - "@polkadot/util": "^11.1.3", - "@polkadot/util-crypto": "^11.1.3" + "@polkadot/api": "^10.7.2", + "@polkadot/util": "^12.2.1", + "@polkadot/util-crypto": "^12.2.1" } } \ No newline at end of file diff --git a/scripts/js/onboard/yarn.lock b/scripts/js/onboard/yarn.lock index e82fb40fc8..bf36087cba 100644 --- a/scripts/js/onboard/yarn.lock +++ b/scripts/js/onboard/yarn.lock @@ -2,336 +2,340 @@ # yarn lockfile v1 +"@noble/curves@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.0.0.tgz#e40be8c7daf088aaf291887cbc73f43464a92932" + integrity sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw== + dependencies: + "@noble/hashes" "1.3.0" + "@noble/hashes@1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== -"@noble/secp256k1@1.7.1": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" - integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw== - -"@polkadot/api-augment@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.2.2.tgz#5e802f83594d8baaf9b3715c9315d950f106096a" - integrity sha512-ENICYFmUX1BzbgfHvIsWvJVYrBK6y7A1AfYweQ4/sp7qqCXZ69uCrUzEJnyB5f6Zj7n7QJxBSa18l51yKljxrA== - dependencies: - "@polkadot/api-base" "10.2.2" - "@polkadot/rpc-augment" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-augment" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/api-base@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.2.2.tgz#819fed1ea7f6a670e3972e580e628e3c1c76142f" - integrity sha512-7xpkUOIesYZ+K9dw9zJZW0NTVWfNJXszX0WWKYxBK7V4tH4DB1VVCC+5syNzhDUEfDVSLYfcZANx1W6T+32V/w== - dependencies: - "@polkadot/rpc-core" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/util" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/api-derive@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.2.2.tgz#18d28c21c782110dbef9c78962975c546001005c" - integrity sha512-/qqZOMNXo1x24nBGc93SOpoddOa15duazsneeylulqf3zUM9E8JT510QnzSHC5UANCNs98q3UaU+CS/kHb9v6Q== - dependencies: - "@polkadot/api" "10.2.2" - "@polkadot/api-augment" "10.2.2" - "@polkadot/api-base" "10.2.2" - "@polkadot/rpc-core" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/api@10.2.2", "@polkadot/api@^10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.2.2.tgz#feadf8809f85f6b95e9d80a2741219e8740b8482" - integrity sha512-tv/E+8qN492b33CvSEZ57SjKQ8f6AMUSI6Js6lZreYPomSq5SzJWFH1mplOp3/VI0uX1O5c01dgMWkpM8W2ZKw== - dependencies: - "@polkadot/api-augment" "10.2.2" - "@polkadot/api-base" "10.2.2" - "@polkadot/api-derive" "10.2.2" - "@polkadot/keyring" "^11.1.3" - "@polkadot/rpc-augment" "10.2.2" - "@polkadot/rpc-core" "10.2.2" - "@polkadot/rpc-provider" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-augment" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/types-create" "10.2.2" - "@polkadot/types-known" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - eventemitter3 "^5.0.0" - rxjs "^7.8.0" +"@polkadot/api-augment@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.7.2.tgz#b49aba3a7ac0832b1e21910c21c159e2dd0d3d47" + integrity sha512-2h3Rk2kYYEn3xtpzD2pwh1posgWK1/xWMISDypmNxChH/L44Ulch+jbbpk/JlOw0x3ClESRczZ8zcJOrKmDY8w== + dependencies: + "@polkadot/api-base" "10.7.2" + "@polkadot/rpc-augment" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-augment" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/api-base@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.7.2.tgz#70650dd434163a6ae7c5d6c535267a5007e8d4fc" + integrity sha512-Gb6ro7B5Xq565lE9x+XBdGoIWFVLnlhtAnG3a4RbQ8D+lr8L5QDtXEJHiGNhV2l/g4xoItJ6IFW4txhKdaJl9A== + dependencies: + "@polkadot/rpc-core" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/util" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/api-derive@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.7.2.tgz#4c4f6d27f34f71f0a35d800c0477f25642c8552a" + integrity sha512-2hrlvE5W0xdR3aT/AEWPfbReV5xm/8SVv9dK1EJd6xzfjB+TCpuDkdXY5OgNv76eJbUeAkR1bHJLGvNfMqhnqQ== + dependencies: + "@polkadot/api" "10.7.2" + "@polkadot/api-augment" "10.7.2" + "@polkadot/api-base" "10.7.2" + "@polkadot/rpc-core" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/api@10.7.2", "@polkadot/api@^10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.7.2.tgz#e5e9667f6c048f24294992dc2f508047f42ac8ee" + integrity sha512-w1d/P359xNAKyCm/uhVDW8pCVBGVVthLYJPjZBqXOQXdLF+0Kjsg6zwNbHlSVPf3zpX6AODUg4X+HpchGIZSpQ== + dependencies: + "@polkadot/api-augment" "10.7.2" + "@polkadot/api-base" "10.7.2" + "@polkadot/api-derive" "10.7.2" + "@polkadot/keyring" "^12.2.1" + "@polkadot/rpc-augment" "10.7.2" + "@polkadot/rpc-core" "10.7.2" + "@polkadot/rpc-provider" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-augment" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/types-create" "10.7.2" + "@polkadot/types-known" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + eventemitter3 "^5.0.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/keyring@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-12.2.1.tgz#d131375c0436115d1f35139bd2bbbc069dd5b9fa" + integrity sha512-YqgpU+97OZgnSUL56DEMib937Dpb1bTTDPYHhBiN1yNCKod7UboWXIe4xPh+1Kzugum+dEyPpdV+fHH10rtDzw== + dependencies: + "@polkadot/util" "12.2.1" + "@polkadot/util-crypto" "12.2.1" tslib "^2.5.0" -"@polkadot/keyring@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-11.1.3.tgz#8718f14996ecdb389acffc6ecbe7deb8a2d74b5f" - integrity sha512-bzGz1cWDYK7MWhp0630W6KOwTC/wsvKKHBvWxReMT7iQwFHeLn5AemUOveqIPxF+esd/UfdN5aFDHApjYcyZsg== +"@polkadot/networks@12.2.1", "@polkadot/networks@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-12.2.1.tgz#ce3e2371e3bd02c9c1b233846b9fe1df4601f560" + integrity sha512-lYLvFv6iQ2UzkP66zJfsiTo2goeaNeKuwiaGoRoFrDwdwVeZK/+rCsz1uAyvbwmpZIaK8K+dTlSBVWlFoAkgcA== dependencies: - "@polkadot/util" "11.1.3" - "@polkadot/util-crypto" "11.1.3" + "@polkadot/util" "12.2.1" + "@substrate/ss58-registry" "^1.40.0" tslib "^2.5.0" -"@polkadot/networks@11.1.3", "@polkadot/networks@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-11.1.3.tgz#e113c98269328267962c2047dccca4d2790cc8a5" - integrity sha512-goLpX9SswAGGeh1jXB79wHEfWOF5rLIItMHYalujBmhQVxyAqbxP2tzQqPQXDLcnkWbgwkyYGLXaDD72GBqHZw== - dependencies: - "@polkadot/util" "11.1.3" - "@substrate/ss58-registry" "^1.39.0" - tslib "^2.5.0" - -"@polkadot/rpc-augment@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.2.2.tgz#5a4ca3d138e42b6ca9925533cdcdf9985be58809" - integrity sha512-NpxdlIjQbnBAqTU7Gh9yd672r0BX4SAQ0xODtDKUFA4zXaHC6rrK0DpshAe4dmafvhvxGftXwTrkxl+6yBQ/AA== - dependencies: - "@polkadot/rpc-core" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/rpc-core@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.2.2.tgz#b585942107244710fece57bd285ded4113c26c6b" - integrity sha512-PXsiGcb3PHWP4FSO1BsSX5R32GrKO5uaoT8ul2cm8ZuEeNA85MelXNH/5iKZ/gj2TwJoYARFLz4evW9F6QKTmw== - dependencies: - "@polkadot/rpc-augment" "10.2.2" - "@polkadot/rpc-provider" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/util" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/rpc-provider@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.2.2.tgz#e0649e082be956fea4ae5de631250ae0f14af8f7" - integrity sha512-bk4ihqKVapyZRNI6cMQanp4Ajouzh8t/028rpsZRbB7C5x2CIGwtTqxzo4l2oSNF6Mn0zji3UA5XYeWxSZDAAg== - dependencies: - "@polkadot/keyring" "^11.1.3" - "@polkadot/types" "10.2.2" - "@polkadot/types-support" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - "@polkadot/x-fetch" "^11.1.3" - "@polkadot/x-global" "^11.1.3" - "@polkadot/x-ws" "^11.1.3" - eventemitter3 "^5.0.0" +"@polkadot/rpc-augment@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.7.2.tgz#27814f8b23e40c843edebfd6fe6367bc4bfaf12c" + integrity sha512-75tkVmCOJac5zlgizp1b8DO7R4y1YaNGyPEcyoT6Cx0z5LYSnV6TxQvHhrs6RzMKW1ltvuaFp2ptMvxzm8IB+A== + dependencies: + "@polkadot/rpc-core" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/rpc-core@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.7.2.tgz#5435cd6f063358f400b9ba76704b225be969209c" + integrity sha512-HDHvl4tR2B4zaaWzfaIqrndQSzPSo9WZiuzW35qOEg15u1v0KMJ7NJYvgmoiwx5Adj1rw86Y2Mg1G0uJrSwCZQ== + dependencies: + "@polkadot/rpc-augment" "10.7.2" + "@polkadot/rpc-provider" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/util" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/rpc-provider@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.7.2.tgz#8d1bb9d4ffaf769f83b53e6b785eec7151130b76" + integrity sha512-gJFsuATdz5qNNUDUdslESn8xaEf8tFz7JbtuXRb08dkCcqX6I/X+2fq07d8uOVlsIdVT2ghzuFun4STzP4wAwA== + dependencies: + "@polkadot/keyring" "^12.2.1" + "@polkadot/types" "10.7.2" + "@polkadot/types-support" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + "@polkadot/x-fetch" "^12.2.1" + "@polkadot/x-global" "^12.2.1" + "@polkadot/x-ws" "^12.2.1" + eventemitter3 "^5.0.1" mock-socket "^9.2.1" - nock "^13.3.0" - tslib "^2.5.0" + nock "^13.3.1" + tslib "^2.5.2" optionalDependencies: - "@substrate/connect" "0.7.22" - -"@polkadot/types-augment@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.2.2.tgz#42ad9432c1d5ca6eb32ea0af74e4fbecf6e699c5" - integrity sha512-1VTsILspyS23bysTub9Ub6ZIXvOoEsM6/P1xnYgNfFPxb4pTXvW+dPJ11BhJNsgYAm5NbcCo8QxLwMUnM+S86g== - dependencies: - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-codec@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.2.2.tgz#2573f9f9ca85427c91bb976647fa4d990707e1f6" - integrity sha512-W2nYjutn5T7Ggi8Kqf0tf56iuwKNnb6U6bhuSBMvpyA1O6Y0vc2si50fZ+jUfx/XYOshMs1skw80PnM577KPlQ== - dependencies: - "@polkadot/util" "^11.1.3" - "@polkadot/x-bigint" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-create@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.2.2.tgz#0fe4c24a5f1b4de315abdc3bdaf221d8ad07aeee" - integrity sha512-bk+oTPjcm4811GzDmzcQqFZoZlcTaVjqoXS+GSRuPX0+OzAMIVUwz6qFnYpS1hxm8yfZKyOMAQyqV7aK7vQFfg== - dependencies: - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-known@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.2.2.tgz#983c6948e8b6c96a2737ec1d93a7a32beefe600c" - integrity sha512-y9Lfzikd5VKaifBynyqG1oE4n7iIM6OAHtKW5YGCmfkwIrj1EeEn2CDc5zhvlVpbctqrB5XEbSf/r30zA1fUdw== - dependencies: - "@polkadot/networks" "^11.1.3" - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/types-create" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-support@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.2.2.tgz#01cde329010690841ba5f163dc753a7c67d2a2cc" - integrity sha512-T0CxVmA/IWJ35CaFMMGJyvgDyDt6kF3a7r0IVGJD/ChkTiPvNKlZTrg2LHBH/m04I87yq26ILAq03sSiRbftWA== - dependencies: - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.2.2.tgz#cc1088aa43336d45b7f31015fdc61d1531d6ca9f" - integrity sha512-J7I93a+Rfn3nov03XYyYMZLTn0dPDjv9XDNhSU9KkKB8WpVW7P0aRJNee2PWJjmRX8uXQsoLRSz3CLpMVQTVNA== - dependencies: - "@polkadot/keyring" "^11.1.3" - "@polkadot/types-augment" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/types-create" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/util-crypto@11.1.3", "@polkadot/util-crypto@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-11.1.3.tgz#c3b166f8f8934a2139c8cfb31af50dae53a9d985" - integrity sha512-hjH1y6jXQuceJ2NWx7+ei0sR4A7t844XwlNquPxZX3kQbQS+1t6tO4Eo3/95JhPsEaJOXduus02cYEF6gteEYQ== - dependencies: + "@substrate/connect" "0.7.26" + +"@polkadot/types-augment@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.7.2.tgz#9596631f1ba66e5a47c250d9de407eac5eca3030" + integrity sha512-alZg1NqQkcsxpYfijWkI1w7z++NcOODiksZu1ggKUOWxxTEKOw/VKL9n5/XhFylMgoJyOOq3qPf3VlHSA6eLSw== + dependencies: + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-codec@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.7.2.tgz#b7270250ef2f3e4c3dea6c754b573258fac8cb54" + integrity sha512-Sy3RM+gT1lZ6WHL694swxkSoqMvAGwnNX5S2oxoGlQ5bncYIMRg+pker4dDBD+EncyrBISLwxM7smOJpiVKOAg== + dependencies: + "@polkadot/util" "^12.2.1" + "@polkadot/x-bigint" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-create@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.7.2.tgz#dafaed10692bbf69c9257ef4ed1b56e757562ae5" + integrity sha512-jBYX365SkoQJ7bJafxl3886z4JouZYLzXXHhroz32hfpzovC/3xAbyVYK7GgyyRRUNRp9Qww9nzn7yTAuDVawg== + dependencies: + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-known@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.7.2.tgz#bb39696e9d35a4b21a232dd372b85d65ff988eb0" + integrity sha512-6E1A4YK5yeTw2bk+EH8JOfmYwIq6KODtsTzsDGwOxNgJJ+1qAE18r6TVAOr1KW8YsHuHI5d0m7D7K7p8ZaEpwA== + dependencies: + "@polkadot/networks" "^12.2.1" + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/types-create" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-support@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.7.2.tgz#22c320e4fd94e20cedb47675630732f54d533060" + integrity sha512-pEtQJElgWvRoVcm1rhjW0NH89eCs55AUc/03H0hFnvxN3K9gTZJpQJF0qz188eOgiZPZOtbz5C/kCdMTs0tsdw== + dependencies: + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.7.2.tgz#270bb743d4136461ec575cb533ab4982bb1b739c" + integrity sha512-zhGZOVBKXiCxdtoXMcWXsmV4Z6209NaN8jeadiJya6UQT2DVnz8AugN+0Sq60XangXE/HxdL0Vhr1Z9XUY57mg== + dependencies: + "@polkadot/keyring" "^12.2.1" + "@polkadot/types-augment" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/types-create" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/util-crypto@12.2.1", "@polkadot/util-crypto@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-12.2.1.tgz#cbb0d1535e187af43ddcbac4248298b134f2f3ee" + integrity sha512-MFh7Sdm7/G9ot5eIBZGuQXTYP/EbOCh1+ODyygp9/TjWAmJZMq1J73Uqk4KmzkwpDBpNZO8TGjiYwL8lR6BnGg== + dependencies: + "@noble/curves" "1.0.0" "@noble/hashes" "1.3.0" - "@noble/secp256k1" "1.7.1" - "@polkadot/networks" "11.1.3" - "@polkadot/util" "11.1.3" - "@polkadot/wasm-crypto" "^7.0.3" - "@polkadot/x-bigint" "11.1.3" - "@polkadot/x-randomvalues" "11.1.3" + "@polkadot/networks" "12.2.1" + "@polkadot/util" "12.2.1" + "@polkadot/wasm-crypto" "^7.2.1" + "@polkadot/wasm-util" "^7.2.1" + "@polkadot/x-bigint" "12.2.1" + "@polkadot/x-randomvalues" "12.2.1" "@scure/base" "1.1.1" tslib "^2.5.0" - tweetnacl "^1.0.3" -"@polkadot/util@11.1.3", "@polkadot/util@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-11.1.3.tgz#dcdc4504f7c31e6104e7970903d8c1998f3858ef" - integrity sha512-Gsqzv1/fSoypS5tnJkM+NJQeT7O4iYlSniubUJnaZVOKsIbueTS1bMQ1y3/h8ISxbKBtICW5cZ6zCej6Q/jC3w== +"@polkadot/util@12.2.1", "@polkadot/util@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-12.2.1.tgz#d6c692324890802bc3b2f15b213b7430bb26e8c8" + integrity sha512-MQmPx9aCX4GTpDY/USUQywXRyaDbaibg4V1+c/CoRTsoDu+XHNM8G3lpabdNAYKZrtxg+3/1bTS0ojm6ANSQRw== dependencies: - "@polkadot/x-bigint" "11.1.3" - "@polkadot/x-global" "11.1.3" - "@polkadot/x-textdecoder" "11.1.3" - "@polkadot/x-textencoder" "11.1.3" + "@polkadot/x-bigint" "12.2.1" + "@polkadot/x-global" "12.2.1" + "@polkadot/x-textdecoder" "12.2.1" + "@polkadot/x-textencoder" "12.2.1" "@types/bn.js" "^5.1.1" bn.js "^5.2.1" tslib "^2.5.0" -"@polkadot/wasm-bridge@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.0.3.tgz#9691450830604dc4a361692a8a2a3df22fa53e96" - integrity sha512-q5qyhkGE9lHQmThNg6G5zCM4gYip2KtmR+De/URX7yWAO6snsinFqt066RFVuHvX1hZijrYSe/BGQABAUtH4pw== +"@polkadot/wasm-bridge@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.2.1.tgz#8464a96552207d2b49c6f32137b24132534b91ee" + integrity sha512-uV/LHREDBGBbHrrv7HTki+Klw0PYZzFomagFWII4lp6Toj/VCvRh5WMzooVC+g/XsBGosAwrvBhoModabyHx+A== dependencies: + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-crypto-asmjs@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.0.3.tgz#a1bc942029979b2696a1062066d774e99a5a6b4c" - integrity sha512-ldMZjowYywn0Uj7jSr8a21rrlFFq/jWhCXVl21/KDcYGdFEfIajqbcrO5cHoT6w95sQgAwMWJwwDClXOaBjc/Q== +"@polkadot/wasm-crypto-asmjs@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.2.1.tgz#3e7a91e2905ab7354bc37b82f3e151a62bb024db" + integrity sha512-z/d21bmxyVfkzGsKef/FWswKX02x5lK97f4NPBZ9XBeiFkmzlXhdSnu58/+b1sKsRAGdW/Rn/rTNRDhW0GqCAg== dependencies: tslib "^2.5.0" -"@polkadot/wasm-crypto-init@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.0.3.tgz#336af713edfcd6fdd0194fee2919781893fba577" - integrity sha512-W4ClfPrzOTqiX0x4h6rXjCt8UsVsbg3zU7LJFFjeLgrguPoKTLGw4h5O1rR2H7EuMFbuqdztzJn3qTjBcR03Cg== +"@polkadot/wasm-crypto-init@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.2.1.tgz#9dbba41ed7d382575240f1483cf5a139ff2787bd" + integrity sha512-GcEXtwN9LcSf32V9zSaYjHImFw16hCyo2Xzg4GLLDPPeaAAfbFr2oQMgwyDbvBrBjLKHVHjsPZyGhXae831amw== dependencies: - "@polkadot/wasm-bridge" "7.0.3" - "@polkadot/wasm-crypto-asmjs" "7.0.3" - "@polkadot/wasm-crypto-wasm" "7.0.3" + "@polkadot/wasm-bridge" "7.2.1" + "@polkadot/wasm-crypto-asmjs" "7.2.1" + "@polkadot/wasm-crypto-wasm" "7.2.1" + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-crypto-wasm@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.0.3.tgz#016834b1eb2564d8a13b133ee77a4612ad873d41" - integrity sha512-FRjUADiA3wMkjJqQLgB0v9rbSADcb2PY/6dJi06iza9m41HebTN3x7f5D3gWTCfgJjzWLAPchY2Hwsa0WpTQkw== +"@polkadot/wasm-crypto-wasm@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.2.1.tgz#d2486322c725f6e5d2cc2d6abcb77ecbbaedc738" + integrity sha512-DqyXE4rSD0CVlLIw88B58+HHNyrvm+JAnYyuEDYZwCvzUWOCNos/DDg9wi/K39VAIsCCKDmwKqkkfIofuOj/lA== dependencies: - "@polkadot/wasm-util" "7.0.3" + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-crypto@^7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.0.3.tgz#e07ddbeea0b45149d8e58be292ad423d646f1cb1" - integrity sha512-mOCLCaL9cyrU72PCc9nMNAj3zdvOzau5mOGJjLahIz+mqlHAoAmEXCAJvJ2qCo7OFl8QiDToAEGhdDWQfiHUyg== +"@polkadot/wasm-crypto@^7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.2.1.tgz#db671dcb73f1646dc13478b5ffc3be18c64babe1" + integrity sha512-SA2+33S9TAwGhniKgztVN6pxUKpGfN4Tre/eUZGUfpgRkT92wIUT2GpGWQE+fCCqGQgADrNiBcwt6XwdPqMQ4Q== dependencies: - "@polkadot/wasm-bridge" "7.0.3" - "@polkadot/wasm-crypto-asmjs" "7.0.3" - "@polkadot/wasm-crypto-init" "7.0.3" - "@polkadot/wasm-crypto-wasm" "7.0.3" - "@polkadot/wasm-util" "7.0.3" + "@polkadot/wasm-bridge" "7.2.1" + "@polkadot/wasm-crypto-asmjs" "7.2.1" + "@polkadot/wasm-crypto-init" "7.2.1" + "@polkadot/wasm-crypto-wasm" "7.2.1" + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-util@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.0.3.tgz#eab59f9dac0f00ca736aff8b24925108b7b2f860" - integrity sha512-L9U5nSbzr5xa2YSpveP/zZxhOB6i8ibssK+ihuG+7SICYtTC0B9wJp/UnjP/c6bEDlMV3yWiNXJPBTJMGmkmIQ== +"@polkadot/wasm-util@7.2.1", "@polkadot/wasm-util@^7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.2.1.tgz#fda233120ec02f77f0d14e4d3c7ad9ce06535fb8" + integrity sha512-FBSn/3aYJzhN0sYAYhHB8y9JL8mVgxLy4M1kUXYbyo+8GLRQEN5rns8Vcb8TAlIzBWgVTOOptYBvxo0oj0h7Og== dependencies: tslib "^2.5.0" -"@polkadot/x-bigint@11.1.3", "@polkadot/x-bigint@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-11.1.3.tgz#37b09a12a9ed6df704e047e261f1b8b2ac978497" - integrity sha512-fRUUHfW9VFsXT7sLUUY7gSu8v+PvzNLRwvjnp+Ly8vFx9LTLuVGFCi+mpysuRTaPpqZZJlzBJ3fST7xTGh67Pg== +"@polkadot/x-bigint@12.2.1", "@polkadot/x-bigint@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-12.2.1.tgz#adb639628626d2a6d7853afff43da20b4db4369a" + integrity sha512-3cZLsV8kU1MFOTcyloeg61CF+qdBkbZxWZJkSjh4AGlPXy+2tKwwoBPExxfCWXK61+Lo/q3/U1+lln8DSBCI2A== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-fetch@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-11.1.3.tgz#e39df53fc7fb6399d3883b45d03f6ef7f265a7f9" - integrity sha512-+Z0RxxsN7+l2ZmmDdHqOo0kgqvjXJ1bw8CwTVnq3t9nPgZKn2pC3Fq3xdj/sRWiLuf/UhgCxKfYfMmt5ek4kIg== +"@polkadot/x-fetch@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-12.2.1.tgz#65b447373a0155cae3e546b842ced356d8599c54" + integrity sha512-N2MIcn1g7LVZLZNDEkRkDD/LRY680PFqxziRoqb11SV52kRe6oVsdMIfaWH77UheniRR3br8YiQMUdvBVkak9Q== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" node-fetch "^3.3.1" tslib "^2.5.0" -"@polkadot/x-global@11.1.3", "@polkadot/x-global@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-11.1.3.tgz#4086694f52373fea63910b62da999bf0981d7d86" - integrity sha512-R3aqtIjgzFHJ3TyX6wavhp+59oLbZiqczIHkaas/nJe21+SVARqFmIII6BwS7ty7+8Uu4fHliA9re+ZSUp+rwg== +"@polkadot/x-global@12.2.1", "@polkadot/x-global@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-12.2.1.tgz#42e798e9607a4d7667469d91225c030fb3e8c8b5" + integrity sha512-JNMziAZjvfzMrXASuBPCvSzEqlhsgw0x95SOBtqJWsxmbCMAiZbYAC51vI1B9Z9wiKuzPtSh9Sk7YHsUOGCrIQ== dependencies: tslib "^2.5.0" -"@polkadot/x-randomvalues@11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-11.1.3.tgz#48dde21012aa4eef3bd00d46f545861727fb6618" - integrity sha512-kZjbRgxokMR9UTodZQKs6s3C/Q2YgeizcxpDCghM/VdvQUE8OVBGNzduF7SvBvQyg2Qbg8jMcSxXOY7UgcOWSg== +"@polkadot/x-randomvalues@12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-12.2.1.tgz#00c3f097f987b9ff70dbd2720086ad3d0bc16cfb" + integrity sha512-NwSDLcLjgHa0C7Un54Yhg2/E3Y/PcVfW5QNB9TDyzDbkmod3ziaVhh0iWG0sOmm26K6Q3phY+0uYt0etq0Gu3w== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-textdecoder@11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-11.1.3.tgz#1d1e2aa86e47587393a6acb74a086ab97d62058d" - integrity sha512-NhOjuXVfYRMw9l0VhCtZOtcWefZth58p5KpVOrFyJZd12fTsoMO5/746K7QoAjWRrLQTJ/LHCEKCtWww0LwVPw== +"@polkadot/x-textdecoder@12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-12.2.1.tgz#a426a1d8a3b5717859b81a7341b16de4de3d78c0" + integrity sha512-5nQCIwyaGS0fXU2cbtMOSjFo0yTw1Z94m/UC+Gu5lm3ZU+kK4DpKFxhfLQORWAbvQkn12chRj3LI5Gm944hcrQ== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-textencoder@11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-11.1.3.tgz#ba7621b636dcfa6ca4ab6176a6a52eef15904a72" - integrity sha512-7DmqjlPN8aQexLUKwoHeadihpUnW8hjpXEru+aEDxjgq9XIxPvb++NeBK+Mra9RzzZRuiT/K5z16HlwKN//ewg== +"@polkadot/x-textencoder@12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-12.2.1.tgz#f606c9929668bb41a23ec25c9752252bb56b0c9b" + integrity sha512-Ou6OXypRsJloK5a7Kn7re3ImqcL26h22fVw1cNv4fsTgkRFUdJDgPux2TpCZ3N+cyrfGVv42xKYFbdKMQCczjg== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-ws@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-11.1.3.tgz#5a759bcbbbdceeecca53bcc74170e52cd3ca774b" - integrity sha512-omNU2mIVX997HiHm2YxEdJdyCFnv+oTyKWZd0+FdS47rdfhVwD+H9/bS+rtQ9lIqfhODdGmw3fG//gq1KpYJcw== +"@polkadot/x-ws@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-12.2.1.tgz#8774bc8cd38194354e48fc92438c4ebb52929fce" + integrity sha512-jPfNR/QFwPmXCk9hGEAyCo50xBNHm3s+XavmpHEKQSulnLn5des5X/pKn+g8ttaO9nqrXYnUFO6VEmILgUa/IQ== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" ws "^8.13.0" @@ -345,19 +349,19 @@ resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== -"@substrate/connect@0.7.22": - version "0.7.22" - resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.22.tgz#15a20d734bab082c87f2aaaf75ce012c83881ef7" - integrity sha512-g12IYiepPu0OFWcm87ugDbfPr5a9TCGd4HJv1zXB2TRP/ZvYtHCE9+ftA5IvJbJPw6CI6/0XmUbP7Nz19HT/aw== +"@substrate/connect@0.7.26": + version "0.7.26" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.26.tgz#a0ee5180c9cb2f29250d1219a32f7b7e7dea1196" + integrity sha512-uuGSiroGuKWj1+38n1kY5HReer5iL9bRwPCzuoLtqAOmI1fGI0hsSI2LlNQMAbfRgr7VRHXOk5MTuQf5ulsFRw== dependencies: "@substrate/connect-extension-protocol" "^1.0.1" eventemitter3 "^4.0.7" - smoldot "1.0.0" + smoldot "1.0.4" -"@substrate/ss58-registry@^1.39.0": - version "1.39.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.39.0.tgz#eb916ff5fea7fa02e77745823fde21af979273d2" - integrity sha512-qZYpuE6n+mwew+X71dOur/CbMXj6rNW27o63JeJwdQH/GvcSKm3JLNhd+bGzwUKg0D/zD30Qc6p4JykArzM+tA== +"@substrate/ss58-registry@^1.40.0": + version "1.40.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.40.0.tgz#2223409c496271df786c1ca8496898896595441e" + integrity sha512-QuU2nBql3J4KCnOWtWDw4n1K4JU0T79j54ZZvm/9nhsX6AIar13FyhsaBfs6QkJ2ixTQAnd7TocJIoJRWbqMZA== "@types/bn.js@^5.1.1": version "5.1.1" @@ -393,10 +397,10 @@ eventemitter3@^4.0.7: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -eventemitter3@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.0.tgz#084eb7f5b5388df1451e63f4c2aafd71b217ccb3" - integrity sha512-riuVbElZZNXLeLEoprfNYoDSwTBRR44X3mnhdI1YcnENpWTCsTTVZ2zFuqQcpoyqPQIUXdiPEU0ECAq0KQRaHg== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== fetch-blob@^3.1.2, fetch-blob@^3.1.4: version "3.2.0" @@ -433,10 +437,10 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -nock@^13.3.0: - version "13.3.0" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.0.tgz#b13069c1a03f1ad63120f994b04bfd2556925768" - integrity sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg== +nock@^13.3.1: + version "13.3.1" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.1.tgz#f22d4d661f7a05ebd9368edae1b5dc0a62d758fc" + integrity sha512-vHnopocZuI93p2ccivFyGuUfzjq2fxNyNurp7816mlT5V5HF4SzXu8lvLrVzBbNqzs+ODooZ6OksuSUNM7Njkw== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" @@ -467,17 +471,17 @@ propagate@^2.0.0: resolved "https://registry.yarnpkg.com/propagate/-/propagate-2.0.1.tgz#40cdedab18085c792334e64f0ac17256d38f9a45" integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag== -rxjs@^7.8.0: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" - integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== +rxjs@^7.8.1: + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== dependencies: tslib "^2.1.0" -smoldot@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-1.0.0.tgz#438ddb9903fed28f24e52c4c0fb56f0b479209d7" - integrity sha512-3/y/poD7j42NL6Z/Gp4OLm1qx8svyy255XQ5xRkjv9+O50RT0SeEmnBZmEbVmi1w6WmamPjt8URdzfN7xxgK9Q== +smoldot@1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-1.0.4.tgz#e4c38cedad68d699a11b5b9ce72bb75c891bfd98" + integrity sha512-N3TazI1C4GGrseFH/piWyZCCCRJTRx2QhDfrUKRT4SzILlW5m8ayZ3QTKICcz1C/536T9cbHHJyP7afxI6Mi1A== dependencies: pako "^2.0.4" ws "^8.8.1" @@ -492,10 +496,10 @@ tslib@^2.5.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -tweetnacl@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" - integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== +tslib@^2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.2.tgz#1b6f07185c881557b0ffa84b111a0106989e8338" + integrity sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA== web-streams-polyfill@^3.0.3: version "3.2.1" diff --git a/scripts/js/upgrade/package.json b/scripts/js/upgrade/package.json index b72e8f1b7b..2e2bd9608d 100644 --- a/scripts/js/upgrade/package.json +++ b/scripts/js/upgrade/package.json @@ -10,8 +10,8 @@ "author": "", "license": "ISC", "dependencies": { - "@polkadot/api": "^10.2.2", - "@polkadot/util": "^11.1.3", - "@polkadot/util-crypto": "^11.1.3" + "@polkadot/api": "^10.7.2", + "@polkadot/util": "^12.2.1", + "@polkadot/util-crypto": "^12.2.1" } } diff --git a/scripts/js/upgrade/yarn.lock b/scripts/js/upgrade/yarn.lock index b373e485ea..f1f831a63f 100644 --- a/scripts/js/upgrade/yarn.lock +++ b/scripts/js/upgrade/yarn.lock @@ -2,336 +2,340 @@ # yarn lockfile v1 +"@noble/curves@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.0.0.tgz#e40be8c7daf088aaf291887cbc73f43464a92932" + integrity sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw== + dependencies: + "@noble/hashes" "1.3.0" + "@noble/hashes@1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== -"@noble/secp256k1@1.7.1": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" - integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw== - -"@polkadot/api-augment@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.2.2.tgz#5e802f83594d8baaf9b3715c9315d950f106096a" - integrity sha512-ENICYFmUX1BzbgfHvIsWvJVYrBK6y7A1AfYweQ4/sp7qqCXZ69uCrUzEJnyB5f6Zj7n7QJxBSa18l51yKljxrA== - dependencies: - "@polkadot/api-base" "10.2.2" - "@polkadot/rpc-augment" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-augment" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/api-base@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.2.2.tgz#819fed1ea7f6a670e3972e580e628e3c1c76142f" - integrity sha512-7xpkUOIesYZ+K9dw9zJZW0NTVWfNJXszX0WWKYxBK7V4tH4DB1VVCC+5syNzhDUEfDVSLYfcZANx1W6T+32V/w== - dependencies: - "@polkadot/rpc-core" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/util" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/api-derive@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.2.2.tgz#18d28c21c782110dbef9c78962975c546001005c" - integrity sha512-/qqZOMNXo1x24nBGc93SOpoddOa15duazsneeylulqf3zUM9E8JT510QnzSHC5UANCNs98q3UaU+CS/kHb9v6Q== - dependencies: - "@polkadot/api" "10.2.2" - "@polkadot/api-augment" "10.2.2" - "@polkadot/api-base" "10.2.2" - "@polkadot/rpc-core" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/api@10.2.2", "@polkadot/api@^10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.2.2.tgz#feadf8809f85f6b95e9d80a2741219e8740b8482" - integrity sha512-tv/E+8qN492b33CvSEZ57SjKQ8f6AMUSI6Js6lZreYPomSq5SzJWFH1mplOp3/VI0uX1O5c01dgMWkpM8W2ZKw== - dependencies: - "@polkadot/api-augment" "10.2.2" - "@polkadot/api-base" "10.2.2" - "@polkadot/api-derive" "10.2.2" - "@polkadot/keyring" "^11.1.3" - "@polkadot/rpc-augment" "10.2.2" - "@polkadot/rpc-core" "10.2.2" - "@polkadot/rpc-provider" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-augment" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/types-create" "10.2.2" - "@polkadot/types-known" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - eventemitter3 "^5.0.0" - rxjs "^7.8.0" +"@polkadot/api-augment@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.7.2.tgz#b49aba3a7ac0832b1e21910c21c159e2dd0d3d47" + integrity sha512-2h3Rk2kYYEn3xtpzD2pwh1posgWK1/xWMISDypmNxChH/L44Ulch+jbbpk/JlOw0x3ClESRczZ8zcJOrKmDY8w== + dependencies: + "@polkadot/api-base" "10.7.2" + "@polkadot/rpc-augment" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-augment" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/api-base@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.7.2.tgz#70650dd434163a6ae7c5d6c535267a5007e8d4fc" + integrity sha512-Gb6ro7B5Xq565lE9x+XBdGoIWFVLnlhtAnG3a4RbQ8D+lr8L5QDtXEJHiGNhV2l/g4xoItJ6IFW4txhKdaJl9A== + dependencies: + "@polkadot/rpc-core" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/util" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/api-derive@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.7.2.tgz#4c4f6d27f34f71f0a35d800c0477f25642c8552a" + integrity sha512-2hrlvE5W0xdR3aT/AEWPfbReV5xm/8SVv9dK1EJd6xzfjB+TCpuDkdXY5OgNv76eJbUeAkR1bHJLGvNfMqhnqQ== + dependencies: + "@polkadot/api" "10.7.2" + "@polkadot/api-augment" "10.7.2" + "@polkadot/api-base" "10.7.2" + "@polkadot/rpc-core" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/api@10.7.2", "@polkadot/api@^10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.7.2.tgz#e5e9667f6c048f24294992dc2f508047f42ac8ee" + integrity sha512-w1d/P359xNAKyCm/uhVDW8pCVBGVVthLYJPjZBqXOQXdLF+0Kjsg6zwNbHlSVPf3zpX6AODUg4X+HpchGIZSpQ== + dependencies: + "@polkadot/api-augment" "10.7.2" + "@polkadot/api-base" "10.7.2" + "@polkadot/api-derive" "10.7.2" + "@polkadot/keyring" "^12.2.1" + "@polkadot/rpc-augment" "10.7.2" + "@polkadot/rpc-core" "10.7.2" + "@polkadot/rpc-provider" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-augment" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/types-create" "10.7.2" + "@polkadot/types-known" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + eventemitter3 "^5.0.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/keyring@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-12.2.1.tgz#d131375c0436115d1f35139bd2bbbc069dd5b9fa" + integrity sha512-YqgpU+97OZgnSUL56DEMib937Dpb1bTTDPYHhBiN1yNCKod7UboWXIe4xPh+1Kzugum+dEyPpdV+fHH10rtDzw== + dependencies: + "@polkadot/util" "12.2.1" + "@polkadot/util-crypto" "12.2.1" tslib "^2.5.0" -"@polkadot/keyring@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-11.1.3.tgz#8718f14996ecdb389acffc6ecbe7deb8a2d74b5f" - integrity sha512-bzGz1cWDYK7MWhp0630W6KOwTC/wsvKKHBvWxReMT7iQwFHeLn5AemUOveqIPxF+esd/UfdN5aFDHApjYcyZsg== +"@polkadot/networks@12.2.1", "@polkadot/networks@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-12.2.1.tgz#ce3e2371e3bd02c9c1b233846b9fe1df4601f560" + integrity sha512-lYLvFv6iQ2UzkP66zJfsiTo2goeaNeKuwiaGoRoFrDwdwVeZK/+rCsz1uAyvbwmpZIaK8K+dTlSBVWlFoAkgcA== dependencies: - "@polkadot/util" "11.1.3" - "@polkadot/util-crypto" "11.1.3" + "@polkadot/util" "12.2.1" + "@substrate/ss58-registry" "^1.40.0" tslib "^2.5.0" -"@polkadot/networks@11.1.3", "@polkadot/networks@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-11.1.3.tgz#e113c98269328267962c2047dccca4d2790cc8a5" - integrity sha512-goLpX9SswAGGeh1jXB79wHEfWOF5rLIItMHYalujBmhQVxyAqbxP2tzQqPQXDLcnkWbgwkyYGLXaDD72GBqHZw== - dependencies: - "@polkadot/util" "11.1.3" - "@substrate/ss58-registry" "^1.39.0" - tslib "^2.5.0" - -"@polkadot/rpc-augment@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.2.2.tgz#5a4ca3d138e42b6ca9925533cdcdf9985be58809" - integrity sha512-NpxdlIjQbnBAqTU7Gh9yd672r0BX4SAQ0xODtDKUFA4zXaHC6rrK0DpshAe4dmafvhvxGftXwTrkxl+6yBQ/AA== - dependencies: - "@polkadot/rpc-core" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/rpc-core@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.2.2.tgz#b585942107244710fece57bd285ded4113c26c6b" - integrity sha512-PXsiGcb3PHWP4FSO1BsSX5R32GrKO5uaoT8ul2cm8ZuEeNA85MelXNH/5iKZ/gj2TwJoYARFLz4evW9F6QKTmw== - dependencies: - "@polkadot/rpc-augment" "10.2.2" - "@polkadot/rpc-provider" "10.2.2" - "@polkadot/types" "10.2.2" - "@polkadot/util" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/rpc-provider@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.2.2.tgz#e0649e082be956fea4ae5de631250ae0f14af8f7" - integrity sha512-bk4ihqKVapyZRNI6cMQanp4Ajouzh8t/028rpsZRbB7C5x2CIGwtTqxzo4l2oSNF6Mn0zji3UA5XYeWxSZDAAg== - dependencies: - "@polkadot/keyring" "^11.1.3" - "@polkadot/types" "10.2.2" - "@polkadot/types-support" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - "@polkadot/x-fetch" "^11.1.3" - "@polkadot/x-global" "^11.1.3" - "@polkadot/x-ws" "^11.1.3" - eventemitter3 "^5.0.0" +"@polkadot/rpc-augment@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.7.2.tgz#27814f8b23e40c843edebfd6fe6367bc4bfaf12c" + integrity sha512-75tkVmCOJac5zlgizp1b8DO7R4y1YaNGyPEcyoT6Cx0z5LYSnV6TxQvHhrs6RzMKW1ltvuaFp2ptMvxzm8IB+A== + dependencies: + "@polkadot/rpc-core" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/rpc-core@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.7.2.tgz#5435cd6f063358f400b9ba76704b225be969209c" + integrity sha512-HDHvl4tR2B4zaaWzfaIqrndQSzPSo9WZiuzW35qOEg15u1v0KMJ7NJYvgmoiwx5Adj1rw86Y2Mg1G0uJrSwCZQ== + dependencies: + "@polkadot/rpc-augment" "10.7.2" + "@polkadot/rpc-provider" "10.7.2" + "@polkadot/types" "10.7.2" + "@polkadot/util" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/rpc-provider@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.7.2.tgz#8d1bb9d4ffaf769f83b53e6b785eec7151130b76" + integrity sha512-gJFsuATdz5qNNUDUdslESn8xaEf8tFz7JbtuXRb08dkCcqX6I/X+2fq07d8uOVlsIdVT2ghzuFun4STzP4wAwA== + dependencies: + "@polkadot/keyring" "^12.2.1" + "@polkadot/types" "10.7.2" + "@polkadot/types-support" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + "@polkadot/x-fetch" "^12.2.1" + "@polkadot/x-global" "^12.2.1" + "@polkadot/x-ws" "^12.2.1" + eventemitter3 "^5.0.1" mock-socket "^9.2.1" - nock "^13.3.0" - tslib "^2.5.0" + nock "^13.3.1" + tslib "^2.5.2" optionalDependencies: - "@substrate/connect" "0.7.22" - -"@polkadot/types-augment@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.2.2.tgz#42ad9432c1d5ca6eb32ea0af74e4fbecf6e699c5" - integrity sha512-1VTsILspyS23bysTub9Ub6ZIXvOoEsM6/P1xnYgNfFPxb4pTXvW+dPJ11BhJNsgYAm5NbcCo8QxLwMUnM+S86g== - dependencies: - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-codec@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.2.2.tgz#2573f9f9ca85427c91bb976647fa4d990707e1f6" - integrity sha512-W2nYjutn5T7Ggi8Kqf0tf56iuwKNnb6U6bhuSBMvpyA1O6Y0vc2si50fZ+jUfx/XYOshMs1skw80PnM577KPlQ== - dependencies: - "@polkadot/util" "^11.1.3" - "@polkadot/x-bigint" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-create@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.2.2.tgz#0fe4c24a5f1b4de315abdc3bdaf221d8ad07aeee" - integrity sha512-bk+oTPjcm4811GzDmzcQqFZoZlcTaVjqoXS+GSRuPX0+OzAMIVUwz6qFnYpS1hxm8yfZKyOMAQyqV7aK7vQFfg== - dependencies: - "@polkadot/types-codec" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-known@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.2.2.tgz#983c6948e8b6c96a2737ec1d93a7a32beefe600c" - integrity sha512-y9Lfzikd5VKaifBynyqG1oE4n7iIM6OAHtKW5YGCmfkwIrj1EeEn2CDc5zhvlVpbctqrB5XEbSf/r30zA1fUdw== - dependencies: - "@polkadot/networks" "^11.1.3" - "@polkadot/types" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/types-create" "10.2.2" - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types-support@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.2.2.tgz#01cde329010690841ba5f163dc753a7c67d2a2cc" - integrity sha512-T0CxVmA/IWJ35CaFMMGJyvgDyDt6kF3a7r0IVGJD/ChkTiPvNKlZTrg2LHBH/m04I87yq26ILAq03sSiRbftWA== - dependencies: - "@polkadot/util" "^11.1.3" - tslib "^2.5.0" - -"@polkadot/types@10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.2.2.tgz#cc1088aa43336d45b7f31015fdc61d1531d6ca9f" - integrity sha512-J7I93a+Rfn3nov03XYyYMZLTn0dPDjv9XDNhSU9KkKB8WpVW7P0aRJNee2PWJjmRX8uXQsoLRSz3CLpMVQTVNA== - dependencies: - "@polkadot/keyring" "^11.1.3" - "@polkadot/types-augment" "10.2.2" - "@polkadot/types-codec" "10.2.2" - "@polkadot/types-create" "10.2.2" - "@polkadot/util" "^11.1.3" - "@polkadot/util-crypto" "^11.1.3" - rxjs "^7.8.0" - tslib "^2.5.0" - -"@polkadot/util-crypto@11.1.3", "@polkadot/util-crypto@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-11.1.3.tgz#c3b166f8f8934a2139c8cfb31af50dae53a9d985" - integrity sha512-hjH1y6jXQuceJ2NWx7+ei0sR4A7t844XwlNquPxZX3kQbQS+1t6tO4Eo3/95JhPsEaJOXduus02cYEF6gteEYQ== - dependencies: + "@substrate/connect" "0.7.26" + +"@polkadot/types-augment@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.7.2.tgz#9596631f1ba66e5a47c250d9de407eac5eca3030" + integrity sha512-alZg1NqQkcsxpYfijWkI1w7z++NcOODiksZu1ggKUOWxxTEKOw/VKL9n5/XhFylMgoJyOOq3qPf3VlHSA6eLSw== + dependencies: + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-codec@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.7.2.tgz#b7270250ef2f3e4c3dea6c754b573258fac8cb54" + integrity sha512-Sy3RM+gT1lZ6WHL694swxkSoqMvAGwnNX5S2oxoGlQ5bncYIMRg+pker4dDBD+EncyrBISLwxM7smOJpiVKOAg== + dependencies: + "@polkadot/util" "^12.2.1" + "@polkadot/x-bigint" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-create@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.7.2.tgz#dafaed10692bbf69c9257ef4ed1b56e757562ae5" + integrity sha512-jBYX365SkoQJ7bJafxl3886z4JouZYLzXXHhroz32hfpzovC/3xAbyVYK7GgyyRRUNRp9Qww9nzn7yTAuDVawg== + dependencies: + "@polkadot/types-codec" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-known@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.7.2.tgz#bb39696e9d35a4b21a232dd372b85d65ff988eb0" + integrity sha512-6E1A4YK5yeTw2bk+EH8JOfmYwIq6KODtsTzsDGwOxNgJJ+1qAE18r6TVAOr1KW8YsHuHI5d0m7D7K7p8ZaEpwA== + dependencies: + "@polkadot/networks" "^12.2.1" + "@polkadot/types" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/types-create" "10.7.2" + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types-support@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.7.2.tgz#22c320e4fd94e20cedb47675630732f54d533060" + integrity sha512-pEtQJElgWvRoVcm1rhjW0NH89eCs55AUc/03H0hFnvxN3K9gTZJpQJF0qz188eOgiZPZOtbz5C/kCdMTs0tsdw== + dependencies: + "@polkadot/util" "^12.2.1" + tslib "^2.5.2" + +"@polkadot/types@10.7.2": + version "10.7.2" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.7.2.tgz#270bb743d4136461ec575cb533ab4982bb1b739c" + integrity sha512-zhGZOVBKXiCxdtoXMcWXsmV4Z6209NaN8jeadiJya6UQT2DVnz8AugN+0Sq60XangXE/HxdL0Vhr1Z9XUY57mg== + dependencies: + "@polkadot/keyring" "^12.2.1" + "@polkadot/types-augment" "10.7.2" + "@polkadot/types-codec" "10.7.2" + "@polkadot/types-create" "10.7.2" + "@polkadot/util" "^12.2.1" + "@polkadot/util-crypto" "^12.2.1" + rxjs "^7.8.1" + tslib "^2.5.2" + +"@polkadot/util-crypto@12.2.1", "@polkadot/util-crypto@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-12.2.1.tgz#cbb0d1535e187af43ddcbac4248298b134f2f3ee" + integrity sha512-MFh7Sdm7/G9ot5eIBZGuQXTYP/EbOCh1+ODyygp9/TjWAmJZMq1J73Uqk4KmzkwpDBpNZO8TGjiYwL8lR6BnGg== + dependencies: + "@noble/curves" "1.0.0" "@noble/hashes" "1.3.0" - "@noble/secp256k1" "1.7.1" - "@polkadot/networks" "11.1.3" - "@polkadot/util" "11.1.3" - "@polkadot/wasm-crypto" "^7.0.3" - "@polkadot/x-bigint" "11.1.3" - "@polkadot/x-randomvalues" "11.1.3" + "@polkadot/networks" "12.2.1" + "@polkadot/util" "12.2.1" + "@polkadot/wasm-crypto" "^7.2.1" + "@polkadot/wasm-util" "^7.2.1" + "@polkadot/x-bigint" "12.2.1" + "@polkadot/x-randomvalues" "12.2.1" "@scure/base" "1.1.1" tslib "^2.5.0" - tweetnacl "^1.0.3" -"@polkadot/util@11.1.3", "@polkadot/util@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-11.1.3.tgz#dcdc4504f7c31e6104e7970903d8c1998f3858ef" - integrity sha512-Gsqzv1/fSoypS5tnJkM+NJQeT7O4iYlSniubUJnaZVOKsIbueTS1bMQ1y3/h8ISxbKBtICW5cZ6zCej6Q/jC3w== +"@polkadot/util@12.2.1", "@polkadot/util@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-12.2.1.tgz#d6c692324890802bc3b2f15b213b7430bb26e8c8" + integrity sha512-MQmPx9aCX4GTpDY/USUQywXRyaDbaibg4V1+c/CoRTsoDu+XHNM8G3lpabdNAYKZrtxg+3/1bTS0ojm6ANSQRw== dependencies: - "@polkadot/x-bigint" "11.1.3" - "@polkadot/x-global" "11.1.3" - "@polkadot/x-textdecoder" "11.1.3" - "@polkadot/x-textencoder" "11.1.3" + "@polkadot/x-bigint" "12.2.1" + "@polkadot/x-global" "12.2.1" + "@polkadot/x-textdecoder" "12.2.1" + "@polkadot/x-textencoder" "12.2.1" "@types/bn.js" "^5.1.1" bn.js "^5.2.1" tslib "^2.5.0" -"@polkadot/wasm-bridge@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.0.3.tgz#9691450830604dc4a361692a8a2a3df22fa53e96" - integrity sha512-q5qyhkGE9lHQmThNg6G5zCM4gYip2KtmR+De/URX7yWAO6snsinFqt066RFVuHvX1hZijrYSe/BGQABAUtH4pw== +"@polkadot/wasm-bridge@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.2.1.tgz#8464a96552207d2b49c6f32137b24132534b91ee" + integrity sha512-uV/LHREDBGBbHrrv7HTki+Klw0PYZzFomagFWII4lp6Toj/VCvRh5WMzooVC+g/XsBGosAwrvBhoModabyHx+A== dependencies: + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-crypto-asmjs@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.0.3.tgz#a1bc942029979b2696a1062066d774e99a5a6b4c" - integrity sha512-ldMZjowYywn0Uj7jSr8a21rrlFFq/jWhCXVl21/KDcYGdFEfIajqbcrO5cHoT6w95sQgAwMWJwwDClXOaBjc/Q== +"@polkadot/wasm-crypto-asmjs@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.2.1.tgz#3e7a91e2905ab7354bc37b82f3e151a62bb024db" + integrity sha512-z/d21bmxyVfkzGsKef/FWswKX02x5lK97f4NPBZ9XBeiFkmzlXhdSnu58/+b1sKsRAGdW/Rn/rTNRDhW0GqCAg== dependencies: tslib "^2.5.0" -"@polkadot/wasm-crypto-init@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.0.3.tgz#336af713edfcd6fdd0194fee2919781893fba577" - integrity sha512-W4ClfPrzOTqiX0x4h6rXjCt8UsVsbg3zU7LJFFjeLgrguPoKTLGw4h5O1rR2H7EuMFbuqdztzJn3qTjBcR03Cg== +"@polkadot/wasm-crypto-init@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.2.1.tgz#9dbba41ed7d382575240f1483cf5a139ff2787bd" + integrity sha512-GcEXtwN9LcSf32V9zSaYjHImFw16hCyo2Xzg4GLLDPPeaAAfbFr2oQMgwyDbvBrBjLKHVHjsPZyGhXae831amw== dependencies: - "@polkadot/wasm-bridge" "7.0.3" - "@polkadot/wasm-crypto-asmjs" "7.0.3" - "@polkadot/wasm-crypto-wasm" "7.0.3" + "@polkadot/wasm-bridge" "7.2.1" + "@polkadot/wasm-crypto-asmjs" "7.2.1" + "@polkadot/wasm-crypto-wasm" "7.2.1" + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-crypto-wasm@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.0.3.tgz#016834b1eb2564d8a13b133ee77a4612ad873d41" - integrity sha512-FRjUADiA3wMkjJqQLgB0v9rbSADcb2PY/6dJi06iza9m41HebTN3x7f5D3gWTCfgJjzWLAPchY2Hwsa0WpTQkw== +"@polkadot/wasm-crypto-wasm@7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.2.1.tgz#d2486322c725f6e5d2cc2d6abcb77ecbbaedc738" + integrity sha512-DqyXE4rSD0CVlLIw88B58+HHNyrvm+JAnYyuEDYZwCvzUWOCNos/DDg9wi/K39VAIsCCKDmwKqkkfIofuOj/lA== dependencies: - "@polkadot/wasm-util" "7.0.3" + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-crypto@^7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.0.3.tgz#e07ddbeea0b45149d8e58be292ad423d646f1cb1" - integrity sha512-mOCLCaL9cyrU72PCc9nMNAj3zdvOzau5mOGJjLahIz+mqlHAoAmEXCAJvJ2qCo7OFl8QiDToAEGhdDWQfiHUyg== +"@polkadot/wasm-crypto@^7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.2.1.tgz#db671dcb73f1646dc13478b5ffc3be18c64babe1" + integrity sha512-SA2+33S9TAwGhniKgztVN6pxUKpGfN4Tre/eUZGUfpgRkT92wIUT2GpGWQE+fCCqGQgADrNiBcwt6XwdPqMQ4Q== dependencies: - "@polkadot/wasm-bridge" "7.0.3" - "@polkadot/wasm-crypto-asmjs" "7.0.3" - "@polkadot/wasm-crypto-init" "7.0.3" - "@polkadot/wasm-crypto-wasm" "7.0.3" - "@polkadot/wasm-util" "7.0.3" + "@polkadot/wasm-bridge" "7.2.1" + "@polkadot/wasm-crypto-asmjs" "7.2.1" + "@polkadot/wasm-crypto-init" "7.2.1" + "@polkadot/wasm-crypto-wasm" "7.2.1" + "@polkadot/wasm-util" "7.2.1" tslib "^2.5.0" -"@polkadot/wasm-util@7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.0.3.tgz#eab59f9dac0f00ca736aff8b24925108b7b2f860" - integrity sha512-L9U5nSbzr5xa2YSpveP/zZxhOB6i8ibssK+ihuG+7SICYtTC0B9wJp/UnjP/c6bEDlMV3yWiNXJPBTJMGmkmIQ== +"@polkadot/wasm-util@7.2.1", "@polkadot/wasm-util@^7.2.1": + version "7.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.2.1.tgz#fda233120ec02f77f0d14e4d3c7ad9ce06535fb8" + integrity sha512-FBSn/3aYJzhN0sYAYhHB8y9JL8mVgxLy4M1kUXYbyo+8GLRQEN5rns8Vcb8TAlIzBWgVTOOptYBvxo0oj0h7Og== dependencies: tslib "^2.5.0" -"@polkadot/x-bigint@11.1.3", "@polkadot/x-bigint@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-11.1.3.tgz#37b09a12a9ed6df704e047e261f1b8b2ac978497" - integrity sha512-fRUUHfW9VFsXT7sLUUY7gSu8v+PvzNLRwvjnp+Ly8vFx9LTLuVGFCi+mpysuRTaPpqZZJlzBJ3fST7xTGh67Pg== +"@polkadot/x-bigint@12.2.1", "@polkadot/x-bigint@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-12.2.1.tgz#adb639628626d2a6d7853afff43da20b4db4369a" + integrity sha512-3cZLsV8kU1MFOTcyloeg61CF+qdBkbZxWZJkSjh4AGlPXy+2tKwwoBPExxfCWXK61+Lo/q3/U1+lln8DSBCI2A== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-fetch@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-11.1.3.tgz#e39df53fc7fb6399d3883b45d03f6ef7f265a7f9" - integrity sha512-+Z0RxxsN7+l2ZmmDdHqOo0kgqvjXJ1bw8CwTVnq3t9nPgZKn2pC3Fq3xdj/sRWiLuf/UhgCxKfYfMmt5ek4kIg== +"@polkadot/x-fetch@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-12.2.1.tgz#65b447373a0155cae3e546b842ced356d8599c54" + integrity sha512-N2MIcn1g7LVZLZNDEkRkDD/LRY680PFqxziRoqb11SV52kRe6oVsdMIfaWH77UheniRR3br8YiQMUdvBVkak9Q== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" node-fetch "^3.3.1" tslib "^2.5.0" -"@polkadot/x-global@11.1.3", "@polkadot/x-global@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-11.1.3.tgz#4086694f52373fea63910b62da999bf0981d7d86" - integrity sha512-R3aqtIjgzFHJ3TyX6wavhp+59oLbZiqczIHkaas/nJe21+SVARqFmIII6BwS7ty7+8Uu4fHliA9re+ZSUp+rwg== +"@polkadot/x-global@12.2.1", "@polkadot/x-global@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-12.2.1.tgz#42e798e9607a4d7667469d91225c030fb3e8c8b5" + integrity sha512-JNMziAZjvfzMrXASuBPCvSzEqlhsgw0x95SOBtqJWsxmbCMAiZbYAC51vI1B9Z9wiKuzPtSh9Sk7YHsUOGCrIQ== dependencies: tslib "^2.5.0" -"@polkadot/x-randomvalues@11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-11.1.3.tgz#48dde21012aa4eef3bd00d46f545861727fb6618" - integrity sha512-kZjbRgxokMR9UTodZQKs6s3C/Q2YgeizcxpDCghM/VdvQUE8OVBGNzduF7SvBvQyg2Qbg8jMcSxXOY7UgcOWSg== +"@polkadot/x-randomvalues@12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-12.2.1.tgz#00c3f097f987b9ff70dbd2720086ad3d0bc16cfb" + integrity sha512-NwSDLcLjgHa0C7Un54Yhg2/E3Y/PcVfW5QNB9TDyzDbkmod3ziaVhh0iWG0sOmm26K6Q3phY+0uYt0etq0Gu3w== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-textdecoder@11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-11.1.3.tgz#1d1e2aa86e47587393a6acb74a086ab97d62058d" - integrity sha512-NhOjuXVfYRMw9l0VhCtZOtcWefZth58p5KpVOrFyJZd12fTsoMO5/746K7QoAjWRrLQTJ/LHCEKCtWww0LwVPw== +"@polkadot/x-textdecoder@12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-12.2.1.tgz#a426a1d8a3b5717859b81a7341b16de4de3d78c0" + integrity sha512-5nQCIwyaGS0fXU2cbtMOSjFo0yTw1Z94m/UC+Gu5lm3ZU+kK4DpKFxhfLQORWAbvQkn12chRj3LI5Gm944hcrQ== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-textencoder@11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-11.1.3.tgz#ba7621b636dcfa6ca4ab6176a6a52eef15904a72" - integrity sha512-7DmqjlPN8aQexLUKwoHeadihpUnW8hjpXEru+aEDxjgq9XIxPvb++NeBK+Mra9RzzZRuiT/K5z16HlwKN//ewg== +"@polkadot/x-textencoder@12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-12.2.1.tgz#f606c9929668bb41a23ec25c9752252bb56b0c9b" + integrity sha512-Ou6OXypRsJloK5a7Kn7re3ImqcL26h22fVw1cNv4fsTgkRFUdJDgPux2TpCZ3N+cyrfGVv42xKYFbdKMQCczjg== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" -"@polkadot/x-ws@^11.1.3": - version "11.1.3" - resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-11.1.3.tgz#5a759bcbbbdceeecca53bcc74170e52cd3ca774b" - integrity sha512-omNU2mIVX997HiHm2YxEdJdyCFnv+oTyKWZd0+FdS47rdfhVwD+H9/bS+rtQ9lIqfhODdGmw3fG//gq1KpYJcw== +"@polkadot/x-ws@^12.2.1": + version "12.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-12.2.1.tgz#8774bc8cd38194354e48fc92438c4ebb52929fce" + integrity sha512-jPfNR/QFwPmXCk9hGEAyCo50xBNHm3s+XavmpHEKQSulnLn5des5X/pKn+g8ttaO9nqrXYnUFO6VEmILgUa/IQ== dependencies: - "@polkadot/x-global" "11.1.3" + "@polkadot/x-global" "12.2.1" tslib "^2.5.0" ws "^8.13.0" @@ -345,19 +349,19 @@ resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== -"@substrate/connect@0.7.22": - version "0.7.22" - resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.22.tgz#15a20d734bab082c87f2aaaf75ce012c83881ef7" - integrity sha512-g12IYiepPu0OFWcm87ugDbfPr5a9TCGd4HJv1zXB2TRP/ZvYtHCE9+ftA5IvJbJPw6CI6/0XmUbP7Nz19HT/aw== +"@substrate/connect@0.7.26": + version "0.7.26" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.26.tgz#a0ee5180c9cb2f29250d1219a32f7b7e7dea1196" + integrity sha512-uuGSiroGuKWj1+38n1kY5HReer5iL9bRwPCzuoLtqAOmI1fGI0hsSI2LlNQMAbfRgr7VRHXOk5MTuQf5ulsFRw== dependencies: "@substrate/connect-extension-protocol" "^1.0.1" eventemitter3 "^4.0.7" - smoldot "1.0.0" + smoldot "1.0.4" -"@substrate/ss58-registry@^1.39.0": - version "1.39.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.39.0.tgz#eb916ff5fea7fa02e77745823fde21af979273d2" - integrity sha512-qZYpuE6n+mwew+X71dOur/CbMXj6rNW27o63JeJwdQH/GvcSKm3JLNhd+bGzwUKg0D/zD30Qc6p4JykArzM+tA== +"@substrate/ss58-registry@^1.40.0": + version "1.40.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.40.0.tgz#2223409c496271df786c1ca8496898896595441e" + integrity sha512-QuU2nBql3J4KCnOWtWDw4n1K4JU0T79j54ZZvm/9nhsX6AIar13FyhsaBfs6QkJ2ixTQAnd7TocJIoJRWbqMZA== "@types/bn.js@^5.1.1": version "5.1.1" @@ -393,10 +397,10 @@ eventemitter3@^4.0.7: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -eventemitter3@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.0.tgz#084eb7f5b5388df1451e63f4c2aafd71b217ccb3" - integrity sha512-riuVbElZZNXLeLEoprfNYoDSwTBRR44X3mnhdI1YcnENpWTCsTTVZ2zFuqQcpoyqPQIUXdiPEU0ECAq0KQRaHg== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== fetch-blob@^3.1.2, fetch-blob@^3.1.4: version "3.2.0" @@ -433,10 +437,10 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -nock@^13.3.0: - version "13.3.0" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.0.tgz#b13069c1a03f1ad63120f994b04bfd2556925768" - integrity sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg== +nock@^13.3.1: + version "13.3.1" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.1.tgz#f22d4d661f7a05ebd9368edae1b5dc0a62d758fc" + integrity sha512-vHnopocZuI93p2ccivFyGuUfzjq2fxNyNurp7816mlT5V5HF4SzXu8lvLrVzBbNqzs+ODooZ6OksuSUNM7Njkw== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" @@ -467,17 +471,17 @@ propagate@^2.0.0: resolved "https://registry.yarnpkg.com/propagate/-/propagate-2.0.1.tgz#40cdedab18085c792334e64f0ac17256d38f9a45" integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag== -rxjs@^7.8.0: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" - integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== +rxjs@^7.8.1: + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== dependencies: tslib "^2.1.0" -smoldot@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-1.0.0.tgz#438ddb9903fed28f24e52c4c0fb56f0b479209d7" - integrity sha512-3/y/poD7j42NL6Z/Gp4OLm1qx8svyy255XQ5xRkjv9+O50RT0SeEmnBZmEbVmi1w6WmamPjt8URdzfN7xxgK9Q== +smoldot@1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-1.0.4.tgz#e4c38cedad68d699a11b5b9ce72bb75c891bfd98" + integrity sha512-N3TazI1C4GGrseFH/piWyZCCCRJTRx2QhDfrUKRT4SzILlW5m8ayZ3QTKICcz1C/536T9cbHHJyP7afxI6Mi1A== dependencies: pako "^2.0.4" ws "^8.8.1" @@ -492,10 +496,10 @@ tslib@^2.5.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -tweetnacl@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" - integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== +tslib@^2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.2.tgz#1b6f07185c881557b0ffa84b111a0106989e8338" + integrity sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA== web-streams-polyfill@^3.0.3: version "3.2.1" From 860e2815219dc85458e4897fe3f2f41cf6b6bb50 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 25 May 2023 17:49:22 +0200 Subject: [PATCH 6/7] refactor: improve var naming --- scripts/js/upgrade/index.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/js/upgrade/index.js b/scripts/js/upgrade/index.js index cb1dcd82ad..a1a568d943 100644 --- a/scripts/js/upgrade/index.js +++ b/scripts/js/upgrade/index.js @@ -7,18 +7,18 @@ const exec = util.promisify(require('child_process').exec); // Needs to be >= 34 // 32 bytes from the encoding of the H256 hashed WASM blob // 2 for extra stuff -const AUTHORIZE_UPGRADE_PREIMAGE_LENGTH_BOUND = 34; +const AUTHORIZE_UPGRADE_PREIMAGE_BYTES = 34; // Needs to be >= 84 -// 39 from edemocracy.xternalProposeMajority(Lookup(H256, 34))) +// 39 from democracy.externalProposeMajority(Lookup(H256, 34))) // 42 from democracy.fastTrack(H256, ...) // 1 from utility.batchAll // 2 extra -const COUNCIL_PROPOSAL_LENGTH_BOUND = 90; +const COUNCIL_PROPOSAL_BYTES = 90; // arbitrary numbers -const FAST_TRACK_BLOCKS = 15; -const FAST_TRACK_DELAY = 0; +const FAST_TRACK_VOTE_BLOCKS = 15; +const FAST_TRACK_DELAY_BLOCKS = 0; const MAX_COUNT_DOWN_BLOCKS = 30; -const WAITING_SESSIONS_AFTER_UPGRADE = 3; +const POST_UPGRADE_WAITING_SESSIONS = 3; const run = async () => { let exitCode = 0; @@ -110,11 +110,11 @@ const run = async () => { console.log("Waiting for ValidationFunctionApplied event") await waitUntilEventFound(api, "ValidationFunctionApplied") - console.log(`Waiting for ${WAITING_SESSIONS_AFTER_UPGRADE} NewSession events`) + console.log(`Waiting for ${POST_UPGRADE_WAITING_SESSIONS} NewSession events`) let foundInBlock = 0; - for (let i = 0; i < WAITING_SESSIONS_AFTER_UPGRADE; i++) { + for (let i = 0; i < POST_UPGRADE_WAITING_SESSIONS; i++) { foundInBlock = await waitUntilEventFound(api, "NewSession", foundInBlock + 1) - console.log(`Session ${i + 1}/${WAITING_SESSIONS_AFTER_UPGRADE}`) + console.log(`Session ${i + 1}/${POST_UPGRADE_WAITING_SESSIONS}`) } console.log("Runtime Upgrade succeeded") @@ -212,10 +212,10 @@ async function councilProposeDemocracy(api, alice, preimageHash, nonce) { api.tx.democracy.externalProposeMajority({ Lookup: { hash: preimageHash, - len: AUTHORIZE_UPGRADE_PREIMAGE_LENGTH_BOUND + len: AUTHORIZE_UPGRADE_PREIMAGE_BYTES } }), - api.tx.democracy.fastTrack(preimageHash, FAST_TRACK_BLOCKS, FAST_TRACK_DELAY) + api.tx.democracy.fastTrack(preimageHash, FAST_TRACK_VOTE_BLOCKS, FAST_TRACK_DELAY_BLOCKS) ]; let batchAllDemocracy = api.tx.utility.batchAll(txs) @@ -223,7 +223,7 @@ async function councilProposeDemocracy(api, alice, preimageHash, nonce) { console.log( `--- Submitting extrinsic to propose preimage to council. (nonce: ${nonce}) ---` ); - api.tx.council.propose(3, batchAllDemocracy, COUNCIL_PROPOSAL_LENGTH_BOUND) + api.tx.council.propose(3, batchAllDemocracy, COUNCIL_PROPOSAL_BYTES) .signAndSend(alice, { nonce: nonce, era: 0 }, (result) => { console.log(`Current status is ${result.status}`); if (result.status.isInBlock) { @@ -296,7 +296,7 @@ async function councilCloseProposal(api, account, proposalHash, proposalIndex, n `--- Submitting extrinsic to close council motion. (nonce: ${nonce}) ---` ); - api.tx.council.close(proposalHash, proposalIndex, { refTime: 52865600000, proofSize: 0 }, COUNCIL_PROPOSAL_LENGTH_BOUND) + api.tx.council.close(proposalHash, proposalIndex, { refTime: 52865600000, proofSize: 0 }, COUNCIL_PROPOSAL_BYTES) .signAndSend(account, { nonce: nonce, era: 0 }, (result) => { console.log(`Current status is ${result.status}`); if (result.status.isInBlock) { From bf413adb428b6b71903079086c076ac122924df1 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 25 May 2023 17:51:27 +0200 Subject: [PATCH 7/7] docs: apply suggestion from @NunoAlexandre --- scripts/js/upgrade/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/js/upgrade/index.js b/scripts/js/upgrade/index.js index a1a568d943..7ca8c0181e 100644 --- a/scripts/js/upgrade/index.js +++ b/scripts/js/upgrade/index.js @@ -6,13 +6,13 @@ const exec = util.promisify(require('child_process').exec); // Needs to be >= 34 // 32 bytes from the encoding of the H256 hashed WASM blob -// 2 for extra stuff +// 2 for pallet and extrinsic indices const AUTHORIZE_UPGRADE_PREIMAGE_BYTES = 34; // Needs to be >= 84 // 39 from democracy.externalProposeMajority(Lookup(H256, 34))) // 42 from democracy.fastTrack(H256, ...) // 1 from utility.batchAll -// 2 extra +// 2 for pallet and extrinsic indices const COUNCIL_PROPOSAL_BYTES = 90; // arbitrary numbers const FAST_TRACK_VOTE_BLOCKS = 15;