erigon-pulse/consensus
Mark Holt ca3ad096e1
Bor fix rpcdeamon engine initialization (#8390)
This fixes 2 related issues:

* Now that the bor consensus engine is required for queries it can't be
created based on the pretense of a db directory, but must be based on
chain config read from the db. Using the DB presence causes Bor to get
instantiated for non bor chains which breaks.
* At the moment eth_calls on a remote daemon don't check Bor headers
prior to calling the EVM code as it was just using a fake ETHash
instance - which performs ETH header validation only.

The current version is mostly working but needs adapting to perform lazy
initialization of the engine.
2023-10-06 11:58:08 +01:00
..
aura EthereumExecutionService in MockSentry (#8373) 2023-10-05 18:30:19 +02:00
bor Bor fix rpcdeamon engine initialization (#8390) 2023-10-06 11:58:08 +01:00
clique EthereumExecutionService in MockSentry (#8373) 2023-10-05 18:30:19 +02:00
ethash Remove unused metrics and out of date versions (#8109) 2023-09-01 07:13:13 +07:00
merge Verify excessBlobGas (EIP-4844) (#8269) 2023-09-22 11:52:33 +02:00
misc Verify excessBlobGas (EIP-4844) (#8269) 2023-09-22 11:52:33 +02:00
chain_reader.go Add FrozenBlocks function to chainReaders (#7866) 2023-07-10 17:35:27 +01:00
consensus.go Bor fix rpcdeamon engine initialization (#8390) 2023-10-06 11:58:08 +01:00
errors.go Don't mark blocks as bad on transient errors (#8197) 2023-09-17 11:14:36 +02:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00