Skip to content

fix: handle expired filters in event subscriptions to prevent "filter not found" error#2273

Open
Dev10-sys wants to merge 3 commits intoLFDT-web3j:mainfrom
Dev10-sys:fix/filter-not-found-error
Open

fix: handle expired filters in event subscriptions to prevent "filter not found" error#2273
Dev10-sys wants to merge 3 commits intoLFDT-web3j:mainfrom
Dev10-sys:fix/filter-not-found-error

Conversation

@Dev10-sys
Copy link
Copy Markdown
Contributor

Fixes the "filter not found" error in event subscriptions by automatically recreating the filter when it is dropped by the node.

Adds a retry limit to avoid infinite loops and ensures stable behavior during both initialization and polling.

Includes test coverage to verify the recovery logic.

Fixes #1998

… not found' error (LFDT-web3j#1998)

Signed-off-by: Dev10-sys <kalpanagola9897@gmail.com>
… not found' error (LFDT-web3j#1998)

Signed-off-by: Dev10-sys <kalpanagola9897@gmail.com>
… not found' error (LFDT-web3j#1998)

Signed-off-by: Dev10-sys <kalpanagola9897@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter Exception, Invalid request: filter not found

1 participant