Commit Graph

3226 Commits

Author SHA1 Message Date
Paul Hauner
e954a0ff1d Tidy eth1_chain 2019-12-02 13:40:03 +11:00
Paul Hauner
dd212c6d5d Tidy beacon chain builder 2019-12-02 13:28:33 +11:00
Paul Hauner
ad9855f332 Tidy, ensure head tracker is loaded from disk 2019-12-02 13:26:06 +11:00
Paul Hauner
f041f000d9 Add log to account manager 2019-12-02 13:19:58 +11:00
Paul Hauner
00661c4c97 Tidy account manager 2019-12-02 13:17:55 +11:00
Paul Hauner
a0af4e6bb4 Change hardcoded -> hard_coded 2019-12-02 12:56:31 +11:00
Paul Hauner
e0cb5fb170 Rename Eth2TestnetDir to Eth2TestnetConfig 2019-12-02 12:52:03 +11:00
Paul Hauner
637efccc47 Stop hardcoded testnet dir from creating dir 2019-12-02 11:42:04 +11:00
Paul Hauner
300fe0bf47 Use tempdir for account manager 2019-12-02 10:31:52 +11:00
Paul Hauner
6583191905 Tidy account manager CLI 2019-12-02 10:30:55 +11:00
Paul Hauner
f66b8a1029 Fix broken rest api test 2019-12-01 18:37:15 +11:00
Paul Hauner
543d325d86 Update testnet 2019-12-01 17:06:40 +11:00
Paul Hauner
f82ad9732d Merge branch 'master' into eth1-deploy 2019-12-01 13:57:24 +11:00
Paul Hauner
5f8d783776 Specify master branch for CI badge (#653) 2019-12-01 13:08:26 +11:00
Paul Hauner
ae78d99dbb Fix more broken tests 2019-12-01 12:56:56 +11:00
Paul Hauner
d28bd92e2e Tidy sim, fix broken rest_api tests 2019-12-01 12:52:18 +11:00
Paul Hauner
e81f7c11bb Increase log in genesis service, fix todo 2019-12-01 11:48:22 +11:00
Paul Hauner
ef3cabb60e Fix bug with deposit inclusion 2019-12-01 11:36:03 +11:00
Paul Hauner
54e41db24f Update beacon_chain_sim 2019-12-01 10:38:50 +11:00
Paul Hauner
9226e47bf5 Move files about in beacon sim 2019-11-30 21:10:12 +11:00
Paul Hauner
f5193f299b Refactor beacon_chain_sim 2019-11-30 21:02:17 +11:00
Paul Hauner
0af100641c Merge branch 'master' into eth1-deploy 2019-11-30 17:50:03 +11:00
Age Manning
e025217185 Correct ENR update and log formatting (#651) 2019-11-30 17:49:45 +11:00
Paul Hauner
830b99b78b Merge branch 'master' into eth1-deploy 2019-11-30 17:49:41 +11:00
Paul Hauner
e523ee84e3 Ensure boot_enr.yaml is include in binary 2019-11-30 14:32:59 +11:00
Paul Hauner
8d8a711796 Ensure chain is finalized b4 persistence tests 2019-11-30 14:06:49 +11:00
Paul Hauner
da39d6e9d6 Extend BeaconChain persistence testing 2019-11-30 13:57:44 +11:00
Paul Hauner
a2d071e681 Add tests for BeaconChain persistence + fix bugs 2019-11-30 13:33:07 +11:00
Age Manning
cbe8dd96b2 Clean up network logging and code (#643)
* Apply clippy lints to beacon node

* Remove unnecessary logging and correct formatting

* Apply reviewers suggestions
2019-11-29 22:25:36 +11:00
Paul Hauner
10929e8255 Update hardcoded testnet 2019-11-29 18:02:05 +11:00
Paul Hauner
91cf782f8f Add the /beacon/heads API endpoint 2019-11-29 17:27:08 +11:00
Paul Hauner
57dfd2c898 Merge remote-tracking branch 'origin/network-clean' into eth1-deploy 2019-11-29 17:09:01 +11:00
Paul Hauner
2537f7c0ca Merge branch 'fork-choice-restore' into eth1-deploy 2019-11-29 17:03:07 +11:00
Paul Hauner
1ba1c671da Shorten slot time for simulator 2019-11-29 17:02:09 +11:00
Paul Hauner
7da8003f45 Add fork choice persistence 2019-11-29 16:45:27 +11:00
Paul Hauner
864955e743 Add HeadTracker struct 2019-11-29 16:14:46 +11:00
Age Manning
1c1b3ff807 Merge in latest master 2019-11-29 13:23:03 +11:00
Pawan Dhananjay
3a05c6f924 Reduced tree encode/decode (#624)
* Fix custom derive macros

* Add `ReducedTreeSsz` to encode/decode `ReducedTree` to/from bytes

* Add test for bytes conversion

* Improve error handling

* Improve conversion functions

* Remove unnecessary modifiers

* Address Paul's review comments
2019-11-29 13:21:31 +11:00
Paul Hauner
0af57475c0 Merge branch 'master' into eth1-deploy 2019-11-29 13:18:29 +11:00
Paul Hauner
3fd482263e Merge branch 'master' into eth1-deploy 2019-11-29 13:17:06 +11:00
Age Manning
a310292712 Updates libp2p to v0.13 (#646) 2019-11-29 13:15:38 +11:00
Age Manning
12e32bd789 RPC Corrections and deadlock fix (#640)
* Correct goodbye handling and fix deadlock

* Correct typo
2019-11-29 13:04:44 +11:00
Age Manning
4cd6178bca Apply reviewers suggestions 2019-11-29 12:21:19 +11:00
Age Manning
1259883de6 Correct and consolidate RPC protocol names (#645) 2019-11-29 11:20:36 +11:00
Paul Hauner
b446d4eba7 Add check to see if testnet dir exists 2019-11-29 10:59:37 +11:00
Paul Hauner
e277996b16 Tidy account manager CLI, add logging 2019-11-29 10:39:40 +11:00
Paul Hauner
e9bb716fda Set default libp2p address 2019-11-29 09:53:31 +11:00
Paul Hauner
f43fe4d123 Remove ---/n from the start of testnet_dir files 2019-11-29 09:20:57 +11:00
Paul Hauner
ed2eaf8d9b Write genesis state as SSZ 2019-11-29 08:39:28 +11:00
Paul Hauner
2fef24d40c Allow testnet dir without boot nodes 2019-11-29 08:39:11 +11:00