From de4f927f20570565bfbfc0c27a7706f983b49c1f Mon Sep 17 00:00:00 2001 From: cby3149 Date: Fri, 1 Nov 2024 11:27:37 -0700 Subject: [PATCH] Fix contract filter --- test/lightbridge.parallel.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lightbridge.parallel.spec.ts b/test/lightbridge.parallel.spec.ts index 83b729c..833a6b3 100644 --- a/test/lightbridge.parallel.spec.ts +++ b/test/lightbridge.parallel.spec.ts @@ -413,6 +413,7 @@ describe('lightbridge parallel', () => { chainId ) const hashUnderTest = bridgeTx.hash + await bridgeTx.wait() await delay(20_000) @@ -424,7 +425,7 @@ describe('lightbridge parallel', () => { const toBlock = 500 // NOTE: Increase this if it suddenly doesn't find events anymore const originEvents = await LightBridgeBNB.queryFilter( - 'AssetReceived', + LightBridgeBNB.filters.AssetReceived(), 0, toBlock )