Open trader-payne opened 1 month ago
TL;DR: just run these requests against your own Erigon3 Gnosis RPC and see the results fail: eth_getLogs:
curl -X POST http://10.120.10.119:9656 -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"address": "0x75df5af045d91108662d8080fd1fefad6aa0bb59", "fromBlock": "0x1228865", "toBlock": "0x1228865", "topics": [["0x415557404d88a0c0b8e3b16967cafffc511213fd9c465c16832ee17ed57d7237", "0xbf06885f40778f5ccfb64497d3f92ce568ddaedb7e2fb4487f72690418cf8e4c", "0x520d2afde79cbd5db58755ac9480f81bc658e5c517fcae7365a3d832590b0183", "0x482515ce3d9494a37ce83f18b72b363449458435fafdd7a53ddea7460fe01b58", "0x27333edb8bdcd40a0ae944fb121b5e2d62ea782683946654a0f5e607a908d578", "0xe194ef610f9150a2db4110b3db5116fd623175dca3528d7ae7046a1042f84fe7"]]}], "id": 205186}'
{"jsonrpc":"2.0","id":205186,"error":{"code":-32000,"message":"fee cap less than block base fee: address 0x19aC7c69e5F1AC95b8d49b30Cbb79e81f1ab0dba, gasFeeCap: 0 baseFee: 8: blockNum=19040357, txNum=108503978, %!s(\u003cnil\u003e)"}}
eth_getTransactionReceipt:
curl -X POST http://10.120.10.119:9656 -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xeed7dd4b7e64dd19a7a2c3f710a7babd3ce3c7888457f1edd677bf5c0e7635a6"], "id": 285}'
{"jsonrpc":"2.0","id":285,"error":{"code":-32000,"message":"getReceipts error: fee cap less than block base fee: address 0xC7b90a1b52d5E28EB3e6ea35E952975467bf9930, gasFeeCap: 0 baseFee: 10"}}
curl -X POST http://10.120.10.119:9656 -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0x4b50e89b65281735a845eb7455898f41b001de761357fa55940ef0768ec42103"], "id": 293}'
{"jsonrpc":"2.0","id":293,"error":{"code":-32000,"message":"getReceipts error: fee cap less than block base fee: address 0x67342Ec1440bFB760Ba9805a7735e0D12Bb9fEc7, gasFeeCap: 0 baseFee: 141015840"}}
System information
Erigon version: erigon version 3.00.0-alpha4-4d3b9054
OS & Version: Ubuntu 2204
Commit hash: 4d3b9054a21772b69b73cddc230930b38b3546c9
Erigon Command (with flags/config):
Consensus Layer: internal CL
Consensus Layer Command (with flags/config): N/A
Chain/Network: gnosis
Expected behaviour
While indexing certain subgraphs, the RPC returns an error, which doesn't happen on Erigon V2.
Actual behaviour
Erigon logs:
Subgraph logs:
Steps to reproduce the behaviour
I have extracted the following requests to the RPC that the graph-node sends, which may help identify the error
The very last request is what produces the actual errors on Erigon's side:
Backtrace