erigon-pulse/consensus
Mark Holt cc74e74a60
Devnet contract utils (#7928)
This request is extending the devnet functionality to more fully handle
contract processing by adding support for the following calls:
 * trace_call,
* trace_transaction
* debug_accountAt,
* eth_getCode
* eth_estimateGas
* eth_gasPrice

It also contains an initial rationalization of the devnet subscription
code to use the erigon client code directly rather than using its own
intermediate subscription management.

This is used to implement a general purpose block waiter - which can be
used in any scenario step - rather than being specific to transaction
processing.

This pull also contains an end to end tested sync processor for bor and
associated support services:
* Heimdall (supports sync event transfer)
* Faucet - allows the creation and funding of arbitary test specific
accounts (cross chain)

Notes and Caveats:
 
* Code generation for contracts requires `--evm-version paris`. For
chains which don't support push0 for solc over 0.8.19
* The bor log processing post the application of sync events causes a
panic - this will be the subject of a seperate smaller push as it is not
devnet specific
* The bor code seems to make repeated calls for the same sync events and
also reverts requests - this needs further investigation. This is the
behaviour of the current implementation and may be required - although
it does seem to generate repeat processing - which could be avoided.
2023-07-28 14:03:32 +01:00
..
aura Fix Gnosis sync from scratch (#7890) 2023-07-14 09:15:15 +02:00
bor Devnet contract utils (#7928) 2023-07-28 14:03:32 +01:00
clique EIP-4844: Rename "data gas" to "blob gas" (#7937) 2023-07-28 12:12:05 +02:00
ethash EIP-4844: Rename "data gas" to "blob gas" (#7937) 2023-07-28 12:12:05 +02:00
merge EIP-4844: Rename "data gas" to "blob gas" (#7937) 2023-07-28 12:12:05 +02:00
misc EIP-4844: Rename "data gas" to "blob gas" (#7937) 2023-07-28 12:12:05 +02:00
chain_reader.go Add FrozenBlocks function to chainReaders (#7866) 2023-07-10 17:35:27 +01:00
consensus.go added bor tx indexing with tests (#7826) 2023-07-12 23:31:38 +01:00
errors.go Withdrawals part 1 (#6009) 2022-12-01 09:15:01 +01:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00