Commit Graph

3179 Commits

Author SHA1 Message Date
Paul Hauner
79168b3063 Add refund-deposit-contract to lcli 2019-11-25 15:53:20 +11:00
Paul Hauner
78d82d9193 Validator client refactor (#618)
* Update to spec v0.9.0

* Update to v0.9.1

* Bump spec tags for v0.9.1

* Formatting, fix CI failures

* Resolve accidental KeyPair merge conflict

* Document new BeaconState functions

* Add `validator` changes from `validator-to-rest`

* Add initial (failing) REST api tests

* Fix signature parsing

* Add more tests

* Refactor http router

* Add working tests for publish beacon block

* Add validator duties tests

* Move account_manager under `lighthouse` binary

* Unify logfile handling in `environment` crate.

* Fix incorrect cache drops in `advance_caches`

* Update fork choice for v0.9.1

* Add `deposit_contract` crate

* Add progress on validator onboarding

* Add unfinished attesation code

* Update account manager CLI

* Write eth1 data file as hex string

* Integrate ValidatorDirectory with validator_client

* Move ValidatorDirectory into validator_client

* Clean up some FIXMEs

* Add beacon_chain_sim

* Fix a few docs/logs

* Expand `beacon_chain_sim`

* Fix spec for `beacon_chain_sim

* More testing for api

* Start work on attestation endpoint

* Reject empty attestations

* Allow attestations to genesis block

* Add working tests for `rest_api` validator endpoint

* Remove grpc from beacon_node

* Start heavy refactor of validator client

- Block production is working

* Prune old validator client files

* Start works on attestation service

* Add attestation service to validator client

* Use full pubkey for validator directories

* Add validator duties post endpoint

* Use par_iter for keypair generation

* Use bulk duties request in validator client

* Add version http endpoint tests

* Add interop keys and startup wait

* Ensure a prompt exit

* Add duties pruning

* Fix compile error in beacon node tests

* Add github workflow

* Modify rust.yaml

* Modify gitlab actions

* Add to CI file

* Add sudo to CI npm install

* Move cargo fmt to own job in tests

* Fix cargo fmt in CI

* Add rustup update before cargo fmt

* Change name of CI job

* Make other CI jobs require cargo fmt

* Add CI badge

* Remove gitlab and travis files

* Add different http timeout for debug

* Update docker file, use makefile in CI

* Use make in the dockerfile, skip the test

* Use the makefile for debug GI test

* Update book

* Tidy grpc and misc things

* Apply discv5 fixes

* Address other minor issues

* Fix warnings

* Attempt fix for addr parsing

* Tidy validator config, CLIs

* Tidy comments

* Tidy signing, reduce ForkService duplication

* Fail if skipping too many slots

* Set default recent genesis time to 0

* Add custom http timeout to validator

* Fix compile bug in node_test_rig

* Remove old bootstrap flag from val CLI

* Update docs

* Tidy val client

* Change val client log levels

* Add comments, more validity checks

* Fix compile error, add comments

* Undo changes to eth2-libp2p/src

* Reduce duplication of keypair generation

* Add more logging for validator duties

* Fix beacon_chain_sim, nitpicks

* Fix compile error, minor nits

* Address Michael's comments
2019-11-25 15:48:24 +11:00
Paul Hauner
0d22990056 Merge branch 'kill-grpc' into eth1-deploy 2019-11-25 15:18:47 +11:00
Paul Hauner
65cbf601ae Address Michael's comments 2019-11-25 15:11:27 +11:00
Paul Hauner
713c0a8c10 Fix minor bugs whilst testing 2019-11-25 14:52:09 +11:00
Paul Hauner
73572c32d4 Add password option to lcli deploy command 2019-11-25 13:13:49 +11:00
Paul Hauner
bd8d4818ef Add long names to lcli clap 2019-11-25 12:12:58 +11:00
Paul Hauner
837434dd5f Allow custom deposit amount 2019-11-25 12:02:48 +11:00
Paul Hauner
8347ddda96 Add password option for submitting deposits 2019-11-25 11:38:40 +11:00
Paul Hauner
140a0517a7 Make account manager submit deposits 2019-11-25 10:51:11 +11:00
Paul Hauner
4b15d4f433 Progress with account_manager deposit tools 2019-11-25 09:33:11 +11:00
Paul Hauner
f3d02cf493 Modify bn CLI to parse eth2_testnet_dir 2019-11-24 20:55:07 +11:00
Paul Hauner
7dba4841dc Fix lcli testnet deployer 2019-11-24 19:20:09 +11:00
Paul Hauner
2fdd130f4c Add efforts to automate eth1 testnet deployment 2019-11-24 18:51:37 +11:00
Paul Hauner
ad65d72814 Update to use v0.9.2 version of deposit contract 2019-11-24 16:38:15 +11:00
Paul Hauner
6bf73e2b55 Fix compile error, minor nits 2019-11-24 12:39:41 +11:00
Paul Hauner
24dc9482a9 Fix beacon_chain_sim, nitpicks 2019-11-24 12:23:07 +11:00
Pawan Dhananjay
3ca63cfa83 Fix custom derive macros (#621) 2019-11-24 12:00:49 +11:00
Paul Hauner
936577e567 Add more logging for validator duties 2019-11-24 07:56:52 +11:00
Paul Hauner
07681612d0 Reduce duplication of keypair generation 2019-11-24 07:42:13 +11:00
Paul Hauner
e94c265036 Undo changes to eth2-libp2p/src 2019-11-24 07:01:49 +11:00
Paul Hauner
1c1d86b3ac Fix compile error, add comments 2019-11-23 21:34:45 +11:00
Paul Hauner
811248de77 Add comments, more validity checks 2019-11-23 21:20:04 +11:00
Paul Hauner
1271448637 Change val client log levels 2019-11-23 20:44:43 +11:00
Paul Hauner
7991bbcc22 Tidy val client 2019-11-23 20:42:07 +11:00
Paul Hauner
f62deb7934 Update docs 2019-11-23 20:39:40 +11:00
Paul Hauner
46a3764256 Remove old bootstrap flag from val CLI 2019-11-23 18:18:39 +11:00
Paul Hauner
42f98f146f Fix compile bug in node_test_rig 2019-11-23 18:01:46 +11:00
Paul Hauner
ca46a3086f Add custom http timeout to validator 2019-11-23 18:01:35 +11:00
Paul Hauner
3dfb2ffa03 Set default recent genesis time to 0 2019-11-23 18:01:20 +11:00
Paul Hauner
ef7b641f9e Fail if skipping too many slots 2019-11-23 17:56:45 +11:00
Paul Hauner
f76f97a3fd Tidy signing, reduce ForkService duplication 2019-11-23 17:02:39 +11:00
Paul Hauner
b9967048ea Merge branch 'master' into kill-grpc 2019-11-23 15:55:08 +11:00
Paul Hauner
3516d46074 Tidy comments 2019-11-23 15:53:12 +11:00
Paul Hauner
52e3389a3a Tidy validator config, CLIs 2019-11-23 15:48:41 +11:00
Paul Hauner
68942318a7 Attempt fix for addr parsing 2019-11-23 15:20:29 +11:00
Age Manning
0c1e27ec13 Apply discv5 fixes (#622) 2019-11-23 14:53:16 +11:00
Paul Hauner
466eb0420f Fix warnings 2019-11-23 13:13:29 +11:00
Paul Hauner
3378ce9787 Merge branch 'discv5-fixes' into kill-grpc 2019-11-23 12:43:30 +11:00
Paul Hauner
7109ffa89d Address other minor issues 2019-11-23 12:39:45 +11:00
Age Manning
8650ebcd1f Apply discv5 fixes 2019-11-23 12:34:00 +11:00
Paul Hauner
ef4e12da51 Tidy grpc and misc things 2019-11-23 12:16:41 +11:00
Paul Hauner
9e5a9cefe2 Update book 2019-11-23 12:08:56 +11:00
Paul Hauner
cbf9b94f69 Use the makefile for debug GI test 2019-11-23 11:33:23 +11:00
Paul Hauner
f5f0e281b7 Use make in the dockerfile, skip the test 2019-11-23 10:44:55 +11:00
Paul Hauner
6b0b76edf4 Update docker file, use makefile in CI 2019-11-23 10:14:26 +11:00
Paul Hauner
be7346d3ea Add different http timeout for debug 2019-11-22 19:51:52 +11:00
Paul Hauner
d6c025f111 Remove gitlab and travis files 2019-11-22 18:53:30 +11:00
Paul Hauner
9d30559079 Add CI badge 2019-11-22 18:53:08 +11:00
Paul Hauner
25e5d35a6c Make other CI jobs require cargo fmt 2019-11-22 18:41:07 +11:00