Commit Graph

4692 Commits

Author SHA1 Message Date
Paul Hauner
65e0fe2fb0 Fix failing tests 2022-09-22 16:45:58 +10:00
Paul Hauner
06fa52ef5a Improve tests 2022-09-22 16:45:58 +10:00
Paul Hauner
0f5092e262 Fix clippy lint 2022-09-22 16:45:58 +10:00
Paul Hauner
bd00a795cb Remove commented-out code 2022-09-22 16:45:58 +10:00
Paul Hauner
43b16b138d Fix clippy lints 2022-09-22 16:45:58 +10:00
Paul Hauner
d20e65a271 Progress with testing 2022-09-22 16:45:58 +10:00
Paul Hauner
92edb1bf9b Progress more with testing 2022-09-22 16:45:57 +10:00
Paul Hauner
adc87f71e7 Add basic move testing 2022-09-22 16:45:57 +10:00
Paul Hauner
e98a0155bd Progress with move implementation 2022-09-22 16:45:57 +10:00
Paul Hauner
71409e4897 Progress with move command 2022-09-22 16:45:57 +10:00
Paul Hauner
c0e9087c4b Add export endpoint to LH 2022-09-22 16:45:57 +10:00
Paul Hauner
bcbafc07bd Start adding validator move 2022-09-22 16:45:57 +10:00
Paul Hauner
630cb91236 Add import tests 2022-09-22 16:45:57 +10:00
Paul Hauner
5b86fce56b Add tests for validator create 2022-09-22 16:45:56 +10:00
Paul Hauner
4886e27827 Start adding CLI tests 2022-09-22 16:45:56 +10:00
Paul Hauner
1d4e7ba6b8 Add DumpConfigs 2022-09-22 16:45:56 +10:00
Paul Hauner
3bdddb3dd2 Fix warning 2022-09-22 16:45:56 +10:00
Paul Hauner
52e50f5fdc Progress with testing 2022-09-22 16:45:56 +10:00
Paul Hauner
7ed821bbe1 Progress with testing 2022-09-22 16:45:55 +10:00
Paul Hauner
fa6eba911e Start adding import validator testing 2022-09-22 16:45:55 +10:00
Paul Hauner
391ece953f Migrate VC tests to tokio::test 2022-09-22 16:45:55 +10:00
Paul Hauner
2677443586 Fix visibility 2022-09-22 16:45:55 +10:00
Paul Hauner
5e31754caa Expose VC ApiTester via test_utils 2022-09-22 16:45:55 +10:00
Paul Hauner
2873cb858c Tidy directory structure 2022-09-22 16:45:55 +10:00
Paul Hauner
516e4ee71a Add test vectors 2022-09-22 16:45:55 +10:00
Paul Hauner
ed0f354488 Remove keystore json 2022-09-22 16:45:54 +10:00
Paul Hauner
3bab10bb68 Pass test vectors 2022-09-22 16:45:54 +10:00
Paul Hauner
79b5c6f714 Add working test vector generator 2022-09-22 16:45:54 +10:00
Paul Hauner
5edcfb7c2b Start working on test vectors 2022-09-22 16:45:54 +10:00
Paul Hauner
61e0347326 Add testing for create command 2022-09-22 16:45:54 +10:00
Paul Hauner
c27d3dd830 Refactor to use Config struct 2022-09-22 16:45:54 +10:00
Paul Hauner
7b620645d4 Fix deposit log creation 2022-09-22 16:45:53 +10:00
Paul Hauner
3b324fc6c5 Tidy logging 2022-09-22 16:45:53 +10:00
Paul Hauner
b025185438 Avoid pulling env into blocking context 2022-09-22 16:45:53 +10:00
Paul Hauner
0cc72bc768 Fix mistake in command name 2022-09-22 16:45:53 +10:00
Paul Hauner
709598f096 Link validator_manager into Lighthouse binary 2022-09-22 16:45:53 +10:00
Paul Hauner
ce7f29d0d9 Appease clippy 2022-09-22 16:45:53 +10:00
Paul Hauner
85d0843857 Add function to check against beacon node 2022-09-22 16:45:53 +10:00
Paul Hauner
fec2969cd2 Remove old command 2022-09-22 16:45:52 +10:00
Paul Hauner
e463518df6 Start refactoring into separate commands 2022-09-22 16:45:52 +10:00
Paul Hauner
e25526ea2a Add progress 2022-09-22 16:45:52 +10:00
Paul Hauner
ff3a025f7e Add progress 2022-09-22 16:45:52 +10:00
Paul Hauner
1984c6bcbe Add initial progress 2022-09-22 16:45:52 +10:00
Paul Hauner
66e24e27f3 Add changes to test.py 2022-09-22 16:45:52 +10:00
Paul Hauner
ec339513c5 Add incomplete test script 2022-09-22 16:45:52 +10:00
Paul Hauner
e3b20209e3 Revert "Add deposit data to recover function"
This reverts commit 0e335bd11ef32412ef9802bbbb9a2ccdda148b45.
2022-09-22 16:45:51 +10:00
Paul Hauner
5af83be8b8 Add deposit data to recover function 2022-09-22 16:45:51 +10:00
Paul Hauner
9503e338b5 Add JSON deposit data to create 2022-09-22 16:45:46 +10:00
Paul Hauner
96692b8e43 Impl oneshot_broadcast for committee promises (#3595)
## Issue Addressed

NA

## Proposed Changes

Fixes an issue introduced in #3574 where I erroneously assumed that a `crossbeam_channel` multiple receiver queue was a *broadcast* queue. This is incorrect, each message will be received by *only one* receiver. The effect of this mistake is these logs:

```
Sep 20 06:56:17.001 INFO Synced                                  slot: 4736079, block: 0xaa8a…180d, epoch: 148002, finalized_epoch: 148000, finalized_root: 0x2775…47f2, exec_hash: 0x2ca5…ffde (verified), peers: 6, service: slot_notifier
Sep 20 06:56:23.237 ERRO Unable to validate attestation          error: CommitteeCacheWait(RecvError), peer_id: 16Uiu2HAm2Jnnj8868tb7hCta1rmkXUf5YjqUH1YPj35DCwNyeEzs, type: "aggregated", slot: Slot(4736047), beacon_block_root: 0x88d318534b1010e0ebd79aed60b6b6da1d70357d72b271c01adf55c2b46206c1
```

## Additional Info

NA
2022-09-21 01:01:50 +00:00
Paul Hauner
a95bcba2ab Avoid holding write-lock whilst waiting on shuffling cache promise (#3589)
## Issue Addressed

NA

## Proposed Changes

Fixes a bug which hogged the write-lock for the `shuffling_cache`.

## Additional Info

NA
2022-09-19 07:58:50 +00:00