Michael Sproul
ea43515eb0
committee cache: fix a test for shard delta changes
2019-06-12 16:55:59 +10:00
Michael Sproul
9e51a04139
Delete unused fished_yates_shuffle crate
2019-06-12 16:55:01 +10:00
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
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
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
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
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
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
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
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
31a7a0614e
Remove bytes
dependency from shuffling
2019-05-24 14:08:19 +10:00
Kirk Baird
514ac23724
Update signature schemes release
2019-05-24 11:01:56 +10:00
Paul Hauner
cc916e25fd
Fix erroneous change related to max_transfers
2019-05-23 23:28:03 +10:00
Paul Hauner
ffcd1e6409
Clarify order-of-operations in shuffling
2019-05-23 23:22:11 +10:00
Paul Hauner
7bf83a97cf
Update shuffling to use new(ish) to_le_bytes fn
2019-05-23 23:21:53 +10:00
Paul Hauner
92610b4fd3
Improve error messages for ef_tests
2019-05-23 16:55:50 +10:00
Paul Hauner
d0ab1a0576
Add basic tests for get_beacon_proposer
2019-05-23 16:55:31 +10:00
Paul Hauner
b8e25a3e4c
Fix bug in beacon state randao getter
2019-05-23 16:53:18 +10:00
Paul Hauner
c214bec344
Add ability to get shuffling from BeaconState
2019-05-23 16:52:51 +10:00
Paul Hauner
29792c56d5
Fix bug with checking for dust in transfers
2019-05-23 16:52:20 +10:00
Paul Hauner
4db6a8a058
Add transfer ef tests
2019-05-23 08:48:09 +10:00
Paul Hauner
e760afbc1a
Tidy presentation of errors for ef_tests
2019-05-22 18:55:00 +10:00
Paul Hauner
892d891977
Fix bugs in deposit processing
2019-05-22 18:54:26 +10:00
Paul Hauner
b2666d700c
Implemented detailed state eqs in ef_tests
2019-05-22 18:00:21 +10:00
Paul Hauner
7a99654f89
Add new CompareFields
trait and derive
2019-05-22 17:22:12 +10:00
Paul Hauner
2cffca7b1a
Enable merkle branch verification for deposits
2019-05-22 16:46:27 +10:00
Paul Hauner
07b94b30ba
Add serde deser to AttestationDataAndCustodyBit
2019-05-22 14:49:14 +10:00
Paul Hauner
1eeaaaa92b
Merge branch 'ef-tests' into v0.6.1
2019-05-22 14:46:10 +10:00
Paul Hauner
d9b103d0ce
Fix a subset of compile errors in op-pool
2019-05-22 14:41:35 +10:00
Paul Hauner
fabb42a162
Update various v0.5.1 tags, delete old file
2019-05-22 13:03:51 +10:00
Paul Hauner
9790968378
Remove old inclusion_distance
file
2019-05-22 12:19:13 +10:00
Paul Hauner
987afb6595
Update some Spec v.. comments & minor logic fix
2019-05-22 12:17:56 +10:00
Paul Hauner
ea36c5ad35
Remove update_registry_and_shuffling_data
2019-05-22 12:17:00 +10:00