ethpandaops/ethereum-metrics-exporter

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

Opened this issue · 1 comments

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}%

+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"}