From aa49e49595e09bc01614e816f0716b839ca8cde3 Mon Sep 17 00:00:00 2001 From: Jesse Pinho Date: Thu, 2 May 2024 15:38:43 -0700 Subject: [PATCH] Update web code to handle latest auction-related Protobuf changes (#1022) * Update packages * Update crates * Handle the new views in viewActionPlan() * Rename file * Rename Dutch auction schedule view component, and update it to work with the View pb * Save metadata for auction NFTs during the planner stage * Make metadata calls concurrent * Use metadata from the view to render values correctly --- apps/extension/package.json | 4 +- apps/minifront/package.json | 4 +- .../src/components/tx-details/index.tsx | 2 +- .../{hash-parser.tsx => tx-viewer.tsx} | 0 apps/node-status/package.json | 4 +- package.json | 4 +- packages/bech32m/package.json | 4 +- packages/constants/package.json | 8 + packages/getters/package.json | 4 +- .../getters/src/dutch-auction-description.ts | 10 ++ packages/perspective/package.json | 5 +- .../perspective/plan/view-action-plan.test.ts | 73 ++++++++ packages/perspective/plan/view-action-plan.ts | 41 ++++- packages/protobuf/package.json | 4 +- packages/query/package.json | 8 +- packages/services-context/package.json | 4 +- packages/services/package.json | 8 +- packages/storage/package.json | 4 +- packages/types/package.json | 8 +- ...=> action-dutch-auction-schedule-view.tsx} | 26 +-- .../ui/components/ui/tx/view/action-view.tsx | 4 +- packages/ui/package.json | 4 +- packages/wasm/crate/Cargo.lock | 88 +++++----- packages/wasm/crate/Cargo.toml | 28 +-- packages/wasm/crate/src/planner.rs | 61 +++++-- packages/wasm/package.json | 4 +- pnpm-lock.yaml | 164 ++++++++++-------- 27 files changed, 378 insertions(+), 200 deletions(-) rename apps/minifront/src/components/tx-details/{hash-parser.tsx => tx-viewer.tsx} (100%) create mode 100644 packages/getters/src/dutch-auction-description.ts rename packages/ui/components/ui/tx/view/{action-dutch-auction-schedule.tsx => action-dutch-auction-schedule-view.tsx} (61%) diff --git a/apps/extension/package.json b/apps/extension/package.json index 237b3bb993..a89e1521d1 100644 --- a/apps/extension/package.json +++ b/apps/extension/package.json @@ -15,8 +15,8 @@ }, "dependencies": { "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0", "@connectrpc/connect-web": "^1.4.0", diff --git a/apps/minifront/package.json b/apps/minifront/package.json index d5ca9c186a..b60663ed69 100644 --- a/apps/minifront/package.json +++ b/apps/minifront/package.json @@ -15,8 +15,8 @@ "dependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@cosmjs/proto-signing": "^0.32.3", "@cosmjs/stargate": "^0.32.3", diff --git a/apps/minifront/src/components/tx-details/index.tsx b/apps/minifront/src/components/tx-details/index.tsx index 89f981c0ba..24e39064c3 100644 --- a/apps/minifront/src/components/tx-details/index.tsx +++ b/apps/minifront/src/components/tx-details/index.tsx @@ -1,6 +1,6 @@ import { Card } from '@penumbra-zone/ui/components/ui/card'; import { FadeTransition } from '@penumbra-zone/ui/components/ui/fade-transition'; -import { TxViewer } from './hash-parser'; +import { TxViewer } from './tx-viewer'; import { EduInfoCard } from '../shared/edu-panels/edu-info-card'; import { EduPanel } from '../shared/edu-panels/content'; import { LoaderFunction, useLoaderData, useRouteError } from 'react-router-dom'; diff --git a/apps/minifront/src/components/tx-details/hash-parser.tsx b/apps/minifront/src/components/tx-details/tx-viewer.tsx similarity index 100% rename from apps/minifront/src/components/tx-details/hash-parser.tsx rename to apps/minifront/src/components/tx-details/tx-viewer.tsx diff --git a/apps/node-status/package.json b/apps/node-status/package.json index d8d5c724f1..b3c91f91f5 100644 --- a/apps/node-status/package.json +++ b/apps/node-status/package.json @@ -12,8 +12,8 @@ "preview": "vite preview" }, "dependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@buf/tendermint_tendermint.bufbuild_es": "1.9.0-20231117195010-33ed361a9051.1", "@connectrpc/connect-web": "^1.4.0", "@penumbra-zone/crypto-web": "workspace:*", diff --git a/package.json b/package.json index b0d85dacd4..d290fb2bf2 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "dependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@buf/tendermint_tendermint.bufbuild_es": "1.9.0-20231117195010-33ed361a9051.1", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0", diff --git a/packages/bech32m/package.json b/packages/bech32m/package.json index 2b29a29bfb..5651f63f11 100644 --- a/packages/bech32m/package.json +++ b/packages/bech32m/package.json @@ -33,9 +33,9 @@ "bech32": "^2.0.0" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1" + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1" + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1" } } diff --git a/packages/constants/package.json b/packages/constants/package.json index b298adc873..bdd8a8f5b0 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -22,5 +22,13 @@ "types": "./dist/index.d.ts" } } + }, + "devDependencies": { + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@bufbuild/protobuf": "^1.9.0" + }, + "peerDependencies": { + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@bufbuild/protobuf": "^1.9.0" } } diff --git a/packages/getters/package.json b/packages/getters/package.json index 5edb11a279..dd44ea5e41 100644 --- a/packages/getters/package.json +++ b/packages/getters/package.json @@ -26,11 +26,11 @@ "@penumbra-zone/constants": "workspace:*" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0" } } diff --git a/packages/getters/src/dutch-auction-description.ts b/packages/getters/src/dutch-auction-description.ts new file mode 100644 index 0000000000..1a0150726d --- /dev/null +++ b/packages/getters/src/dutch-auction-description.ts @@ -0,0 +1,10 @@ +import { DutchAuctionDescription } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/component/auction/v1alpha1/auction_pb'; +import { createGetter } from './utils/create-getter'; + +export const getInputAssetId = createGetter( + (dutchAuctionDescription?: DutchAuctionDescription) => dutchAuctionDescription?.input?.assetId, +); + +export const getOutputAssetId = createGetter( + (dutchAuctionDescription?: DutchAuctionDescription) => dutchAuctionDescription?.outputId, +); diff --git a/packages/perspective/package.json b/packages/perspective/package.json index f9d2febb34..2ed1efbaab 100644 --- a/packages/perspective/package.json +++ b/packages/perspective/package.json @@ -25,13 +25,14 @@ }, "dependencies": { "@penumbra-zone/bech32m": "workspace:*", + "@penumbra-zone/getters": "workspace:*", "@penumbra-zone/types": "workspace:*", "@penumbra-zone/wasm": "workspace:*" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1" + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1" + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1" } } diff --git a/packages/perspective/plan/view-action-plan.test.ts b/packages/perspective/plan/view-action-plan.test.ts index fff0f8c69b..80836db861 100644 --- a/packages/perspective/plan/view-action-plan.test.ts +++ b/packages/perspective/plan/view-action-plan.test.ts @@ -28,6 +28,15 @@ import { } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/component/stake/v1/stake_pb'; import { addressFromBech32m } from '@penumbra-zone/bech32m/penumbra'; import { fullViewingKeyFromBech32m } from '@penumbra-zone/bech32m/penumbrafullviewingkey'; +import { + ActionDutchAuctionSchedule, + ActionDutchAuctionWithdraw, + AuctionId, +} from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/component/auction/v1alpha1/auction_pb'; + +vi.mock('@penumbra-zone/wasm/auction', () => ({ + getAuctionId: () => new AuctionId({ inner: new Uint8Array([0, 1, 2, 3]) }), +})); describe('viewActionPlan()', () => { const addressAsBech32 = @@ -508,6 +517,70 @@ describe('viewActionPlan()', () => { }); }); + describe('`actionDutchAuctionSchedule` action', () => { + test('returns an action view with the appropriate view', async () => { + const schedule = new ActionDutchAuctionSchedule({ + description: { + input: { + amount: { hi: 0n, lo: 1n }, + assetId: {}, + }, + outputId: {}, + }, + }); + const actionPlan = new ActionPlan({ + action: { + case: 'actionDutchAuctionSchedule', + value: schedule, + }, + }); + + const actionView = viewActionPlan(metadataByAssetId, mockFvk)(actionPlan); + + await expect(actionView).resolves.toEqual( + new ActionView({ + actionView: { + case: 'actionDutchAuctionSchedule', + value: { + action: schedule, + auctionId: { inner: new Uint8Array([0, 1, 2, 3]) }, + inputMetadata: metadata, + outputMetadata: metadata, + }, + }, + }), + ); + }); + }); + + describe('`actionDutchAuctionWithdraw` action', () => { + test('returns an action view with the action as-is', async () => { + const withdraw = new ActionDutchAuctionWithdraw({ + auctionId: {}, + seq: 0n, + }); + const actionPlan = new ActionPlan({ + action: { + case: 'actionDutchAuctionWithdraw', + value: withdraw, + }, + }); + + const actionView = viewActionPlan(metadataByAssetId, mockFvk)(actionPlan); + + await expect(actionView).resolves.toEqual( + new ActionView({ + actionView: { + case: 'actionDutchAuctionWithdraw', + value: { + action: withdraw, + }, + }, + }), + ); + }); + }); + describe('all other action cases', () => { test('returns an action view with the case but no value', async () => { const actionPlan = new ActionPlan({ diff --git a/packages/perspective/plan/view-action-plan.ts b/packages/perspective/plan/view-action-plan.ts index 74e9a345bc..95a9b04805 100644 --- a/packages/perspective/plan/view-action-plan.ts +++ b/packages/perspective/plan/view-action-plan.ts @@ -24,6 +24,11 @@ import { SwapView, } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/component/dex/v1/dex_pb'; import { FullViewingKey } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/keys/v1/keys_pb'; +import { getAuctionId } from '@penumbra-zone/wasm/auction'; +import { + getInputAssetId, + getOutputAssetId, +} from '@penumbra-zone/getters/dutch-auction-description'; const getValueView = async ( value: Value | undefined, @@ -250,9 +255,41 @@ export const viewActionPlan = }, }); - case 'actionDutchAuctionSchedule': - case 'actionDutchAuctionEnd': + case 'actionDutchAuctionSchedule': { + const inputAssetId = getInputAssetId.optional()(actionPlan.action.value.description); + const outputAssetId = getOutputAssetId.optional()(actionPlan.action.value.description); + const [inputMetadata, outputMetadata] = await Promise.all([ + inputAssetId ? await denomMetadataByAssetId(inputAssetId) : undefined, + outputAssetId ? await denomMetadataByAssetId(outputAssetId) : undefined, + ]); + + return new ActionView({ + actionView: { + case: 'actionDutchAuctionSchedule', + value: { + action: actionPlan.action.value, + auctionId: actionPlan.action.value.description + ? getAuctionId(actionPlan.action.value.description) + : undefined, + inputMetadata, + outputMetadata, + }, + }, + }); + } + case 'actionDutchAuctionWithdraw': + return new ActionView({ + actionView: { + case: 'actionDutchAuctionWithdraw', + value: { + action: actionPlan.action.value, + /** @todo: Add `reserves` property */ + }, + }, + }); + + case 'actionDutchAuctionEnd': return new ActionView({ actionView: actionPlan.action, }); diff --git a/packages/protobuf/package.json b/packages/protobuf/package.json index d666e3188d..2d36712d55 100644 --- a/packages/protobuf/package.json +++ b/packages/protobuf/package.json @@ -34,8 +34,8 @@ "peerDependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0" } diff --git a/packages/query/package.json b/packages/query/package.json index bf1f9777cc..97712c7b7b 100644 --- a/packages/query/package.json +++ b/packages/query/package.json @@ -24,8 +24,8 @@ "devDependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0", "@connectrpc/connect-web": "^1.4.0" @@ -33,8 +33,8 @@ "peerDependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0", "@connectrpc/connect-web": "^1.4.0" diff --git a/packages/services-context/package.json b/packages/services-context/package.json index c7e80b1184..e7e91b7a07 100644 --- a/packages/services-context/package.json +++ b/packages/services-context/package.json @@ -23,12 +23,12 @@ "exponential-backoff": "^3.1.1" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0", "@penumbra-zone/polyfills": "workspace:*" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0" } } diff --git a/packages/services/package.json b/packages/services/package.json index 3af77a72da..fa95cc2cfc 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -40,14 +40,14 @@ "@penumbra-zone/wasm": "workspace:*" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", - "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0", "@connectrpc/connect": "^1.4.0" } diff --git a/packages/storage/package.json b/packages/storage/package.json index 391066bc41..a40f3b51c8 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -27,14 +27,14 @@ "idb": "^8.0.0" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0", "@penumbra-zone/polyfills": "workspace:*", "@penumbra-zone/types": "workspace:*", "@penumbra-zone/wasm": "workspace:*" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0" } } diff --git a/packages/types/package.json b/packages/types/package.json index e48ff88878..18bec8cb92 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -32,12 +32,16 @@ }, "devDependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0" }, "peerDependencies": { "@buf/cosmos_ibc.bufbuild_es": "1.9.0-20240327103030-e2006674271c.1", - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", + "@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240501193854-ea3cc743390d.2", "@bufbuild/protobuf": "^1.9.0" } } diff --git a/packages/ui/components/ui/tx/view/action-dutch-auction-schedule.tsx b/packages/ui/components/ui/tx/view/action-dutch-auction-schedule-view.tsx similarity index 61% rename from packages/ui/components/ui/tx/view/action-dutch-auction-schedule.tsx rename to packages/ui/components/ui/tx/view/action-dutch-auction-schedule-view.tsx index eae857972d..b378479434 100644 --- a/packages/ui/components/ui/tx/view/action-dutch-auction-schedule.tsx +++ b/packages/ui/components/ui/tx/view/action-dutch-auction-schedule-view.tsx @@ -1,34 +1,32 @@ -import { ActionDutchAuctionSchedule } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/component/auction/v1alpha1/auction_pb'; +import { ActionDutchAuctionScheduleView } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/component/auction/v1alpha1/auction_pb'; import { ViewBox } from './viewbox'; import { ActionDetails } from './action-details'; import { - AssetId, + Metadata, ValueView, } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/asset/v1/asset_pb'; import { ValueViewComponent } from './value'; import { Amount } from '@buf/penumbra-zone_penumbra.bufbuild_es/penumbra/core/num/v1/num_pb'; -const getValueView = (amount?: Amount, assetId?: AssetId) => +const getValueView = (amount?: Amount, metadata?: Metadata) => new ValueView({ valueView: { case: 'knownAssetId', value: { amount, - metadata: { - penumbraAssetId: assetId, - }, + metadata, }, }, }); -export const ActionDutchAuctionScheduleComponent = ({ +export const ActionDutchAuctionScheduleViewComponent = ({ value, }: { - value: ActionDutchAuctionSchedule; + value: ActionDutchAuctionScheduleView; }) => { - const input = getValueView(value.description?.input?.amount, value.description?.input?.assetId); - const maxOutput = getValueView(value.description?.maxOutput, value.description?.outputId); - const minOutput = getValueView(value.description?.minOutput, value.description?.outputId); + const input = getValueView(value.action?.description?.input?.amount, value.inputMetadata); + const maxOutput = getValueView(value.action?.description?.maxOutput, value.outputMetadata); + const minOutput = getValueView(value.action?.description?.minOutput, value.outputMetadata); return ( - Height {value.description?.startHeight.toString()} to{' '} - {value.description?.endHeight.toString()} + Height + {value.action?.description?.startHeight.toString()} + to + {value.action?.description?.endHeight.toString()} } diff --git a/packages/ui/components/ui/tx/view/action-view.tsx b/packages/ui/components/ui/tx/view/action-view.tsx index bb54cf08a7..325b563d77 100644 --- a/packages/ui/components/ui/tx/view/action-view.tsx +++ b/packages/ui/components/ui/tx/view/action-view.tsx @@ -8,7 +8,7 @@ import { UndelegateClaimComponent } from './undelegate-claim'; import { Ics20WithdrawalComponent } from './isc20-withdrawal'; import { UnimplementedView } from './unimplemented-view'; import { SwapViewComponent } from './swap'; -import { ActionDutchAuctionScheduleComponent } from './action-dutch-auction-schedule'; +import { ActionDutchAuctionScheduleViewComponent } from './action-dutch-auction-schedule-view'; const CASE_TO_LABEL: Record = { daoDeposit: 'DAO Deposit', @@ -69,7 +69,7 @@ export const ActionViewComponent = ({ av: { actionView } }: { av: ActionView }) return ; case 'actionDutchAuctionSchedule': - return ; + return ; case 'validatorDefinition': return ; diff --git a/packages/ui/package.json b/packages/ui/package.json index 6b7052fbb8..f7f4200eed 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -52,7 +52,7 @@ "tinycolor2": "^1.6.0" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0", "@storybook/addon-essentials": "^8.0.4", "@storybook/addon-interactions": "^8.0.4", @@ -76,7 +76,7 @@ "tailwindcss": "^3.4.1" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0" } } diff --git a/packages/wasm/crate/Cargo.lock b/packages/wasm/crate/Cargo.lock index dcfb71c940..61b7ba2ddd 100644 --- a/packages/wasm/crate/Cargo.lock +++ b/packages/wasm/crate/Cargo.lock @@ -776,8 +776,8 @@ dependencies = [ [[package]] name = "decaf377-fmd" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "ark-ff", "ark-serialize", @@ -790,8 +790,8 @@ dependencies = [ [[package]] name = "decaf377-ka" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "ark-ff", "decaf377 0.5.0", @@ -2087,8 +2087,8 @@ dependencies = [ [[package]] name = "penumbra-asset" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2125,8 +2125,8 @@ dependencies = [ [[package]] name = "penumbra-auction" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2171,8 +2171,8 @@ dependencies = [ [[package]] name = "penumbra-community-pool" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2201,8 +2201,8 @@ dependencies = [ [[package]] name = "penumbra-compact-block" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2233,8 +2233,8 @@ dependencies = [ [[package]] name = "penumbra-dex" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2285,8 +2285,8 @@ dependencies = [ [[package]] name = "penumbra-distributions" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "async-trait", @@ -2301,8 +2301,8 @@ dependencies = [ [[package]] name = "penumbra-fee" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2324,8 +2324,8 @@ dependencies = [ [[package]] name = "penumbra-funding" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "async-trait", @@ -2343,8 +2343,8 @@ dependencies = [ [[package]] name = "penumbra-governance" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2396,8 +2396,8 @@ dependencies = [ [[package]] name = "penumbra-ibc" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2429,8 +2429,8 @@ dependencies = [ [[package]] name = "penumbra-keys" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "aes", "anyhow", @@ -2473,8 +2473,8 @@ dependencies = [ [[package]] name = "penumbra-num" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2509,8 +2509,8 @@ dependencies = [ [[package]] name = "penumbra-proof-params" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ec", @@ -2535,8 +2535,8 @@ dependencies = [ [[package]] name = "penumbra-proto" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "async-trait", @@ -2562,8 +2562,8 @@ dependencies = [ [[package]] name = "penumbra-sct" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2593,8 +2593,8 @@ dependencies = [ [[package]] name = "penumbra-shielded-pool" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2641,8 +2641,8 @@ dependencies = [ [[package]] name = "penumbra-stake" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2683,8 +2683,8 @@ dependencies = [ [[package]] name = "penumbra-tct" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "ark-ed-on-bls12-377", "ark-ff", @@ -2711,8 +2711,8 @@ dependencies = [ [[package]] name = "penumbra-transaction" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "ark-ff", @@ -2762,8 +2762,8 @@ dependencies = [ [[package]] name = "penumbra-txhash" -version = "0.71.0" -source = "git+https://github.com/penumbra-zone/penumbra.git?rev=c52969b5e#c52969b5ef6e2af83cad9b1670369ba8ae0fcde9" +version = "0.74.0-alpha.1" +source = "git+https://github.com/penumbra-zone/penumbra.git?rev=a500f2c72#a500f2c72206e805a85c9aa7e4b0381901ff6896" dependencies = [ "anyhow", "blake2b_simd 1.0.2", diff --git a/packages/wasm/crate/Cargo.toml b/packages/wasm/crate/Cargo.toml index 3473a59626..c9b3a6ad08 100644 --- a/packages/wasm/crate/Cargo.toml +++ b/packages/wasm/crate/Cargo.toml @@ -17,20 +17,20 @@ mock-database = [] [dependencies] # TODO: Use `tag` instead of `rev` once auctions land in a tagged release of # core. -penumbra-auction = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-auction", default-features = false } -penumbra-asset = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-asset" } -penumbra-compact-block = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-compact-block", default-features = false } -penumbra-dex = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-dex", default-features = false } -penumbra-fee = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-fee", default-features = false } -penumbra-keys = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-keys" } -penumbra-num = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-num" } -penumbra-proof-params = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-proof-params", default-features = false } -penumbra-proto = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-proto", default-features = false } -penumbra-sct = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-sct", default-features = false } -penumbra-shielded-pool = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-shielded-pool", default-features = false } -penumbra-stake = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-stake", default-features = false } -penumbra-tct = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-tct" } -penumbra-transaction = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "c52969b5e", package = "penumbra-transaction", default-features = false } +penumbra-auction = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-auction", default-features = false } +penumbra-asset = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-asset" } +penumbra-compact-block = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-compact-block", default-features = false } +penumbra-dex = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-dex", default-features = false } +penumbra-fee = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-fee", default-features = false } +penumbra-keys = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-keys" } +penumbra-num = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-num" } +penumbra-proof-params = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-proof-params", default-features = false } +penumbra-proto = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-proto", default-features = false } +penumbra-sct = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-sct", default-features = false } +penumbra-shielded-pool = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-shielded-pool", default-features = false } +penumbra-stake = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-stake", default-features = false } +penumbra-tct = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-tct" } +penumbra-transaction = { git = "https://github.com/penumbra-zone/penumbra.git", rev = "a500f2c72", package = "penumbra-transaction", default-features = false } anyhow = "1.0.80" ark-ff = { version = "0.4.2", features = ["std"] } diff --git a/packages/wasm/crate/src/planner.rs b/packages/wasm/crate/src/planner.rs index 69b036dc9f..84fcca8693 100644 --- a/packages/wasm/crate/src/planner.rs +++ b/packages/wasm/crate/src/planner.rs @@ -8,7 +8,7 @@ use penumbra_asset::{asset, Balance, Value}; use penumbra_auction::auction::dutch::{ ActionDutchAuctionEnd, ActionDutchAuctionSchedule, DutchAuctionDescription, }; -use penumbra_auction::auction::AuctionId; +use penumbra_auction::auction::{AuctionId, AuctionNft}; use penumbra_dex::swap_claim::SwapClaimPlan; use penumbra_dex::{ swap::{SwapPlaintext, SwapPlan}, @@ -410,19 +410,27 @@ pub async fn plan_transaction( let mut nonce = [0u8; 32]; OsRng.fill_bytes(&mut nonce); + let description = DutchAuctionDescription { + start_height: description.start_height, + end_height: description.end_height, + step_count: description.step_count, + input, + output_id, + min_output, + max_output, + nonce, + }; + + save_auction_nft_metadata_if_needed( + &description, + &storage, + // When scheduling a Dutch auction, the sequence number is always 0 + 0, + ) + .await?; + actions.push(ActionPlan::ActionDutchAuctionSchedule( - ActionDutchAuctionSchedule { - description: DutchAuctionDescription { - start_height: description.start_height, - end_height: description.end_height, - step_count: description.step_count, - input, - output_id, - min_output, - max_output, - nonce, - }, - }, + ActionDutchAuctionSchedule { description }, )); } @@ -541,15 +549,36 @@ pub async fn plan_transaction( /// When planning an undelegate action, there may not be metadata yet in the /// IndexedDB database for the unbonding token that the transaction will output. /// That's because unbonding tokens are tied to a specific height. If unbonding -/// tokens for a given validator and a given height don't exist yet, we'll -/// generate them here and save them to the database, so that they can render -/// correctly in the transaction approval dialog. +/// token metadata for a given validator and a given height doesn't exist yet, +/// we'll generate it here and save it to the database, so that the undelegate +/// action renders correctly in the transaction approval dialog. async fn save_unbonding_token_metadata_if_needed( undelegate: &Undelegate, storage: &IndexedDBStorage, ) -> WasmResult<()> { let metadata = undelegate.unbonding_token().denom(); + save_metadata_if_needed(metadata, storage).await +} + +/// When planning a Dutch auction schedule action, there will not be metadata +/// yet in the IndexedDB database for the auction NFT that the transaction will +/// output. That's because auction NFTs are derived from the auction description +/// parameters, which include a nonce. So we'll generate the metadata here and +/// save it to the database, so that the action renders correctly in the +/// transaction approval dialog. +async fn save_auction_nft_metadata_if_needed( + description: &DutchAuctionDescription, + storage: &IndexedDBStorage, + seq: u64, +) -> WasmResult<()> { + let nft = AuctionNft::new(description.id(), seq); + let metadata = nft.metadata; + + save_metadata_if_needed(metadata, storage).await +} + +async fn save_metadata_if_needed(metadata: Metadata, storage: &IndexedDBStorage) -> WasmResult<()> { if storage.get_asset(&metadata.id()).await?.is_none() { let metadata_proto = metadata.to_proto(); let customized_metadata_proto = customize_symbol_inner(metadata_proto)?; diff --git a/packages/wasm/package.json b/packages/wasm/package.json index c49f02e4a7..ff7f6ba81f 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -22,7 +22,7 @@ "zod": "^3.22.4" }, "devDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0", "@penumbra-zone/bech32m": "workspace:*", "fake-indexeddb": "^5.0.2" @@ -31,7 +31,7 @@ "@penumbra-zone/keys": "workspace:*" }, "peerDependencies": { - "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1", + "@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1", "@bufbuild/protobuf": "^1.9.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 988ece68e7..c819b844eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,11 +15,11 @@ importers: specifier: 1.4.0-20240327103030-e2006674271c.2 version: 1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/tendermint_tendermint.bufbuild_es': specifier: 1.9.0-20231117195010-33ed361a9051.1 version: 1.9.0-20231117195010-33ed361a9051.1(@bufbuild/protobuf@1.9.0) @@ -166,11 +166,11 @@ importers: specifier: 1.4.0-20240327103030-e2006674271c.2 version: 1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -359,11 +359,11 @@ importers: specifier: 1.4.0-20240327103030-e2006674271c.2 version: 1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -519,11 +519,11 @@ importers: apps/node-status: dependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/tendermint_tendermint.bufbuild_es': specifier: 1.9.0-20231117195010-33ed361a9051.1 version: 1.9.0-20231117195010-33ed361a9051.1(@bufbuild/protobuf@1.9.0) @@ -572,8 +572,8 @@ importers: version: 2.0.0 devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) packages/client: dependencies: @@ -591,7 +591,14 @@ importers: specifier: ^1.4.0 version: 1.4.0(@bufbuild/protobuf@1.9.0) - packages/constants: {} + packages/constants: + devDependencies: + '@buf/penumbra-zone_penumbra.bufbuild_es': + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) + '@bufbuild/protobuf': + specifier: ^1.9.0 + version: 1.9.0 packages/crypto: dependencies: @@ -621,8 +628,8 @@ importers: version: link:../constants devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -634,6 +641,9 @@ importers: '@penumbra-zone/bech32m': specifier: workspace:* version: link:../bech32m + '@penumbra-zone/getters': + specifier: workspace:* + version: link:../getters '@penumbra-zone/types': specifier: workspace:* version: link:../types @@ -642,8 +652,8 @@ importers: version: link:../wasm devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) packages/polyfills: dependencies: @@ -660,11 +670,11 @@ importers: specifier: 1.4.0-20240327103030-e2006674271c.2 version: 1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) devDependencies: '@bufbuild/protobuf': specifier: ^1.9.0 @@ -707,11 +717,11 @@ importers: specifier: 1.4.0-20240327103030-e2006674271c.2 version: 1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -762,11 +772,11 @@ importers: version: link:../wasm devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@buf/penumbra-zone_penumbra.connectrpc_es': - specifier: 1.4.0-20240429125510-24b08e70bbc2.2 - version: 1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -799,8 +809,8 @@ importers: version: 3.1.1 devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -830,8 +840,8 @@ importers: version: 8.0.0 devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -911,9 +921,15 @@ importers: '@buf/cosmos_ibc.bufbuild_es': specifier: 1.9.0-20240327103030-e2006674271c.1 version: 1.9.0-20240327103030-e2006674271c.1(@bufbuild/protobuf@1.9.0) + '@buf/cosmos_ibc.connectrpc_es': + specifier: 1.4.0-20240327103030-e2006674271c.2 + version: 1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) + '@buf/penumbra-zone_penumbra.connectrpc_es': + specifier: 1.4.0-20240501193854-ea3cc743390d.2 + version: 1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -1036,8 +1052,8 @@ importers: version: 1.6.0 devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -1116,8 +1132,8 @@ importers: version: link:../keys devDependencies: '@buf/penumbra-zone_penumbra.bufbuild_es': - specifier: 1.9.0-20240429125510-24b08e70bbc2.1 - version: 1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + specifier: 1.9.0-20240501193854-ea3cc743390d.1 + version: 1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.9.0 @@ -2513,21 +2529,21 @@ packages: dev: true /@buf/cosmos_cosmos-proto.bufbuild_es@1.7.2-20211202220400-1935555c206d.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-proto.bufbuild_es/-/cosmos_cosmos-proto.bufbuild_es-1.7.2-20211202220400-1935555c206d.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-proto.bufbuild_es/-/cosmos_cosmos-proto.bufbuild_es-1.7.2-20211202220400-1935555c206d.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_cosmos-proto.bufbuild_es@1.9.0-20211202220400-1935555c206d.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-proto.bufbuild_es/-/cosmos_cosmos-proto.bufbuild_es-1.9.0-20211202220400-1935555c206d.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-proto.bufbuild_es/-/cosmos_cosmos-proto.bufbuild_es-1.9.0-20211202220400-1935555c206d.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_cosmos-proto.connectrpc_es@1.4.0-20211202220400-1935555c206d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-proto.connectrpc_es/-/cosmos_cosmos-proto.connectrpc_es-1.4.0-20211202220400-1935555c206d.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-proto.connectrpc_es/-/cosmos_cosmos-proto.connectrpc_es-1.4.0-20211202220400-1935555c206d.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2537,7 +2553,7 @@ packages: - '@bufbuild/protobuf' /@buf/cosmos_cosmos-sdk.bufbuild_es@1.7.2-20230522115704-e7a85cef453e.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-sdk.bufbuild_es/-/cosmos_cosmos-sdk.bufbuild_es-1.7.2-20230522115704-e7a85cef453e.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-sdk.bufbuild_es/-/cosmos_cosmos-sdk.bufbuild_es-1.7.2-20230522115704-e7a85cef453e.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: @@ -2557,7 +2573,7 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_cosmos-sdk.bufbuild_es@1.9.0-20230522115704-e7a85cef453e.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-sdk.bufbuild_es/-/cosmos_cosmos-sdk.bufbuild_es-1.9.0-20230522115704-e7a85cef453e.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-sdk.bufbuild_es/-/cosmos_cosmos-sdk.bufbuild_es-1.9.0-20230522115704-e7a85cef453e.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: @@ -2577,7 +2593,7 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_cosmos-sdk.connectrpc_es@1.4.0-20230522115704-e7a85cef453e.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-sdk.connectrpc_es/-/cosmos_cosmos-sdk.connectrpc_es-1.4.0-20230522115704-e7a85cef453e.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_cosmos-sdk.connectrpc_es/-/cosmos_cosmos-sdk.connectrpc_es-1.4.0-20230522115704-e7a85cef453e.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2603,21 +2619,21 @@ packages: - '@bufbuild/protobuf' /@buf/cosmos_gogo-proto.bufbuild_es@1.7.2-20221020125208-34d970b699f8.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.bufbuild_es/-/cosmos_gogo-proto.bufbuild_es-1.7.2-20221020125208-34d970b699f8.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.bufbuild_es/-/cosmos_gogo-proto.bufbuild_es-1.7.2-20221020125208-34d970b699f8.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_gogo-proto.bufbuild_es@1.7.2-20230509103710-5e5b9fdd0180.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.bufbuild_es/-/cosmos_gogo-proto.bufbuild_es-1.7.2-20230509103710-5e5b9fdd0180.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.bufbuild_es/-/cosmos_gogo-proto.bufbuild_es-1.7.2-20230509103710-5e5b9fdd0180.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_gogo-proto.bufbuild_es@1.9.0-20221020125208-34d970b699f8.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.bufbuild_es/-/cosmos_gogo-proto.bufbuild_es-1.9.0-20221020125208-34d970b699f8.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.bufbuild_es/-/cosmos_gogo-proto.bufbuild_es-1.9.0-20221020125208-34d970b699f8.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: @@ -2631,7 +2647,7 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_gogo-proto.connectrpc_es@1.4.0-20221020125208-34d970b699f8.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.connectrpc_es/-/cosmos_gogo-proto.connectrpc_es-1.4.0-20221020125208-34d970b699f8.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_gogo-proto.connectrpc_es/-/cosmos_gogo-proto.connectrpc_es-1.4.0-20221020125208-34d970b699f8.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2651,7 +2667,7 @@ packages: - '@bufbuild/protobuf' /@buf/cosmos_ibc.bufbuild_es@1.7.2-20230913112312-7ab44ae956a0.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.bufbuild_es/-/cosmos_ibc.bufbuild_es-1.7.2-20230913112312-7ab44ae956a0.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.bufbuild_es/-/cosmos_ibc.bufbuild_es-1.7.2-20230913112312-7ab44ae956a0.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: @@ -2675,7 +2691,7 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_ibc.bufbuild_es@1.9.0-20230913112312-7ab44ae956a0.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.bufbuild_es/-/cosmos_ibc.bufbuild_es-1.9.0-20230913112312-7ab44ae956a0.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.bufbuild_es/-/cosmos_ibc.bufbuild_es-1.9.0-20230913112312-7ab44ae956a0.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: @@ -2699,7 +2715,7 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_ibc.connectrpc_es@1.4.0-20230913112312-7ab44ae956a0.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.connectrpc_es/-/cosmos_ibc.connectrpc_es-1.4.0-20230913112312-7ab44ae956a0.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.connectrpc_es/-/cosmos_ibc.connectrpc_es-1.4.0-20230913112312-7ab44ae956a0.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2714,7 +2730,7 @@ packages: - '@bufbuild/protobuf' /@buf/cosmos_ibc.connectrpc_es@1.4.0-20240327103030-e2006674271c.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.connectrpc_es/-/cosmos_ibc.connectrpc_es-1.4.0-20240327103030-e2006674271c.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ibc.connectrpc_es/-/cosmos_ibc.connectrpc_es-1.4.0-20240327103030-e2006674271c.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2729,21 +2745,21 @@ packages: - '@bufbuild/protobuf' /@buf/cosmos_ics23.bufbuild_es@1.7.2-20221207100654-55085f7c710a.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ics23.bufbuild_es/-/cosmos_ics23.bufbuild_es-1.7.2-20221207100654-55085f7c710a.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ics23.bufbuild_es/-/cosmos_ics23.bufbuild_es-1.7.2-20221207100654-55085f7c710a.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_ics23.bufbuild_es@1.9.0-20221207100654-55085f7c710a.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ics23.bufbuild_es/-/cosmos_ics23.bufbuild_es-1.9.0-20221207100654-55085f7c710a.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ics23.bufbuild_es/-/cosmos_ics23.bufbuild_es-1.9.0-20221207100654-55085f7c710a.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/cosmos_ics23.connectrpc_es@1.4.0-20221207100654-55085f7c710a.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ics23.connectrpc_es/-/cosmos_ics23.connectrpc_es-1.4.0-20221207100654-55085f7c710a.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/cosmos_ics23.connectrpc_es/-/cosmos_ics23.connectrpc_es-1.4.0-20221207100654-55085f7c710a.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2760,14 +2776,14 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/googleapis_googleapis.bufbuild_es@1.7.2-20221214150216-75b4300737fb.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.7.2-20221214150216-75b4300737fb.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.7.2-20221214150216-75b4300737fb.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/googleapis_googleapis.bufbuild_es@1.7.2-20230502210827-cc916c318597.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.7.2-20230502210827-cc916c318597.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.7.2-20230502210827-cc916c318597.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: @@ -2781,14 +2797,14 @@ packages: '@bufbuild/protobuf': 1.9.0 /@buf/googleapis_googleapis.bufbuild_es@1.9.0-20221214150216-75b4300737fb.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.9.0-20221214150216-75b4300737fb.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.9.0-20221214150216-75b4300737fb.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: '@bufbuild/protobuf': 1.9.0 /@buf/googleapis_googleapis.bufbuild_es@1.9.0-20230502210827-cc916c318597.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.9.0-20230502210827-cc916c318597.1.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.bufbuild_es/-/googleapis_googleapis.bufbuild_es-1.9.0-20230502210827-cc916c318597.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: @@ -2805,7 +2821,7 @@ packages: - '@bufbuild/protobuf' /@buf/googleapis_googleapis.connectrpc_es@1.4.0-20221214150216-75b4300737fb.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.connectrpc_es/-/googleapis_googleapis.connectrpc_es-1.4.0-20221214150216-75b4300737fb.2.tgz} + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/googleapis_googleapis.connectrpc_es/-/googleapis_googleapis.connectrpc_es-1.4.0-20221214150216-75b4300737fb.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2824,8 +2840,8 @@ packages: transitivePeerDependencies: - '@bufbuild/protobuf' - /@buf/penumbra-zone_penumbra.bufbuild_es@1.7.2-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/penumbra-zone_penumbra.bufbuild_es/-/penumbra-zone_penumbra.bufbuild_es-1.7.2-20240429125510-24b08e70bbc2.1.tgz} + /@buf/penumbra-zone_penumbra.bufbuild_es@1.7.2-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0): + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/penumbra-zone_penumbra.bufbuild_es/-/penumbra-zone_penumbra.bufbuild_es-1.7.2-20240501193854-ea3cc743390d.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.7.2 dependencies: @@ -2837,8 +2853,8 @@ packages: '@buf/googleapis_googleapis.bufbuild_es': 1.7.2-20221214150216-75b4300737fb.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': 1.9.0 - /@buf/penumbra-zone_penumbra.bufbuild_es@1.9.0-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/penumbra-zone_penumbra.bufbuild_es/-/penumbra-zone_penumbra.bufbuild_es-1.9.0-20240429125510-24b08e70bbc2.1.tgz} + /@buf/penumbra-zone_penumbra.bufbuild_es@1.9.0-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0): + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/penumbra-zone_penumbra.bufbuild_es/-/penumbra-zone_penumbra.bufbuild_es-1.9.0-20240501193854-ea3cc743390d.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.9.0 dependencies: @@ -2850,8 +2866,8 @@ packages: '@buf/googleapis_googleapis.bufbuild_es': 1.9.0-20221214150216-75b4300737fb.1(@bufbuild/protobuf@1.9.0) '@bufbuild/protobuf': 1.9.0 - /@buf/penumbra-zone_penumbra.connectrpc_es@1.4.0-20240429125510-24b08e70bbc2.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): - resolution: {registry: https://buf.build/gen/npm/v1/, tarball: https://buf.build/gen/npm/v1/@buf/penumbra-zone_penumbra.connectrpc_es/-/penumbra-zone_penumbra.connectrpc_es-1.4.0-20240429125510-24b08e70bbc2.2.tgz} + /@buf/penumbra-zone_penumbra.connectrpc_es@1.4.0-20240501193854-ea3cc743390d.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0): + resolution: {tarball: https://buf.build/gen/npm/v1/@buf/penumbra-zone_penumbra.connectrpc_es/-/penumbra-zone_penumbra.connectrpc_es-1.4.0-20240501193854-ea3cc743390d.2.tgz} peerDependencies: '@connectrpc/connect': ^1.4.0 dependencies: @@ -2861,7 +2877,7 @@ packages: '@buf/cosmos_ibc.connectrpc_es': 1.4.0-20230913112312-7ab44ae956a0.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/cosmos_ics23.connectrpc_es': 1.4.0-20221207100654-55085f7c710a.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) '@buf/googleapis_googleapis.connectrpc_es': 1.4.0-20221214150216-75b4300737fb.2(@bufbuild/protobuf@1.9.0)(@connectrpc/connect@1.4.0) - '@buf/penumbra-zone_penumbra.bufbuild_es': 1.7.2-20240429125510-24b08e70bbc2.1(@bufbuild/protobuf@1.9.0) + '@buf/penumbra-zone_penumbra.bufbuild_es': 1.7.2-20240501193854-ea3cc743390d.1(@bufbuild/protobuf@1.9.0) '@connectrpc/connect': 1.4.0(@bufbuild/protobuf@1.9.0) transitivePeerDependencies: - '@bufbuild/protobuf'