We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a7b09 commit cce9d9cCopy full SHA for cce9d9c
typescript/src/ethereum.ts
@@ -772,6 +772,12 @@ export class Bridge
772
options?: GetEvents.Options,
773
...filterArgs: Array<unknown>
774
): Promise<RedemptionRequestedEvent[]> {
775
+ // FIXME: Filtering by indexed walletPubKeyHash field may not work
776
+ // until https://github.com/ethers-io/ethers.js/pull/4244 is
777
+ // included in the currently used version of ethers.js.
778
+ // Ultimately, we should upgrade ethers.js to include that fix.
779
+ // Short-term, we can workaround the problem as presented in:
780
+ // https://github.com/threshold-network/token-dashboard/blob/main/src/threshold-ts/tbtc/index.ts#L1041C1-L1093C1
781
const events: EthersEvent[] = await this.getEvents(
782
"RedemptionRequested",
783
options,
0 commit comments