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

eth_getLogs: invalid argument 0: hex number with leading zero digits #8220

Open
wbt opened this issue Mar 19, 2020 · 12 comments
Open

eth_getLogs: invalid argument 0: hex number with leading zero digits #8220

wbt opened this issue Mar 19, 2020 · 12 comments

Comments

@wbt
Copy link
Contributor

wbt commented Mar 19, 2020

MetaMask's code for polling for events causes a lot of warnings in a Geth node log.

Details: web3/web3.js#3379

@wbt
Copy link
Contributor Author

wbt commented Aug 21, 2020

Whatever used to work for getting events is no longer working for events coming in after the initial set (e.g. if additional events occur), and it appears to be due to this issue. I know that websocket support is definitely not a priority, but are there any plans to address this?

@Gudahtt Gudahtt added Sev2-normal Normal severity; minor loss of service or inconvenience. type-bug needs-reproduction labels Jan 11, 2021
@danjm danjm added the area-api label Sep 24, 2021
@vandan
Copy link

vandan commented Jul 26, 2022

Could be an issue with eth-json-rpc-filters.
Need to reproduce and investigate.

@schiemon
Copy link

schiemon commented Sep 23, 2022

Does anyone know any workaround? I have the same issue meaning I am able to load the initial set of events but fail with warnings (see title) in the rpc-node's console for events that happen later. I am using GoQuorum with Docker.

@wbt
Copy link
Contributor Author

wbt commented Sep 29, 2022

Does anyone know any workaround?

Ignoring the warnings? If you're seeing failures there should be errors somewhere.

@schiemon
Copy link

schiemon commented Sep 29, 2022

Unfortunately, I cannot reproduce the state anymore (it is O.K. now for some reason) but I did not remember seeing any errors in the node's console. I needed a workaround not for the warnings but for my web client who did not receive any events presumably because of this. When I come to this situation again I can give you more context.

@schiemon
Copy link

schiemon commented Oct 7, 2022

In the last days, my colleagues and I repeatedly get this error (err=)

WARN [10-07|13:34:38.661] Served eth_getLogs                       conn=172.16.239.1:61790 reqid=8138132905274248 t="569.75µs"  err="invalid argument 0: hex number with leading zero digits"

I am using [email protected] (via quickstart) and [email protected].

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

@github-actions github-actions bot added the stale issues and PRs marked as stale label Sep 4, 2023
@wbt
Copy link
Contributor Author

wbt commented Oct 9, 2023

I don't think this should be closed without an improvement.

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Oct 9, 2023
Copy link
Contributor

github-actions bot commented Jan 7, 2024

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

@github-actions github-actions bot added the stale issues and PRs marked as stale label Jan 7, 2024
@wbt
Copy link
Contributor Author

wbt commented Jan 18, 2024

I still don't think this should be closed without an improvement.

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Jan 18, 2024
@laddhoffman
Copy link

I've seen this error occur on a fresh instance of a node, until the transaction nonce gets up to 0x10.

@vandan vandan added Sev3-low Low severity; minimal to no impact upon users and removed Sev2-normal Normal severity; minor loss of service or inconvenience. labels May 31, 2024
@vandan
Copy link

vandan commented Aug 23, 2024

@shanejonas Does this look like it may have something to do with padded zeros?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To be fixed
Status: To be fixed
Development

No branches or pull requests

9 participants