erigon-pulse/consensus/bor
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
..
abi Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
clerk Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
contract Simplifications for bor tx code (#7889) 2023-07-14 08:49:10 +01:00
heimdall Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
heimdallgrpc Devnet contract utils (#7928) 2023-07-28 14:03:32 +01:00
statefull State sync transactions added to debug_traceBlockByNumber call (#6830) 2023-02-20 08:04:11 +00:00
valset [devnet] Always select first node, fix configuration mess up between nodes (#7863) 2023-07-10 11:37:55 +01:00
api.go lru lib version up (#7695) 2023-06-09 13:46:58 +07:00
bor_test.go Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
bor.go Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
errors.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
fake.go added bor tx indexing with tests (#7826) 2023-07-12 23:31:38 +01:00
genesis_contract_mock.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
genesis.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
heimall.go Devnet contract utils (#7928) 2023-07-28 14:03:32 +01:00
merkle.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
snapshot_test.go Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
snapshot.go [bor] Desambiguate the term checkpoint (#7698) 2023-06-09 22:19:24 +01:00
span_mock.go consensus/bor: use current producers for extra data validation (#7564) 2023-05-24 12:57:31 +07:00
span.go consensus/bor: use current producers for extra data validation (#7564) 2023-05-24 12:57:31 +07:00