dankrad
|
02a2b71d64
|
WIP implementation of Danksharding (#2792)
* Rough structure
* Most of the KZG checks in
* Fixes suggested by Vitalik
* Add low degree check for commitments
* Remove -1 check from degree proof (not needed)
* Require block builders to be validators to simplify things
* remove verify_intermediate_block_bid_commitment
* Rename back to process_block
* Degree check formula corrections
* Updated TOC, bid processing corrections
* Link to latest sharding doc
* Add shard samples + P2P
* Add validator guide for attestations and reconstruction
* Update specs/sharding/beacon-chain.md
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update specs/sharding/beacon-chain.md
Co-authored-by: vbuterin <v@buterin.com>
* Update specs/sharding/beacon-chain.md
Co-authored-by: vbuterin <v@buterin.com>
* Refactor polynomial operations into separate file
* Add missing polynomial functions
* Fix polynomial commitment file toc levels
* Refactor the payload to make better use of unions
* Add reverse bit order convention
* Correct inequality in verify_degree_proof
* Small fix
* Fix polynomial evaluation
* Update specs/sharding/beacon-chain.md
Co-authored-by: George Kadianakis <desnacked@riseup.net>
* MAX_BEACON_BLOCKS_BETWEEN_INTERMEDIATE_BLOCKS definition added
* Sample reconstruction estimate
* Update specs/sharding/beacon-chain.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Fix return value of roots_of_unity()
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/beacon-chain.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/beacon-chain.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/beacon-chain.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Intermediate block -> Builder block
* Some small omissions in intermediate -> builder
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: George Kadianakis <desnacked@riseup.net>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: George Kadianakis <desnacked@riseup.net>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
* Z1 -> inf_G1
* Fix degree proof bound
* SignedShardSample -> ShardSample
* Typo
* Don't allow 0 for `next_power_of_two`
* Remove unused `ROOT_OF_UNITY` constant
* Throwaway variable name
* Fix function documentation of `bls_modular_inverse`
* Builder block bid increase by at least 1%, no RANDAO processing in builder blocks
* Fix tocs
* Fix tocs
* Fix typo
* Update specs/sharding/polynomial-commitments.md
Co-authored-by: George Kadianakis <desnacked@riseup.net>
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: vbuterin <v@buterin.com>
Co-authored-by: George Kadianakis <desnacked@riseup.net>
|
2022-07-18 11:20:25 -06:00 |
Anton Nashatyrev
|
df01588464
|
Return back `proposer_index` validation for Gossip messages
|
2021-09-22 18:40:10 +03:00 |
Anton Nashatyrev
|
b292f0b7b3
|
Remove beacon_block_root field from ShardBlob
|
2021-09-21 18:04:39 +03:00 |
Danny Ryan
|
4c1156d504
|
rename eth1 and eth2 throughout specs and readme where reasonable
|
2021-08-18 17:13:24 -06:00 |
protolambda
|
da893c123e
|
update p2p shard blob/header/tx propagation windows
|
2021-08-10 23:18:59 +02:00 |
Diederik Loerakker
|
d005fee67d
|
sharding p2p code review fixes
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
|
2021-08-10 13:48:26 +02:00 |
protolambda
|
b25afc88fd
|
update networking spec with aggregate proposer/builder types, update TOCs
|
2021-07-23 12:56:00 +02:00 |
protolambda
|
2a105f4581
|
fix toc
|
2021-07-23 12:56:00 +02:00 |
protolambda
|
9e10f58299
|
update networking spec
|
2021-07-23 12:55:59 +02:00 |
protolambda
|
4b25239617
|
builders make blobs, proposers make blocks
|
2021-07-23 12:55:59 +02:00 |
protolambda
|
17fad2dea2
|
rebase The Merge onto Altair base functionality
|
2021-07-22 16:36:41 +02:00 |
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 |