Erigon version: ./erigon --version
erigon version 1.2.14-dev
OS & Version: Linux
Chain/Network: BSC Mannet
Expected behaviour
On BSC Geth, the methods eth_getFinalizedBlock and eth_getFinalizedHeader are supported, but they don't seem to work on Erigon. These methods are needed for syncing an opBNB nodes.
Actual behaviour
curl -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_getFinalizedBlock","params":[],"id":1}' \
http://localhost:8545
{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method eth_getFinalizedBlock does not exist/is not available"}}
curl -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_getFinalizedHeader","params":[],"id":1}' \
http://localhost:8545
{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method eth_getFinalizedHeader does not exist/is not available"}}
Hey currently those methods are only supported by bsc client https://github.com/bnb-chain/bsc as erigon client is not block producer, just archival node
System information
Erigon version:
./erigon --version
erigon version 1.2.14-dev OS & Version: LinuxChain/Network: BSC Mannet
Expected behaviour
On BSC Geth, the methods eth_getFinalizedBlock and eth_getFinalizedHeader are supported, but they don't seem to work on Erigon. These methods are needed for syncing an opBNB nodes.
Actual behaviour
curl -X POST -H "Content-Type: application/json" \ --data '{"jsonrpc":"2.0","method":"eth_getFinalizedBlock","params":[],"id":1}' \ http://localhost:8545 {"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method eth_getFinalizedBlock does not exist/is not available"}} curl -X POST -H "Content-Type: application/json" \ --data '{"jsonrpc":"2.0","method":"eth_getFinalizedHeader","params":[],"id":1}' \ http://localhost:8545 {"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method eth_getFinalizedHeader does not exist/is not available"}}