nimbus-eth2/scripts
Eugene Kabanov 3b6f4fab4a
New validator client using REST API. (#2651)
* Initial commit.

* Exporting getConfig().

* Add beacon node checking procedures.

* Post rebase fixes.

* Use runSlotLoop() from nimbus_beacon_node.
Fallback implementation.
Fixes for ETH2 REST serialization.

* Add beacon_clock.durationToNextSlot().
Move type declarations from beacon_rest_api to json_rest_serialization.
Fix seq[ValidatorIndex] serialization.
Refactor ValidatorPool and add some utility procedures.
Create separate version of validator_client.

* Post-rebase fixes.
Remove CookedPubKey from validator_pool.nim.

* Now we should be able to produce attestations and aggregate and proofs.
But its not working yet.

* Debugging attestation sending.

* Add durationToNextAttestation.
Optimize some debug logs.
Fix aggregation_bits encoding.
Bump chronos/presto.

* Its alive.

* Fixes for launch_local_testnet script.
Bump chronos.

* Switch client API to not use `/api` prefix.

* Post-rebase adjustments.

* Fix endpoint for publishBlock().

* Add CONFIG_NAME.
Add more checks to ensure that beacon_node is compatible.

* Add beacon committee subscription support to validator_client.

* Fix stacktrace should be an array of strings.
Fix committee subscriptions should not be `data` keyed.

* Log duration to next block proposal.

* Fix beacon_node_status import.

* Use jsonMsgResponse() instead of jsonError().

* Fix graffityBytes usage.
Remove unnecessary `await`.
Adjust creation of SignedBlock instance.
Remove legacy files.

* Rework durationToNextSlot() and durationToNextEpoch() to use `fromNow`.

* Fix race condition for block proposal and attestations for same slot.
Fix local_testnet script to properly kill tasks on Windows.
Bump chronos and nim-http-tools, to allow connections to infura.io (basic auth).

* Catch services errors.
Improve performance of local_testnet.sh script on Windows.
Fix race condition when attestation producing.

* Post-rebase fixes.

* Bump chronos and presto.

* Calculate block publishing delay.
Fix pkill in one more place.

* Add error handling and timeouts to firstSuccess() template.
Add onceToAll() template.
Add checkNodes() procedure.
Refactor firstSuccess() template.
Add error checking to api.nim calls.

* Deprecated usage onceToAll() for better stability.
Address comment and send attestations asap.

* Avoid unnecessary loop when calculating minimal duration.
2021-07-13 13:15:07 +02:00
..
compile_nim_program.sh Merge stable into unstable 2021-05-20 13:50:40 +03: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
launch_local_testnet.sh New validator client using REST API. (#2651) 2021-07-13 13:15:07 +02:00
load-testnet-nim-flags.sh run logtrace in finalization CI (#1512) 2020-08-17 08:36:29 +02:00
make_dist.sh Merge stable into unstable 2021-05-20 13:50:40 +03:00
make_prometheus_config.sh scripts: make shebang more portable (#2216) 2021-01-08 11:29:43 +01:00
makedir.sh scripts: make shebang more portable (#2216) 2021-01-08 11:29:43 +01:00
print_version.nims dist: add version and book (#1965) 2020-11-06 17:26:03 +01:00
reset_testnet.sh Remove some unused parameters (part 2) 2021-04-14 21:49:42 +03:00
reset_testnet0.sh Helpful scripts for resetting the testnets 2019-03-19 21:50:22 +02:00
reset_testnet1.sh Helpful scripts for resetting the testnets 2019-03-19 21:50:22 +02:00
rotatelogs-compress.sh Document log rotation (#2327) 2021-02-18 07:57:41 +01:00
run-beacon-node.sh run-beacon-node.sh: handle "--web3-url=..." properly 2021-04-14 16:08:54 +03:00
run-catalyst.sh update ChainDAG.effective_balance() to use StateData; rm ChainDAG.getBlockByPreciseSlot() (#2622) 2021-06-01 12:40:13 +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 last few v1.0.0 spec refs to v1.0.1 (#2404) 2021-03-13 20:51:39 +00:00
setup_official_tests.sh Slashing protection refactor - EIP 3076 (#2094) 2021-02-09 17:23:06 +02:00
slowlogs.py script for finding slow logs 2021-03-30 09:39:16 +02:00
testnet0.env Reduce the number of validators to their older values (before this branch) 2020-06-11 17:40:08 +03:00
testnet1.env Reduce the number of validators to their older values (before this branch) 2020-06-11 17:40:08 +03:00