19 Commits

Author SHA1 Message Date
Anton Nashatyrev
0ae9a85b17 Adopt shard_blob gossip validation on top of PR #2455: here the compute_committee_index_from_shard raises an error if no committee assigned to a shard 2021-06-04 18:48:09 +03:00
Anton Nashatyrev
116c1c0f3a Merge remote-tracking branch 'EF/dev' into fix/no-committee-for-shard-case
# Conflicts:
#	specs/sharding/p2p-interface.md
2021-06-04 18:43:12 +03:00
Diederik Loerakker
482b028b88
Merge pull request #2436 from terencechain/patch-122
Sharding p2p: minor fixes
2021-05-28 22:09:58 +02:00
Anton Nashatyrev
414ef614cb Handle the case when a shard may not have a committee at slot.
Block is invalid if contains ShardBlobHeader lacking committee
Reject Gossip ShardBlobHeader and ShardBlob messages which lacks committee
2021-05-27 15:13:13 +03:00
protolambda
1360860d1e
add/update comments on shard blob/header/reference body field 2021-05-27 03:57:59 +02:00
terence tsao
71d0d45343
Align table 2021-05-24 06:57:09 -07:00
terence tsao
814c7696d9 shard_blob_header -> shard_header 2021-05-24 06:55:17 -07:00
terence tsao
4a5947d49e Proto's suggestion 2021-05-24 06:54:38 -07:00
terence tsao
96352726bb
Sharding p2p: minor typo fixes 2021-05-22 10:31:10 -07:00
Anton Nashatyrev
554f5141d3 Replace the {shard}_{slot} with {subnet_id}. Add {subnet_id} calculation function 2021-05-11 20:16:58 +03:00
Anton Nashatyrev
bd376fa649 Fix the table of contents 2021-05-07 17:09:03 +03:00
Anton Nashatyrev
22b7c393cc Include {slot} param to shard_blob_ subnets 2021-05-07 16:52:44 +03:00
protolambda
2119efc1bf
change to block-root anchor of shard blob 2021-04-06 19:31:20 +02:00
protolambda
36e871dc88
Enforce state sub-tree in shard blob proposal to avoid inconsistent replays on reorg, and provide context for proposer_index computation 2021-04-06 04:00:55 +02:00
protolambda
2cbc52b9dc
Implement review suggestions
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-04-06 03:17:07 +02:00
protolambda
f7069510e6
update shard blob and headers types, implement shard blob slashings, update shard gossip validation 2021-04-06 02:23:43 +02:00
protolambda
8542d349bf
update sharding p2p doc 2021-03-26 22:37:32 +01:00
protolambda
0b8e3aee44
move shard blob types from das to sharding spec 2021-03-26 22:37:32 +01:00
protolambda
306fc95c60
Update doc names and sharding readme section 2021-03-26 22:37:32 +01:00