From 63c2686c999bfc23cd7d20f7475195933726e341 Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Mon, 23 Sep 2024 17:00:42 +0200 Subject: [PATCH] changesets --- .changeset/clean-lions-carry.md | 5 +++++ .changeset/old-emus-perform.md | 5 +++++ .changeset/rotten-starfishes-watch.md | 5 +++++ .changeset/smooth-trains-reflect.md | 5 +++++ .changeset/wise-papayas-lay.md | 5 +++++ packages/query/src/block-processor.ts | 2 -- packages/query/src/helpers/identify-txs.ts | 1 + 7 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .changeset/clean-lions-carry.md create mode 100644 .changeset/old-emus-perform.md create mode 100644 .changeset/rotten-starfishes-watch.md create mode 100644 .changeset/smooth-trains-reflect.md create mode 100644 .changeset/wise-papayas-lay.md diff --git a/.changeset/clean-lions-carry.md b/.changeset/clean-lions-carry.md new file mode 100644 index 0000000000..b72ab37bca --- /dev/null +++ b/.changeset/clean-lions-carry.md @@ -0,0 +1,5 @@ +--- +'@penumbra-zone/protobuf': minor +--- + +Add MsgUpdateClient to typeRegistry diff --git a/.changeset/old-emus-perform.md b/.changeset/old-emus-perform.md new file mode 100644 index 0000000000..2125f50d63 --- /dev/null +++ b/.changeset/old-emus-perform.md @@ -0,0 +1,5 @@ +--- +'@penumbra-zone/bech32m': patch +--- + +Add isCompatAddress() func diff --git a/.changeset/rotten-starfishes-watch.md b/.changeset/rotten-starfishes-watch.md new file mode 100644 index 0000000000..86453bf6f6 --- /dev/null +++ b/.changeset/rotten-starfishes-watch.md @@ -0,0 +1,5 @@ +--- +'@penumbra-zone/wasm': minor +--- + +Add is_controlled_address() support diff --git a/.changeset/smooth-trains-reflect.md b/.changeset/smooth-trains-reflect.md new file mode 100644 index 0000000000..b0560d0661 --- /dev/null +++ b/.changeset/smooth-trains-reflect.md @@ -0,0 +1,5 @@ +--- +'@penumbra-zone/query': minor +--- + +Check for IbcRelays to add to txs diff --git a/.changeset/wise-papayas-lay.md b/.changeset/wise-papayas-lay.md new file mode 100644 index 0000000000..250d2a5207 --- /dev/null +++ b/.changeset/wise-papayas-lay.md @@ -0,0 +1,5 @@ +--- +'@penumbra-zone/types': minor +--- + +Update ViewServerInterface diff --git a/packages/query/src/block-processor.ts b/packages/query/src/block-processor.ts index 5ecdb93d3e..9cf35433d1 100644 --- a/packages/query/src/block-processor.ts +++ b/packages/query/src/block-processor.ts @@ -305,8 +305,6 @@ export class BlockProcessor implements BlockProcessorInterface { // this is a network query const blockTx = await this.querier.app.txsByHeight(compactBlock.height); - // debugger; - // Filter down to transactions & note records in block relevant to user const { relevantTxs, recoveredSourceRecords } = await identifyTransactions( spentNullifiers, diff --git a/packages/query/src/helpers/identify-txs.ts b/packages/query/src/helpers/identify-txs.ts index 4cee3a176a..c6935f1aac 100644 --- a/packages/query/src/helpers/identify-txs.ts +++ b/packages/query/src/helpers/identify-txs.ts @@ -25,6 +25,7 @@ export const parseIntoAddr = (addrStr: string): Address => { return new Address(addressFromBech32m(addrStr)); }; +// Identifies if a tx with a relay action of which the receiver is the user export const hasRelevantIbcRelay = ( tx: Transaction, isControlledAddr: ViewServerInterface['isControlledAddress'],