From cfb181ea42cc73ffd4c1db9f43d84e9ed327a2cb Mon Sep 17 00:00:00 2001 From: classicalliu Date: Wed, 11 Jan 2023 17:57:35 +0800 Subject: [PATCH] fix: `eth_getFilterLogs` should return all matched logs --- packages/api-server/src/methods/modules/eth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-server/src/methods/modules/eth.ts b/packages/api-server/src/methods/modules/eth.ts index 63f775b1..3ee8effe 100644 --- a/packages/api-server/src/methods/modules/eth.ts +++ b/packages/api-server/src/methods/modules/eth.ts @@ -971,7 +971,7 @@ export class Eth { ) { return []; } else { - return await this.getFilterChanges(args); + return await this.getLogs([filter]); } }