nimbus-eth2/scripts
zah 8771e91d53
Support for driving multiple EL nodes from a single Nimbus BN (#4465)
* Support for driving multiple EL nodes from a single Nimbus BN

Full list of changes:

* Eth1Monitor has been renamed to ELManager to match its current
  responsibilities better.

* The ELManager is no longer optional in the code (it won't have
  a nil value under any circumstances).

* The support for subscribing for headers was removed as it only
  worked with WebSockets and contributed significant complexity
  while bringing only a very minor advantage.

* The `--web3-url` parameter has been deprecated in favor of a
  new `--el` parameter. The new parameter has a reasonable default
  value and supports specifying a different JWT for each connection.
  Each connection can also be configured with a different set of
  responsibilities (e.g. download deposits, validate blocks and/or
  produce blocks). On the command-line, these properties can be
  configured through URL properties stored in the #anchor part of
  the URL. In TOML files, they come with a very natural syntax
  (althrough the URL scheme is also supported).

* The previously scattered EL-related state and logic is now moved
  to `eth1_monitor.nim` (this module will be renamed to `el_manager.nim`
  in a follow-up commit). State is assigned properly either to the
  `ELManager` or the to individual `ELConnection` objects where
  appropriate.

  The ELManager executes all Engine API requests against all attached
  EL nodes, in parallel. It compares their results and if there is a
  disagreement regarding the validity of a certain payload, this is
  detected and the beacon node is protected from publishing a block
  with a potential execution layer consensus bug in it.

  The BN provides metrics per EL node for the number of successful or
  failed requests for each type Engine API requests. If an EL node
  goes offline and connectivity is resoted later, we report the
  problem and the remedy in edge-triggered fashion.

* More progress towards implementing Deneb block production in the VC
  and comparing the value of blocks produced by the EL and the builder
  API.

* Adds a Makefile target for the zhejiang testnet
2023-03-05 01:40:21 +00:00
..
package_src after_install: use . not source in bourne shell (#4639) 2023-02-17 14:26:23 +01:00
.gitignore packaging updates (#3974) 2022-08-17 13:26:31 +03:00
bash_utils.sh Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00
clean-devnet-dir.sh Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00
compile_nim_program.sh bumps (#4352) 2022-11-24 20:56:02 +00:00
copyfile.sh New validator client using REST API. (#2651) 2021-07-13 13:15:07 +02:00
depositContract.v.py Fixed deposit/contract 2019-11-07 17:23:06 +00:00
detect_platform.sh Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00
execution_genesis.json.template Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
find_unchanged_consensus_spec_files.sh update URL and document Nim bug blocking further genericizing cleanups (#3483) 2022-03-11 15:03:47 +00:00
geth_binaries.sh Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
geth_vars.sh Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
launch_local_testnet.sh Support for driving multiple EL nodes from a single Nimbus BN (#4465) 2023-03-05 01:40:21 +00:00
mainnet-non-overriden-config.yaml Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
make_dist.sh Include auxiliary tools to nightly builds 2022-08-11 17:57:44 +03:00
make_packages.sh drop dependency on lsb-release script (#4597) 2023-02-06 11:43:24 +01:00
make_prometheus_config.sh Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
makedir.sh scripts: make shebang more portable (#2216) 2021-01-08 11:29:43 +01:00
minimal-non-overriden-config.yaml Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
nimbus_el_vars.sh Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
print_version.nims dist: add version and book (#1965) 2020-11-06 17:26:03 +01:00
repo_paths.sh Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00
rotatelogs-compress.sh Document log rotation (#2327) 2021-02-18 07:57:41 +01:00
run-beacon-node.sh Honor the WEB3_URL env var in the run-node scripts to preserve backward compatibility 2022-07-26 14:04:07 +03:00
run-geth-in-devnet.sh Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00
run-nimbus-in-devnet.sh Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00
run-nimbus.sh Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
run_fuzzing_test.nims Add a fuzzing test for the beacon node CLI parser 2020-10-02 12:42:32 +03:00
run_ssz_fuzzing_test.nims test fixture cleanups (#2976) 2021-10-12 13:36:52 +02:00
setup_scenarios.sh /bin/bash -> /usr/bin/env bash (needed on NixOS) 2021-11-15 15:45:01 +02:00
slowlogs.py script for finding slow logs 2021-03-30 09:39:16 +02:00
start_geth_nodes.sh launch_local_testnet.sh: fix terminating Geth (#4684) 2023-03-01 18:27:55 +02:00
start_nimbus_el_nodes.sh Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
test_merge_node.nim Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
time_module_builds.sh simple script to time module compilations (#3414) 2022-02-18 10:52:01 +00:00
tmuxinator-el-cl-pair-in-devnet.yml Working Makefile targets for Capella devnet2 (#4494) 2023-01-13 12:21:58 +02:00