5193 Commits

Author SHA1 Message Date
Hsiao-Wei Wang
6aca7afd81
Add notes of active shard count 2020-06-18 17:35:24 +08:00
Hsiao-Wei Wang
7dbecdf904
Fix some missing arguments 2020-06-18 17:35:16 +08:00
Hsiao-Wei Wang
c0b6df8fd0
Merge pull request #1906 from terencechain/patch-102
Fix links in phase1 validator doc
2020-06-18 15:10:43 +08:00
Hsiao-Wei Wang
ec25f78632
Update path 2020-06-18 14:55:50 +08:00
Hsiao-Wei Wang
27eb2e2579
Move testing files from */phase_0 to */phase0, */phase_1 to */phase1 2020-06-18 14:54:27 +08:00
Hsiao-Wei Wang
51e7969147
Set linter configs in linter.ini 2020-06-18 14:36:14 +08:00
Hsiao-Wei Wang
26c540fbf9
Fix get_min_new_period_epochs helper 2020-06-18 14:10:49 +08:00
Hsiao-Wei Wang
4428a6aedf
Fix table 2020-06-18 13:50:10 +08:00
Joanne Fuller
974ef47c03 Clarification of types. 2020-06-18 14:47:10 +10:00
Hsiao-Wei Wang
0ae11cd70c
Merge pull request #1911 from terencechain/patch-103
get_shard_winning_roots uses on_time_slot
2020-06-18 12:28:23 +08:00
Hsiao-Wei Wang
0eeffc47bc
Merge pull request #1909 from ericsson49/fix_process_custody_game_operations
Fix typing error in `process_custody_game_operations`
2020-06-18 12:22:35 +08:00
protolambda
41ebd51aff
Merge branch 'dev' into hwwhww/strict-uint64 2020-06-18 02:49:09 +02:00
ericsson
9dc43957e2 a fix according to @protolambda comments 2020-06-18 03:39:51 +03:00
Diederik Loerakker
3d544d5345
Merge pull request #1910 from ericsson49/fix_get_best_light_client_aggregate
Fix exception in `get_best_light_client_aggregate`
2020-06-18 02:16:58 +02:00
ericsson
e479e96480 lint fix 2020-06-18 02:46:06 +03:00
terence tsao
cc84b49d13
on_time_attestation_slot instead of current_slot 2020-06-17 16:20:46 -07:00
ericsson
adced70c54 use aggregate.data instead of hust data 2020-06-18 02:04:16 +03:00
ericsson
17c86177d9 Change types of BeaconBlockBody chunk_challenges and
chunk_challenge_responses to List[CustodyChunkChallenge, ...]
2020-06-18 01:43:41 +03:00
protolambda
3f765f55ca
Fix deprecated utility code, avoid wrong helper function name, add tests 2020-06-17 22:34:43 +02:00
terence tsao
3eabcddb4c
Update validator.md 2020-06-17 13:24:00 -07:00
protolambda
ce0371a66b
fix comment: committees per slot for given *epoch* 2020-06-17 20:23:26 +02:00
protolambda
9b60a9b799
Avoid state usage in p2p validation, compute committee count per slot for epoch as a whole 2020-06-17 20:19:32 +02:00
Hsiao-Wei Wang
7117d2e75a
Merge pull request #1896 from lsankar4033/helper_tests
Add unit tests for `compute_fork_digest` and `compute_subnet_for_attestation`
2020-06-17 20:52:19 +08:00
Danny Ryan
8e30ee55d6
Merge pull request #1704 from ethereum/phase1-validator
phase 1 validator guide (round 1)
2020-06-16 22:41:36 -06:00
Danny Ryan
fbf10a0db3
fix tests 2020-06-16 22:32:09 -06:00
Hsiao-Wei Wang
23cbbb1d08
Fix shard number assertion and refactor it 2020-06-17 09:48:47 +08:00
Hsiao-Wei Wang
c8ae7d99f9
Fix after auto-merge 2020-06-17 09:05:44 +08:00
Danny Ryan
a21f93646c
Merge pull request #1878 from ethereum/hwwhww/remove_digest
Remove `ShardState.transition_digest`
2020-06-16 16:40:52 -06:00
Danny Ryan
759185632f
Merge branch 'dev' into phase1-validator 2020-06-16 16:07:20 -06:00
Danny Ryan
2e0950560b
PR feedback 2020-06-16 16:03:36 -06:00
Danny Ryan
ace46c38a7
revert local config settings from .gitignore 2020-06-16 15:34:01 -06:00
Hsiao-Wei Wang
6a545c5ba9
Merge pull request #1900 from ethereum/revert-lint
revert e128 and c901 in lint
2020-06-17 02:38:01 +08:00
Danny Ryan
c761c437d4
revert e128 and c901 in lint 2020-06-16 12:11:47 -06:00
Hsiao-Wei Wang
7fba94a73d
Merge branch 'dev' into hwwhww/attestation-shard 2020-06-17 01:58:05 +08:00
dankrad
6b750dfcb8
Merge pull request #1705 from ethereum/dankrad-custody-256bit
256-bit custody atoms for better alignment with rest of the spec and greater efficiency
2020-06-16 17:39:44 +01:00
Dankrad Feist
e6e694fad9
Fix toc 2020-06-16 17:35:33 +01:00
Dankrad Feist
58935c19d6
Move constant 2020-06-16 17:23:09 +01:00
Hsiao-Wei Wang
5e5a951c6f
Fix conflicts 2020-06-16 23:49:41 +08:00
Dankrad Feist
df1a932534
Rename misleading variable all_secrets_are_revealed 2020-06-16 15:19:45 +01:00
dankrad
4bc849bcc2
Update specs/phase1/custody-game.md
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-06-16 15:05:12 +01:00
dankrad
4b8b3f2cbc
Update specs/phase1/custody-game.md
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-06-16 15:05:01 +01:00
Dankrad Feist
8186594dfe
Rename to get_sample_shard_transition 2020-06-16 14:57:06 +01:00
Dankrad Feist
a4c2950c4a
Phase 1 validator guide stub. This is to start collecting important details with correct validator operation. 2020-06-16 14:48:00 +01:00
Dankrad Feist
2dee432536
Refactor getting Merkle root of data part of ByteList 2020-06-16 14:43:34 +01:00
Dankrad Feist
113563176a
Updated .gitignore 2020-06-16 14:36:12 +01:00
Danny Ryan
eec323c7b6
Merge pull request #1889 from ethereum/dankrad-custody-0.01bit
0.01 bit proof of custody [depends on 256 bit custody atoms]
2020-06-16 07:20:16 -06:00
Danny Ryan
a0175ca1b3
Merge branch 'dankrad-custody-256bit' into dankrad-custody-0.01bit 2020-06-16 07:15:00 -06:00
lsankar4033
55e17fb1f7 Add compute_subnet_for_attestation unittest 2020-06-15 18:42:15 -07:00
Danny Ryan
01a69288b6
custody 0.01 testing cleanup 2020-06-15 15:33:05 -06:00
Hsiao-Wei Wang
3ee0761d17
Add shard: Shard field to AttestationData 2020-06-16 00:17:49 +08:00