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

txpool_status response from Nethermind isn't parsed correctly because it doesn't return 0x values #94

Open
SeaMonkey82 opened this issue Nov 13, 2023 · 1 comment

Comments

@SeaMonkey82
Copy link

Nov 12 22:16:49 ns1 ethereum-metrics-exporter[92538]: {"component":"exporter","exporter":"execution","level":"error","module":"general","msg":"Failed to get txpool status: json: cannot unmarshal non-string into Go struct field TXPoolStatus.pending of type hexutil.Uint64","time":"2023-11-12T22:16:49-05:00"}

curl 192.168.0.3:8547 -X POST -H "Content-Type: application/json" --data '{"jsonrpc": "2.0","id": 0,"method": "txpool_status","params": []}'

{"jsonrpc":"2.0","result":{"pending":2048,"queued":0},"id":0}%
@washosk
Copy link

washosk commented Nov 18, 2023

+1 Over here

Nov 18 11:47:50 ethereumonarm-rock5b-88b453ff7 ethereum-metrics-exporter[2246899]: {"component":"exporter","exporter":"execution","level":"error","module":"general","msg":"Failed to get txpool status: json: cannot unmarshal non-string into Go struct field TXPoolStatus.pending of type hexutil.Uint64","time":"2023-11-18T11:47:50Z"}

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

No branches or pull requests

2 participants