Skip to content

Commit

Permalink
Support v0.73.0 swap claims (#1006)
Browse files Browse the repository at this point in the history
* Support v0.73.0 swap claims

* reuse height in flush

* wasm vitest support
  • Loading branch information
grod220 authored Apr 29, 2024
1 parent 7d05b12 commit 55f31c9
Show file tree
Hide file tree
Showing 38 changed files with 2,755 additions and 2,796 deletions.
5 changes: 5 additions & 0 deletions .changeset/chatty-walls-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@penumbra-zone/keys': major
---

Support new v0.73.0 keys
5 changes: 5 additions & 0 deletions .changeset/famous-seals-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@penumbra-zone/storage': minor
---

Store sct positions of swaps
5 changes: 5 additions & 0 deletions .changeset/rich-boxes-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@penumbra-zone/query': minor
---

Save sct positions of swaps
2 changes: 1 addition & 1 deletion apps/extension/.env.testnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CHAIN_ID=penumbra-testnet-deimos-6
IDB_VERSION=34
IDB_VERSION=35
MINIFRONT_URL=https://app.testnet.penumbra.zone
PRAX=lkpmkhpnhknhmibgnmmhdhgdilepfghe
6 changes: 3 additions & 3 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
},
"dependencies": {
"@buf/cosmos_ibc.connectrpc_es": "1.4.0-20240327103030-e2006674271c.2",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0",
"@penumbra-labs/registry": "^5.1.0",
Expand Down
8 changes: 4 additions & 4 deletions apps/minifront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"test": "vitest run"
},
"dependencies": {
"@buf/cosmos_ibc.bufbuild_es": "1.8.0-20240327103030-e2006674271c.2",
"@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.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2",
"@bufbuild/protobuf": "^1.9.0",
"@cosmjs/proto-signing": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@cosmos-kit/react": "^2.11.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/node-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"preview": "vite preview"
},
"dependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@buf/tendermint_tendermint.bufbuild_es": "1.8.0-20231117195010-33ed361a9051.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/tendermint_tendermint.bufbuild_es": "1.9.0-20231117195010-33ed361a9051.1",
"@connectrpc/connect-web": "^1.4.0",
"@penumbra-zone/crypto-web": "workspace:*",
"@penumbra-zone/types": "workspace:*",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
"test:rust": "turbo test:rust"
},
"dependencies": {
"@buf/cosmos_ibc.bufbuild_es": "1.8.0-20240327103030-e2006674271c.2",
"@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.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@buf/tendermint_tendermint.bufbuild_es": "1.8.0-20231117195010-33ed361a9051.2",
"@bufbuild/protobuf": "^1.8.0",
"@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/tendermint_tendermint.bufbuild_es": "1.9.0-20231117195010-33ed361a9051.1",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0",
"@penumbra-zone/keys": "workspace:*"
},
"devDependencies": {
"@buf/connectrpc_eliza.bufbuild_es": "1.8.0-20230913231627-233fca715f49.2",
"@buf/connectrpc_eliza.bufbuild_es": "1.9.0-20230913231627-233fca715f49.1",
"@buf/connectrpc_eliza.connectrpc_es": "1.4.0-20230913231627-233fca715f49.2",
"@changesets/cli": "^2.27.1",
"@penumbra-zone/tailwind-config": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/bech32m/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"bech32": "^2.0.0"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1"
}
}
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"@penumbra-zone/types": "workspace:*"
},
"devDependencies": {
"@bufbuild/protobuf": "^1.8.0",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0"
},
"peerDependencies": {
"@bufbuild/protobuf": "^1.8.0",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0"
}
}
8 changes: 4 additions & 4 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
}
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0"
}
}
8 changes: 4 additions & 4 deletions packages/getters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"@penumbra-zone/constants": "workspace:*"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0"
}
}
2 changes: 1 addition & 1 deletion packages/keys/download-keys
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -e

defaultKeysVersion="v0.72.0"
defaultKeysVersion="v0.73.0"

scriptDir=$(dirname "$(readlink -f -- "$0")")
cacheDir="$scriptDir/keys"
Expand Down
7 changes: 0 additions & 7 deletions packages/keys/shasums/v0.70.0.shasum

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions packages/perspective/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"@penumbra-zone/wasm": "workspace:*"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1"
}
}
16 changes: 8 additions & 8 deletions packages/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
"exponential-backoff": "^3.1.1"
},
"devDependencies": {
"@buf/cosmos_ibc.bufbuild_es": "1.8.0-20240327103030-e2006674271c.2",
"@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.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0"
},
"peerDependencies": {
"@buf/cosmos_ibc.bufbuild_es": "1.8.0-20240327103030-e2006674271c.2",
"@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.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/services-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"exponential-backoff": "^3.1.1"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0",
"@penumbra-zone/polyfills": "workspace:*"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0"
}
}
12 changes: 6 additions & 6 deletions packages/services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
"@penumbra-zone/wasm": "workspace:*"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@buf/penumbra-zone_penumbra.connectrpc_es": "1.4.0-20240429125510-24b08e70bbc2.2",
"@bufbuild/protobuf": "^1.9.0",
"@connectrpc/connect": "^1.4.0"
}
}
2 changes: 1 addition & 1 deletion packages/services/src/sct-service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { epochByHeight } from './epoch-by-height';

export type Impl = ServiceImpl<typeof SctService>;

export const sctImpl: Impl = {
export const sctImpl: Omit<Impl, 'anchorByHeight'> = {
epochByHeight,
};
2 changes: 1 addition & 1 deletion packages/services/src/view-service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { witnessAndBuild } from './witness-and-build';

export type Impl = ServiceImpl<typeof ViewService>;

export const viewImpl: Impl = {
export const viewImpl: Omit<Impl, 'auctions'> = {
addressByIndex,
appParameters,
assetMetadataById,
Expand Down
11 changes: 6 additions & 5 deletions packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@
"idb": "^8.0.0"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0",
"@penumbra-zone/polyfills": "workspace:*",
"@penumbra-zone/types": "workspace:*"
"@penumbra-zone/types": "workspace:*",
"@penumbra-zone/wasm": "workspace:*"
},
"peerDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.8.0-20240331004851-c3b058e666bc.2",
"@bufbuild/protobuf": "^1.8.0"
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240429125510-24b08e70bbc2.1",
"@bufbuild/protobuf": "^1.9.0"
}
}
Loading

0 comments on commit 55f31c9

Please sign in to comment.