Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pendingTransactionFlowable non deterministic issue #2125

Open
adkr opened this issue Dec 12, 2024 · 1 comment
Open

pendingTransactionFlowable non deterministic issue #2125

adkr opened this issue Dec 12, 2024 · 1 comment
Labels
bug A bug in behaviour or functionality

Comments

@adkr
Copy link

adkr commented Dec 12, 2024

pendingTransactionFlowable removes '0' in filterId

pendingTransactionFlowable doesn't work randomly due to different filterId used between RPC calls.

Steps To Reproduce

Issue is non deterministic.

Expected behavior

FilterId registered for the purpose of pending transactions monitoring and used in getFilterChanges should be the same.

Actual behavior

FilterId from filter registration and monitoring calls (getFilterChanges) differs.

Environment

  • Web3j version: 4.12.2
  • Java: 21
  • Operating System: Windows

Additional context

web3j-pendingTransactionFlowable
@adkr adkr added the bug A bug in behaviour or functionality label Dec 12, 2024
@adkr
Copy link
Author

adkr commented Jan 14, 2025

Unfortunately, same issue again...
image
It happens in the context of the web3j.pendingTransactionFlowable method call.
Please note that removed "0" in getFilterChanges comparing to a filter id returned at the beginning.

About behavior... Since my first post web3j "just" started working fine after multiple re-runs. Never happened again until today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in behaviour or functionality
Projects
None yet
Development

No branches or pull requests

1 participant