Michael Sproul
88790e6abe
bls: debugging utils and fake sig fix
...
There was a discrepancy between the is_empty fields of fake signatures during testing, so I've added
a small hack to set the is_empty field of a fake signature based on the byte content.
Alternatively, we could just make it so that any fake signature is defined to be equal to any other.
2019-06-12 15:44:23 +10:00
Michael Sproul
64dca6fba7
committee cache: avoid spurious recomputes
...
Check that the committeee cache matches the absolute epoch for the relative epoch, rather than
always checking the previous epoch.
2019-06-12 15:41:20 +10:00
Michael Sproul
44bccda4b3
epoch proc: set correct active index root
2019-06-12 15:39:48 +10:00
Michael Sproul
c649988189
ef_tests: skipped tests and bls_setting support
2019-06-11 18:06:15 +10:00
Michael Sproul
4024a400c8
ef_tests: sanity block tests
2019-06-11 18:05:44 +10:00
Michael Sproul
6bf6ba337d
bls: as_hex_string for aggregate signatures/pubkeys
2019-06-11 18:00:05 +10:00
Michael Sproul
0eea6fd367
bls: fix imports for fake_crypto
2019-06-11 17:58:03 +10:00
Michael Sproul
b9f0348930
epoch processing: fix inclusion info proposer idx
2019-06-04 17:10:18 +10:00
Michael Sproul
c151e5861e
epoch processing: fix shard delta calculation
2019-06-04 17:10:11 +10:00
Michael Sproul
49e19e2b7d
state_proc: verify sig in process_block_header
2019-06-04 16:37:36 +10:00
Michael Sproul
c05cf6c256
ef_tests: sanity slot tests + block headers
2019-06-04 16:35:33 +10:00
Michael Sproul
cf62ea090b
ef_test v0.6.3
2019-06-04 12:12:14 +10:00
Michael Sproul
5020028bbc
ef_tests: attestation tests
2019-06-04 11:05:35 +10:00
Michael Sproul
10884359af
spec v0.6: check custody bitfield length
2019-06-04 11:04:53 +10:00
Michael Sproul
a3a941efdf
Merge remote-tracking branch 'origin/master' into v0.6.1
2019-06-03 16:31:34 +10:00
Michael Sproul
6bde64bd6a
spec v0.6: update beacon_node, validator_client
2019-06-03 16:13:51 +10:00
Paul Hauner
b5d8c86fcb
Merge pull request #393 from sigp/bls-v0.9.0
...
Update BLS library
2019-06-03 15:58:49 +10:00
Michael Sproul
7fbcdd54d7
op_pool: update for v0.6.x
2019-06-03 15:25:06 +10:00
Paul Hauner
10a7936c37
Update BLS library
2019-06-03 13:26:22 +10:00
Paul Hauner
4287891026
Update fork_choice for v0.6.1
2019-06-02 14:14:30 +10:00
Paul Hauner
e310bdd904
Merge branch 'master' into v0.6.1
2019-06-02 13:49:24 +10:00
Michael Sproul
2d943e6792
ef deposit tests: parse bls_setting and skip appropriately
2019-05-29 17:20:43 +10:00
Michael Sproul
83456c6894
fixup: remove some unused variables
2019-05-29 16:36:50 +10:00
Michael Sproul
beacf42aaf
v0.6.2: update test infrastructure
2019-05-29 15:31:34 +10:00
Michael Sproul
37c67117d3
state_processing: remove spurious withdrawal credentials check
2019-05-29 10:56:21 +10:00
Michael Sproul
706f850c9e
ef_tests: runners for epoch processing tests
2019-05-28 16:03:26 +10:00
Michael Sproul
01039546cb
state_processing: sort attester slashing indices
...
This will be "to spec" if eth2.0-specs#1126 is merged
2019-05-27 17:46:05 +10:00
Paul Hauner
9922ed2239
Merge pull request #391 from sigp/http
...
Add iron HTTP server
2019-05-27 17:36:58 +10:00
Paul Hauner
ed4d7aa44a
Replace http_server
unwrap with 500 error
2019-05-27 17:09:16 +10:00
Paul Hauner
4961188f29
Merge pull request #390 from sigp/readme-update
...
Update readme with donation ens
2019-05-27 13:01:33 +10:00
Paul Hauner
3a65f84b12
Improve comments for http_server
2019-05-27 12:56:09 +10:00
Paul Hauner
255590ef3b
Add node/fork
endpoint to HTTP API, tidy
2019-05-27 11:34:22 +10:00
Age Manning
eb83fd48a8
Update readme with donation ens
2019-05-27 10:24:44 +10:00
Paul Hauner
705edf0e45
Remove commented-out code
2019-05-27 09:01:50 +10:00
Paul Hauner
855222fa28
Rename prom HTTP endpoint
2019-05-26 15:59:52 +10:00
Paul Hauner
ee8d13573f
Create BeaconChainTypes
, thread through runtime
2019-05-26 15:59:29 +10:00
Paul Hauner
45e3a1759c
Add slot to prometheus endpoint
2019-05-25 17:57:07 +10:00
Paul Hauner
85211ebccd
Add basic prometheus endpoint
2019-05-25 17:25:21 +10:00
Paul Hauner
596ff5178b
Add http server shutdown, tidy
2019-05-25 16:17:48 +10:00
Paul Hauner
8dd07dd7d2
Add http server to beacon node w/ hello world
2019-05-25 14:31:13 +10:00
Age Manning
30a91b1a64
Merge pull request #388 from mslipper/support_multi_bootnodes
...
Support multiple bootnodes
2019-05-24 14:34:12 +10:00
Paul Hauner
9f170d4df9
Merge pull request #387 from sigp/update-readme
...
Update instructions to install rustup in README
2019-05-24 14:16:59 +10:00
Paul Hauner
f9d48dee68
Use hex encoding for Debug
fmt of PublicKey
2019-05-24 14:08:20 +10:00
Paul Hauner
a92c209787
Rename file in state_processing
2019-05-24 14:08:19 +10:00
Paul Hauner
07931d1f5a
Add (failing) attester_slashing tests
2019-05-24 14:08:19 +10:00
Paul Hauner
686963bd34
Update ef_tests
for new compare_fields
API
2019-05-24 14:08:19 +10:00
Paul Hauner
99ae734638
Add saturating sub to slash_validator
2019-05-24 14:08:19 +10:00
Paul Hauner
e43d27f3e4
Add extra level of comparisons to CompareFields
2019-05-24 14:08:19 +10:00
Paul Hauner
55ef75a44e
Fix underflow in verify_indexed_attestation
2019-05-24 14:08:19 +10:00
Paul Hauner
67f890ae48
Add proposer_slashing EF tests
2019-05-24 14:08:19 +10:00