From 0665c7b66861f8c0575ed3e2d332fd7d7c9dbfda Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 19 Feb 2025 18:54:06 -0800 Subject: [PATCH 1/3] chore(deps): bump @cosmjs/* --- multichain-testing/package.json | 6 +- multichain-testing/yarn.lock | 167 +++++++++++++++++++++++----- packages/agoric-cli/package.json | 10 +- packages/casting/package.json | 8 +- packages/client-utils/package.json | 4 +- packages/fast-usdc/package.json | 4 +- packages/orchestration/package.json | 4 +- yarn.lock | 113 ++++++++++++++++++- 8 files changed, 271 insertions(+), 45 deletions(-) diff --git a/multichain-testing/package.json b/multichain-testing/package.json index 81a7db66556..22bdeea61d4 100644 --- a/multichain-testing/package.json +++ b/multichain-testing/package.json @@ -19,9 +19,9 @@ "devDependencies": { "@agoric/cosmic-proto": "dev", "@agoric/fast-usdc": "dev", - "@cosmjs/crypto": "^0.32.4", - "@cosmjs/proto-signing": "^0.32.4", - "@cosmjs/stargate": "^0.32.4", + "@cosmjs/crypto": "^0.33.0", + "@cosmjs/proto-signing": "^0.33.0", + "@cosmjs/stargate": "^0.33.0", "@endo/errors": "^1.2.9", "@endo/far": "^1.1.10", "@endo/nat": "^5.0.14", diff --git a/multichain-testing/yarn.lock b/multichain-testing/yarn.lock index 2b68120e075..090cd65d151 100644 --- a/multichain-testing/yarn.lock +++ b/multichain-testing/yarn.lock @@ -62,10 +62,10 @@ __metadata: "@agoric/internal": "npm:^0.3.2" "@agoric/notifier": "npm:^0.6.2" "@agoric/store": "npm:^0.9.2" - "@cosmjs/encoding": "npm:^0.32.3" - "@cosmjs/proto-signing": "npm:^0.32.3" - "@cosmjs/stargate": "npm:^0.32.3" - "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@cosmjs/encoding": "npm:^0.33.0" + "@cosmjs/proto-signing": "npm:^0.33.0" + "@cosmjs/stargate": "npm:^0.33.0" + "@cosmjs/tendermint-rpc": "npm:^0.33.0" "@endo/errors": "npm:^1.2.9" "@endo/far": "npm:^1.1.10" "@endo/init": "npm:^1.1.8" @@ -84,8 +84,8 @@ __metadata: "@agoric/internal": "npm:^0.3.2" "@agoric/smart-wallet": "npm:^0.5.3" "@agoric/vats": "npm:^0.15.1" - "@cosmjs/stargate": "npm:^0.32.3" - "@cosmjs/tendermint-rpc": "npm:^0.32.3" + "@cosmjs/stargate": "npm:^0.33.0" + "@cosmjs/tendermint-rpc": "npm:^0.33.0" "@endo/common": "npm:^1.2.9" "@endo/errors": "npm:^1.2.9" "@endo/marshal": "npm:^1.6.3" @@ -138,8 +138,8 @@ __metadata: "@agoric/vat-data": "npm:^0.5.2" "@agoric/vow": "npm:^0.1.0" "@agoric/zoe": "npm:^0.26.2" - "@cosmjs/proto-signing": "npm:^0.32.4" - "@cosmjs/stargate": "npm:^0.32.4" + "@cosmjs/proto-signing": "npm:^0.33.0" + "@cosmjs/stargate": "npm:^0.33.0" "@endo/base64": "npm:^1.0.9" "@endo/common": "npm:^1.2.9" "@endo/errors": "npm:^1.2.9" @@ -681,6 +681,18 @@ __metadata: languageName: node linkType: hard +"@cosmjs/amino@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/amino@npm:0.33.0" + dependencies: + "@cosmjs/crypto": "npm:^0.33.0" + "@cosmjs/encoding": "npm:^0.33.0" + "@cosmjs/math": "npm:^0.33.0" + "@cosmjs/utils": "npm:^0.33.0" + checksum: 10c0/35a4bc76aeb98b133a79cf015d2aaca7e2412f2fa6821efc0cadcd81a847f472fbdb24b0d3fe6aae06ec65058d3636137d67f55ec72d5311f6c4cef4ddb76d05 + languageName: node + linkType: hard + "@cosmjs/crypto@npm:^0.32.3, @cosmjs/crypto@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/crypto@npm:0.32.4" @@ -696,6 +708,21 @@ __metadata: languageName: node linkType: hard +"@cosmjs/crypto@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/crypto@npm:0.33.0" + dependencies: + "@cosmjs/encoding": "npm:^0.33.0" + "@cosmjs/math": "npm:^0.33.0" + "@cosmjs/utils": "npm:^0.33.0" + "@noble/hashes": "npm:^1" + bn.js: "npm:^5.2.0" + elliptic: "npm:^6.5.4" + libsodium-wrappers-sumo: "npm:^0.7.11" + checksum: 10c0/548006f8d028d5f931fd1fba4f919f2ed1b364cc3134f1c68a996503cf4124b3b0d27cbd7471cbbed2c88d014dffdb0cc61946417cf810f54476f5f62aeee10e + languageName: node + linkType: hard + "@cosmjs/encoding@npm:0.32.3": version: 0.32.3 resolution: "@cosmjs/encoding@npm:0.32.3" @@ -718,6 +745,17 @@ __metadata: languageName: node linkType: hard +"@cosmjs/encoding@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/encoding@npm:0.33.0" + dependencies: + base64-js: "npm:^1.3.0" + bech32: "npm:^1.1.4" + readonly-date: "npm:^1.0.0" + checksum: 10c0/c9586bea69da5b7a4eaa14f98522956bb8847ba6b3465b9f5adcd97ffa0cb25675dd5b8710feaae1a3fcd37c6709483a344fd6dc12689d1955fb83b82c03d59b + languageName: node + linkType: hard + "@cosmjs/json-rpc@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/json-rpc@npm:0.32.4" @@ -728,6 +766,16 @@ __metadata: languageName: node linkType: hard +"@cosmjs/json-rpc@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/json-rpc@npm:0.33.0" + dependencies: + "@cosmjs/stream": "npm:^0.33.0" + xstream: "npm:^11.14.0" + checksum: 10c0/3f38317bc9da31c65a6631b8494843cc6be265e93df65727fc0c4b9121d1847bd2ec19fe1b77ad25df47e7e7160bae4792ecea335e5f4661feb9d43054a8f763 + languageName: node + linkType: hard + "@cosmjs/math@npm:0.32.3": version: 0.32.3 resolution: "@cosmjs/math@npm:0.32.3" @@ -746,6 +794,15 @@ __metadata: languageName: node linkType: hard +"@cosmjs/math@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/math@npm:0.33.0" + dependencies: + bn.js: "npm:^5.2.0" + checksum: 10c0/03cfe1f177ee2f365f559419e60506b193a18e7535bfdf932f2ab10111cd114e96a6df7e8e2686d4fe4942093cc76f5dcf655722cacf0965194d88590a9e0303 + languageName: node + linkType: hard + "@cosmjs/proto-signing@npm:0.32.3": version: 0.32.3 resolution: "@cosmjs/proto-signing@npm:0.32.3" @@ -760,7 +817,7 @@ __metadata: languageName: node linkType: hard -"@cosmjs/proto-signing@npm:^0.32.3, @cosmjs/proto-signing@npm:^0.32.4": +"@cosmjs/proto-signing@npm:^0.32.3": version: 0.32.4 resolution: "@cosmjs/proto-signing@npm:0.32.4" dependencies: @@ -774,6 +831,20 @@ __metadata: languageName: node linkType: hard +"@cosmjs/proto-signing@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/proto-signing@npm:0.33.0" + dependencies: + "@cosmjs/amino": "npm:^0.33.0" + "@cosmjs/crypto": "npm:^0.33.0" + "@cosmjs/encoding": "npm:^0.33.0" + "@cosmjs/math": "npm:^0.33.0" + "@cosmjs/utils": "npm:^0.33.0" + cosmjs-types: "npm:^0.9.0" + checksum: 10c0/7f9ebc676249db180191bd3ffc84481341482c7c6d03c82a6cbd0350bdd17862e2058882044ec68e8d01aa11c600c79c9c11ef5dbdc0bc6382c708cf1d1a12b8 + languageName: node + linkType: hard + "@cosmjs/socket@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/socket@npm:0.32.4" @@ -786,6 +857,18 @@ __metadata: languageName: node linkType: hard +"@cosmjs/socket@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/socket@npm:0.33.0" + dependencies: + "@cosmjs/stream": "npm:^0.33.0" + isomorphic-ws: "npm:^4.0.1" + ws: "npm:^7" + xstream: "npm:^11.14.0" + checksum: 10c0/6d3b135eebe7292e07b4df6d2c0de980cfee9da4377c668d7bbdfa7103fbaefafd14c55db76799312af670a85ee85a61d0dbe06edc5e33780fe9fa17fef7fedf + languageName: node + linkType: hard + "@cosmjs/stargate@npm:0.32.3": version: 0.32.3 resolution: "@cosmjs/stargate@npm:0.32.3" @@ -804,21 +887,19 @@ __metadata: languageName: node linkType: hard -"@cosmjs/stargate@npm:^0.32.3, @cosmjs/stargate@npm:^0.32.4": - version: 0.32.4 - resolution: "@cosmjs/stargate@npm:0.32.4" +"@cosmjs/stargate@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/stargate@npm:0.33.0" dependencies: - "@confio/ics23": "npm:^0.6.8" - "@cosmjs/amino": "npm:^0.32.4" - "@cosmjs/encoding": "npm:^0.32.4" - "@cosmjs/math": "npm:^0.32.4" - "@cosmjs/proto-signing": "npm:^0.32.4" - "@cosmjs/stream": "npm:^0.32.4" - "@cosmjs/tendermint-rpc": "npm:^0.32.4" - "@cosmjs/utils": "npm:^0.32.4" + "@cosmjs/amino": "npm:^0.33.0" + "@cosmjs/encoding": "npm:^0.33.0" + "@cosmjs/math": "npm:^0.33.0" + "@cosmjs/proto-signing": "npm:^0.33.0" + "@cosmjs/stream": "npm:^0.33.0" + "@cosmjs/tendermint-rpc": "npm:^0.33.0" + "@cosmjs/utils": "npm:^0.33.0" cosmjs-types: "npm:^0.9.0" - xstream: "npm:^11.14.0" - checksum: 10c0/c30a3519516aaa7eae58ba827c80fcf74c7fe7a9d3aa5cc8138c3a2768f5f241f59c2f5cec27e9037b4df12b1c6605b4fac9eadb4de97bd84edddc3a80a02e24 + checksum: 10c0/5f1a93f91a146cfb7c3588271c78ee5102628a8c8948b5df42f5fde7d67cd0610d83bc26654dd535f2af43095a27577e00ea5b8f5cb0aa3f1fdcd4683cc235ab languageName: node linkType: hard @@ -831,7 +912,16 @@ __metadata: languageName: node linkType: hard -"@cosmjs/tendermint-rpc@npm:^0.32.3, @cosmjs/tendermint-rpc@npm:^0.32.4": +"@cosmjs/stream@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/stream@npm:0.33.0" + dependencies: + xstream: "npm:^11.14.0" + checksum: 10c0/707ed2e9846eedb815fe7b56e79ad5a22055600b1be78754374d2613967dd68520773e3253e5dd4a0db4e8a3cd771d090d1c9e820bf9e0dd4fb146b138185198 + languageName: node + linkType: hard + +"@cosmjs/tendermint-rpc@npm:^0.32.3": version: 0.32.4 resolution: "@cosmjs/tendermint-rpc@npm:0.32.4" dependencies: @@ -849,6 +939,24 @@ __metadata: languageName: node linkType: hard +"@cosmjs/tendermint-rpc@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/tendermint-rpc@npm:0.33.0" + dependencies: + "@cosmjs/crypto": "npm:^0.33.0" + "@cosmjs/encoding": "npm:^0.33.0" + "@cosmjs/json-rpc": "npm:^0.33.0" + "@cosmjs/math": "npm:^0.33.0" + "@cosmjs/socket": "npm:^0.33.0" + "@cosmjs/stream": "npm:^0.33.0" + "@cosmjs/utils": "npm:^0.33.0" + axios: "npm:^1.6.0" + readonly-date: "npm:^1.0.0" + xstream: "npm:^11.14.0" + checksum: 10c0/bf6bdfc96659527085cefd5d91a28e6a250b76dd4db00dc5958f1539e17f43240ea340e90322b4029f6101fc2d0ceb93cdc0a7262f8dda48142bc1ae0e85b57c + languageName: node + linkType: hard + "@cosmjs/utils@npm:^0.32.3, @cosmjs/utils@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/utils@npm:0.32.4" @@ -856,6 +964,13 @@ __metadata: languageName: node linkType: hard +"@cosmjs/utils@npm:^0.33.0": + version: 0.33.0 + resolution: "@cosmjs/utils@npm:0.33.0" + checksum: 10c0/9cf4ac04031fcfa4bee8732bdff17d15a5bad76a208fabed3e85d9187f5ff483f9efcf0979751745278c35f4f3537005c9a124598c8e0ed4734524e73f5090a7 + languageName: node + linkType: hard + "@endo/base64@npm:^1.0.9": version: 1.0.9 resolution: "@endo/base64@npm:1.0.9" @@ -4905,9 +5020,9 @@ __metadata: dependencies: "@agoric/cosmic-proto": "npm:dev" "@agoric/fast-usdc": "npm:dev" - "@cosmjs/crypto": "npm:^0.32.4" - "@cosmjs/proto-signing": "npm:^0.32.4" - "@cosmjs/stargate": "npm:^0.32.4" + "@cosmjs/crypto": "npm:^0.33.0" + "@cosmjs/proto-signing": "npm:^0.33.0" + "@cosmjs/stargate": "npm:^0.33.0" "@endo/errors": "npm:^1.2.9" "@endo/far": "npm:^1.1.10" "@endo/nat": "npm:^5.0.14" diff --git a/packages/agoric-cli/package.json b/packages/agoric-cli/package.json index 388359a3649..1e7224213c6 100644 --- a/packages/agoric-cli/package.json +++ b/packages/agoric-cli/package.json @@ -54,11 +54,11 @@ "@agoric/zoe": "^0.26.2", "@agoric/zone": "^0.2.2", "@confio/relayer": "^0.11.3", - "@cosmjs/crypto": "^0.32.3", - "@cosmjs/encoding": "^0.32.3", - "@cosmjs/math": "^0.32.3", - "@cosmjs/proto-signing": "^0.32.3", - "@cosmjs/stargate": "^0.32.3", + "@cosmjs/crypto": "^0.33.0", + "@cosmjs/encoding": "^0.33.0", + "@cosmjs/math": "^0.33.0", + "@cosmjs/proto-signing": "^0.33.0", + "@cosmjs/stargate": "^0.33.0", "@endo/bundle-source": "^3.5.1", "@endo/captp": "^4.4.4", "@endo/compartment-mapper": "^1.5.0", diff --git a/packages/casting/package.json b/packages/casting/package.json index 81215187d53..48a354a7da4 100644 --- a/packages/casting/package.json +++ b/packages/casting/package.json @@ -25,10 +25,10 @@ "@agoric/internal": "^0.3.2", "@agoric/notifier": "^0.6.2", "@agoric/store": "^0.9.2", - "@cosmjs/encoding": "^0.32.3", - "@cosmjs/proto-signing": "^0.32.3", - "@cosmjs/stargate": "^0.32.3", - "@cosmjs/tendermint-rpc": "^0.32.3", + "@cosmjs/encoding": "^0.33.0", + "@cosmjs/proto-signing": "^0.33.0", + "@cosmjs/stargate": "^0.33.0", + "@cosmjs/tendermint-rpc": "^0.33.0", "@endo/errors": "^1.2.9", "@endo/far": "^1.1.10", "@endo/init": "^1.1.8", diff --git a/packages/client-utils/package.json b/packages/client-utils/package.json index ea89b544462..2ade3d30a67 100644 --- a/packages/client-utils/package.json +++ b/packages/client-utils/package.json @@ -32,8 +32,8 @@ "@agoric/internal": "^0.3.2", "@agoric/smart-wallet": "^0.5.3", "@agoric/vats": "^0.15.1", - "@cosmjs/stargate": "^0.32.3", - "@cosmjs/tendermint-rpc": "^0.32.3", + "@cosmjs/stargate": "^0.33.0", + "@cosmjs/tendermint-rpc": "^0.33.0", "@endo/common": "^1.2.9", "@endo/errors": "^1.2.9", "@endo/marshal": "^1.6.3", diff --git a/packages/fast-usdc/package.json b/packages/fast-usdc/package.json index 94997b23c4b..925ce84dbec 100644 --- a/packages/fast-usdc/package.json +++ b/packages/fast-usdc/package.json @@ -43,8 +43,8 @@ "@agoric/vat-data": "^0.5.2", "@agoric/vow": "^0.1.0", "@agoric/zoe": "^0.26.2", - "@cosmjs/proto-signing": "^0.32.4", - "@cosmjs/stargate": "^0.32.4", + "@cosmjs/proto-signing": "^0.33.0", + "@cosmjs/stargate": "^0.33.0", "@endo/base64": "^1.0.9", "@endo/common": "^1.2.9", "@endo/errors": "^1.2.9", diff --git a/packages/orchestration/package.json b/packages/orchestration/package.json index e847077274e..0c1751cff13 100644 --- a/packages/orchestration/package.json +++ b/packages/orchestration/package.json @@ -56,8 +56,8 @@ "devDependencies": { "@agoric/swingset-liveslots": "^0.10.2", "@chain-registry/client": "^1.47.4", - "@cosmjs/amino": "^0.32.3", - "@cosmjs/proto-signing": "^0.32.3", + "@cosmjs/amino": "^0.33.0", + "@cosmjs/proto-signing": "^0.33.0", "@endo/bundle-source": "^3.5.1", "@endo/import-bundle": "^1.3.3", "@endo/ses-ava": "^1.2.9", diff --git a/yarn.lock b/yarn.lock index f6452b76673..fe4ce843809 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1180,6 +1180,16 @@ "@cosmjs/math" "^0.32.4" "@cosmjs/utils" "^0.32.4" +"@cosmjs/amino@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.33.0.tgz#1dade08c359f0cc9926f1f1f2f0a0a69ceb93b9c" + integrity sha512-a4qnWGzuM2IrlkDTFQmU7bDd+wNIzyvfcRIZ43i00ZHvTEtrCcWopT94rIv/Zy6fdgkhQ3HWrsGVlIPDT/ibRw== + dependencies: + "@cosmjs/crypto" "^0.33.0" + "@cosmjs/encoding" "^0.33.0" + "@cosmjs/math" "^0.33.0" + "@cosmjs/utils" "^0.33.0" + "@cosmjs/cosmwasm-stargate@^0.32.1": version "0.32.2" resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.32.2.tgz#32aca8b4c2043cd1bc91cf4d0225b268c166e421" @@ -1209,6 +1219,19 @@ elliptic "^6.5.4" libsodium-wrappers-sumo "^0.7.11" +"@cosmjs/crypto@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.33.0.tgz#98d00cb8a3f6ce763a4aa5870dc62e860ba2e48b" + integrity sha512-kkt06t+cFW2XRGDGUZ0cVf5yoQ2OhZnubwbYbz3QXdyhf1qOXYVPRThfFPsko7dssr+e8Yy4OJKlh5SLA8DXTQ== + dependencies: + "@cosmjs/encoding" "^0.33.0" + "@cosmjs/math" "^0.33.0" + "@cosmjs/utils" "^0.33.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.4" + libsodium-wrappers-sumo "^0.7.11" + "@cosmjs/encoding@0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.3.tgz#e245ff511fe4a0df7ba427b5187aab69e3468e5b" @@ -1227,6 +1250,15 @@ bech32 "^1.1.4" readonly-date "^1.0.0" +"@cosmjs/encoding@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.33.0.tgz#f00031ec43bbd05064d137dfbd9457d2ce45068f" + integrity sha512-9z0g9mM7w5BISVVs8BK1Yp7KSQgNLGz2SBoWYOm4wODB/YcoitODgyRqECcuMZBXtd2sCyy2M1VLs9Z69BPZRQ== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + "@cosmjs/faucet-client@^0.32.1": version "0.32.2" resolved "https://registry.yarnpkg.com/@cosmjs/faucet-client/-/faucet-client-0.32.2.tgz#c48a44102dd7332d377529cdcca661d4ad1bd2cb" @@ -1242,6 +1274,14 @@ "@cosmjs/stream" "^0.32.4" xstream "^11.14.0" +"@cosmjs/json-rpc@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.33.0.tgz#ab04034882e67cb5e9ed91d6d6be8f38558acf4f" + integrity sha512-okXjxnT3zhhuYrA1aIDVD8VHt3syWyrJw3cAY6tMNM53bQcAtLGImueMrEoyv7DtLg5R5Tx5PMrQ7UYnpD8OwQ== + dependencies: + "@cosmjs/stream" "^0.33.0" + xstream "^11.14.0" + "@cosmjs/math@0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.3.tgz#16e4256f4da507b9352327da12ae64056a2ba6c9" @@ -1256,6 +1296,13 @@ dependencies: bn.js "^5.2.0" +"@cosmjs/math@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.33.0.tgz#99fce83fa74640eac147878b9af7f3e109e519ec" + integrity sha512-B2uOgM12iuIhJWzGuAxGwO6zO+cI8Q4z7mVu7HgFrGJJTM1HtPTYgb55oMOuUN0OZ352MEEm5uAt8sA9jZQqbA== + dependencies: + bn.js "^5.2.0" + "@cosmjs/proto-signing@0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz#91ae149b747d18666a6ccc924165b306431f7c0d" @@ -1280,6 +1327,18 @@ "@cosmjs/utils" "^0.32.4" cosmjs-types "^0.9.0" +"@cosmjs/proto-signing@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.33.0.tgz#dd1cab6a642689400f128e4d49e7e5ebc10fec87" + integrity sha512-UHA92d/Siy3wnce/xhU4iagKrs6r8Ruacc0qeHj3mNrtuUH8f70cD7lzzClzI7wvRLcPprOY0YTeEzqGbPeBFw== + dependencies: + "@cosmjs/amino" "^0.33.0" + "@cosmjs/crypto" "^0.33.0" + "@cosmjs/encoding" "^0.33.0" + "@cosmjs/math" "^0.33.0" + "@cosmjs/utils" "^0.33.0" + cosmjs-types "^0.9.0" + "@cosmjs/socket@^0.32.4": version "0.32.4" resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.32.4.tgz#86ab6adf3a442314774c0810b7a7cfcddf4f2082" @@ -1290,6 +1349,16 @@ ws "^7" xstream "^11.14.0" +"@cosmjs/socket@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.33.0.tgz#5f547e01ee6e79a5637bf7c4b4e346fdd60683e4" + integrity sha512-a1eHsqVFmG6N5LR53tAB1Xo4XfsZaFlrYA34yC0GnX5m/cJVEe1wkZxMsWJIW2nfCgj7nAvFK6Gx4qj+ZLeqdw== + dependencies: + "@cosmjs/stream" "^0.33.0" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + "@cosmjs/stargate@0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.3.tgz#5a92b222ada960ebecea72cc9f366370763f4b66" @@ -1306,7 +1375,7 @@ cosmjs-types "^0.9.0" xstream "^11.14.0" -"@cosmjs/stargate@^0.32.1", "@cosmjs/stargate@^0.32.2", "@cosmjs/stargate@^0.32.3", "@cosmjs/stargate@^0.32.4": +"@cosmjs/stargate@^0.32.1", "@cosmjs/stargate@^0.32.2": version "0.32.4" resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.4.tgz#bd0e4d3bf613b629addbf5f875d3d3b50f640af1" integrity sha512-usj08LxBSsPRq9sbpCeVdyLx2guEcOHfJS9mHGCLCXpdAPEIEQEtWLDpEUc0LEhWOx6+k/ChXTc5NpFkdrtGUQ== @@ -1322,6 +1391,20 @@ cosmjs-types "^0.9.0" xstream "^11.14.0" +"@cosmjs/stargate@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.33.0.tgz#21e58c50a462e4ada4d43fbb9bbf2ade46f81543" + integrity sha512-Ti/2RRl+LKTNUrOqj6TpGnTRcbmQ5zD4Ujx/PDNPHEexyuwbz+tMcF8Y1kKPWQ1g4wWxLYO4tKY4Gm0J3c5hWA== + dependencies: + "@cosmjs/amino" "^0.33.0" + "@cosmjs/encoding" "^0.33.0" + "@cosmjs/math" "^0.33.0" + "@cosmjs/proto-signing" "^0.33.0" + "@cosmjs/stream" "^0.33.0" + "@cosmjs/tendermint-rpc" "^0.33.0" + "@cosmjs/utils" "^0.33.0" + cosmjs-types "^0.9.0" + "@cosmjs/stream@^0.32.1", "@cosmjs/stream@^0.32.3", "@cosmjs/stream@^0.32.4": version "0.32.4" resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.32.4.tgz#83e1f2285807467c56d9ea0e1113f79d9fa63802" @@ -1329,6 +1412,13 @@ dependencies: xstream "^11.14.0" +"@cosmjs/stream@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.33.0.tgz#cda894bb0bbe74f95b9b67dc0ce674daf7604497" + integrity sha512-SmsZW9Xzfk2T2MtWzVkit2WUclL7ZQHhiEhJz39EzKQRAdi4xY8nwefZF4VLQVJ0M33QfRCUzFzb+O/gddMQKA== + dependencies: + xstream "^11.14.0" + "@cosmjs/tendermint-rpc@^0.32.1", "@cosmjs/tendermint-rpc@^0.32.2", "@cosmjs/tendermint-rpc@^0.32.3", "@cosmjs/tendermint-rpc@^0.32.4": version "0.32.4" resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.4.tgz#b36f9ec657498e42c97e21bb7368798ef6279752" @@ -1345,11 +1435,32 @@ readonly-date "^1.0.0" xstream "^11.14.0" +"@cosmjs/tendermint-rpc@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.33.0.tgz#96ede702c82e460e43f8fb2ff68e5c37e8cf5a97" + integrity sha512-A5h72fYesFKSjMjB+AMD5thcVVcdfbmWj4atJ1CYmKGyCTCPW8iEIz1ZKR0mUX+gkW6dM1h8flaRj/R14Oc0/A== + dependencies: + "@cosmjs/crypto" "^0.33.0" + "@cosmjs/encoding" "^0.33.0" + "@cosmjs/json-rpc" "^0.33.0" + "@cosmjs/math" "^0.33.0" + "@cosmjs/socket" "^0.33.0" + "@cosmjs/stream" "^0.33.0" + "@cosmjs/utils" "^0.33.0" + axios "^1.6.0" + readonly-date "^1.0.0" + xstream "^11.14.0" + "@cosmjs/utils@^0.32.1", "@cosmjs/utils@^0.32.2", "@cosmjs/utils@^0.32.3", "@cosmjs/utils@^0.32.4": version "0.32.4" resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.4.tgz#a9a717c9fd7b1984d9cefdd0ef6c6f254060c671" integrity sha512-D1Yc+Zy8oL/hkUkFUL/bwxvuDBzRGpc4cF7/SkdhxX4iHpSLgdOuTt1mhCh9+kl6NQREy9t7SYZ6xeW5gFe60w== +"@cosmjs/utils@^0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.33.0.tgz#486cd4d193b05c00d641d373af9af51865d8bd12" + integrity sha512-Y6glwHNlNjcOgwPg8YmNr1PSrNm307EhJVytFt8HmA/G7MRcIA+jIzCL0VlOrWGU4TrAOXvshM+oJZbTIldFRA== + "@cosmology/ast@^1.8.1": version "1.8.1" resolved "https://registry.yarnpkg.com/@cosmology/ast/-/ast-1.8.1.tgz#35a32fc117b007d6f7c9f5dcc82613989d206883" From 3e42df311a2a998243ef35d58ee93b8e7b081ee1 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 19 Feb 2025 07:52:55 -0800 Subject: [PATCH 2/3] chore!: drop support for verified queries --- packages/agoric-cli/src/main.js | 13 ------------- packages/casting/src/follower-cosmjs.js | 13 ++++++++----- packages/casting/src/types.js | 2 +- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/packages/agoric-cli/src/main.js b/packages/agoric-cli/src/main.js index af834f16964..89f3937db3e 100644 --- a/packages/agoric-cli/src/main.js +++ b/packages/agoric-cli/src/main.js @@ -209,19 +209,6 @@ const main = async (progname, rawArgs, powers) => { baseCmd('follow ') .description('follow an Agoric Casting leader') - .option( - '--proof ', - 'set proof mode', - value => { - assert( - ['strict', 'optimistic', 'none'].includes(value), - X`--proof must be one of 'strict', 'optimistic', or 'none'`, - TypeError, - ); - return value; - }, - 'optimistic', - ) .option( '--sleep ', 'sleep between polling (may be fractional)', diff --git a/packages/casting/src/follower-cosmjs.js b/packages/casting/src/follower-cosmjs.js index e04572d649c..c46d73e875f 100644 --- a/packages/casting/src/follower-cosmjs.js +++ b/packages/casting/src/follower-cosmjs.js @@ -92,6 +92,10 @@ const collectSingle = values => { return head[0]; }; +// NB: 'none' is the only value that works. We've left the other cases +// in anticipation of the ecosystem providing JS proofs again. +// See https://github.com/cosmos/cosmjs/issues/1618#issuecomment-2574934505 +// and https://github.com/cosmos/ics23/pull/353?email_source=slack // Coordinate with switch/case of tryGetDataAtHeight. const proofs = ['strict', 'none', 'optimistic']; @@ -110,7 +114,7 @@ export const makeCosmjsFollower = ( const { decode = MAKE_DEFAULT_DECODER(), unserializer = MAKE_DEFAULT_UNSERIALIZER(), - proof = 'optimistic', + proof = 'none', crasher = null, } = options; @@ -217,14 +221,13 @@ export const makeCosmjsFollower = ( }; /** + * @deprecated no longer supported https://github.com/cosmos/cosmjs/pull/1623 * @param {number} [height] * @returns {Promise} */ const getProvenDataAtHeight = async height => { - return retryGetPrefixedData(async (endpoint, storeName, storeSubkey) => { - const queryClient = await provideQueryClient(endpoint); - return E(queryClient).queryStoreVerified(storeName, storeSubkey, height); - }); + console.error('getProvenDataAtHeight', height, 'is no longer supported'); + throw makeError(X`Verified queries are no longer supported`); }; /** diff --git a/packages/casting/src/types.js b/packages/casting/src/types.js index 017f80ec199..b9eb83c78fe 100644 --- a/packages/casting/src/types.js +++ b/packages/casting/src/types.js @@ -64,7 +64,7 @@ export {}; * @typedef {object} FollowerOptions * @property {null | import('@endo/far').FarRef} [unserializer] * @property {(text: string) => any} [decode] - * @property {'strict'|'optimistic'|'none'} [proof] + * @property {|'none'} [proof] backwards-compatible option that may work again eventually * @property {import('@endo/far').FarRef} [crasher] */ From 7540e4ef4ee3e5a6cd8f87aa6906c9f389009447 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 19 Feb 2025 19:21:59 -0800 Subject: [PATCH 3/3] fixup! chore!: drop support for verified queries --- packages/casting/src/types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/casting/src/types.js b/packages/casting/src/types.js index b9eb83c78fe..017f80ec199 100644 --- a/packages/casting/src/types.js +++ b/packages/casting/src/types.js @@ -64,7 +64,7 @@ export {}; * @typedef {object} FollowerOptions * @property {null | import('@endo/far').FarRef} [unserializer] * @property {(text: string) => any} [decode] - * @property {|'none'} [proof] backwards-compatible option that may work again eventually + * @property {'strict'|'optimistic'|'none'} [proof] * @property {import('@endo/far').FarRef} [crasher] */