Commit Graph

3672 Commits

Author SHA1 Message Date
Diederik Loerakker 5d2f34f882
Merge pull request #1363 from ethereum/executable_merkle_proofs
Executable Merkle proofs
2019-08-23 14:50:12 +02:00
Hsiao-Wei Wang bbaa238742
Fix the definition of `GeneralizedIndex` 2019-08-23 20:20:35 +08:00
Hsiao-Wei Wang 7409b5ae82
Add basic `test_verify_merkle_proof` and `test_verify_merkle_multiproof` tests 2019-08-20 20:57:37 +08:00
vbuterin 5fcfcac75e Updated light client sync for newer committees (#1316) 2019-08-20 14:33:29 +02:00
Hsiao-Wei Wang d6bbd9bfa1
Add `BaseBytes` to cover `Bytes` and `BytesN` 2019-08-20 19:23:31 +08:00
Hsiao-Wei Wang 6577f159c9
Merge branch 'dev' into executable_merkle_proofs 2019-08-20 19:13:12 +08:00
Hsiao-Wei Wang b22caeb246
Add basic merkle proofs tests 2019-08-20 19:09:21 +08:00
Hsiao-Wei Wang 663d43d07f
PR feedback, fix type hinting, add missing `Container.get_field_names()` method 2019-08-20 18:55:30 +08:00
Danny Ryan c6d206e581
Merge pull request #1368 from MrChico/housekeeping
Housekeeping
2019-08-19 11:13:03 -06:00
Danny Ryan 545b1fe40c
Merge pull request #1364 from ethereum/discord-readme
Update README: discord and some external resources
2019-08-19 10:58:51 -06:00
Martin Lundfall a843e9aeeb specs/ fix links 2019-08-19 13:47:09 +02:00
Martin Lundfall 6722608978 Add codespell whitelist 2019-08-19 13:06:21 +02:00
Martin Lundfall 62d37593fb Correct various typos 2019-08-19 13:05:44 +02:00
Martin Lundfall 35d89e2706 merkle_proofs, simple-serialize, test_gen/README: update ToC 2019-08-19 13:03:51 +02:00
Danny Ryan 24e583d5d9
add discord and add some external resources 2019-08-16 11:03:30 -06:00
Hsiao-Wei Wang bb0b5b09cc
Use `SSZVariableName` instead of `str`, and fix some mypy errors 2019-08-15 19:02:21 +08:00
Hsiao-Wei Wang 8e1333aad1
Add `SSZVariableName` custom type 2019-08-15 19:01:40 +08:00
Hsiao-Wei Wang 2741a5f33d
Minor fixes 2019-08-15 18:36:48 +08:00
Hsiao-Wei Wang 0f52d460a5
Use the `get_previous_power_of_2` function in ethereum/eth2.0-specs#1323 2019-08-15 16:14:07 +08:00
Hsiao-Wei Wang d88a83d482
Fix most mypy errors 2019-08-15 16:01:53 +08:00
Hsiao-Wei Wang dc93391421
Make flake8 check pass 2019-08-15 15:30:01 +08:00
Hsiao-Wei Wang 722a69467f
Add `light_client/merkle_proofs.md` to executable stack. Errors revealed. 2019-08-15 15:07:44 +08:00
Diederik Loerakker f9d703c126
Merge pull request #1186 from ethereum/vbuterin-patch-3
Updates to SSZ Merkle proofs phase 0 doc
2019-08-14 23:49:54 +02:00
vbuterin 72103e9deb
Update specs/light_client/merkle_proofs.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-08-14 23:44:26 +02:00
vbuterin c7af2496ef
Update specs/light_client/merkle_proofs.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-08-14 23:44:19 +02:00
Danny Ryan 107c1b4c6c
Merge pull request #1360 from ethereum/JustinDrake-patch-23
Add summaries and expansions to simple-serialize.md
2019-08-14 11:09:28 -06:00
Danny Ryan 5d8c31cfb1
Update specs/simple-serialize.md 2019-08-14 11:07:03 -06:00
Justin 84558e0c4c
Add summaries and expansions to simple-serialize.md 2019-08-14 15:48:30 +02:00
Danny Ryan 931c51ce7a
Merge pull request #1350 from AgeManning/network-spec-corrections
Minor corrections and clarifications to the network specification
2019-08-13 07:46:27 -06:00
Danny Ryan 63564f1cd3
Merge pull request #1358 from ethereum/phase1-var
MAX_PERSISTENT_COMMITTEE_SIZE -> TARGET_PERSISTENT_COMMITTEE_SIZE
2019-08-13 07:44:34 -06:00
Age Manning 8cf4544ef2
Merge latest dev 2019-08-13 12:41:34 +10:00
Danny Ryan c224af999e
MAX_PERSISTENT_COMMITTEE_SIZE -> TARGET_PERSISTENT_COMMITTEE_SIZE 2019-08-12 19:05:16 -06:00
Age Manning e23b37842e
Update specs/networking/p2p-interface.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-08-13 08:09:44 +10:00
Danny Ryan 469f3d84a3
Merge pull request #1355 from ethereum/v082_backport
Backport v0.8.2 to dev
2019-08-12 11:34:49 -06:00
Hsiao-Wei Wang d84c902bb1
Merge branch 'dev' into v082_backport 2019-08-12 01:47:24 +08:00
Hsiao-Wei Wang 8ac5ea20be
Merge pull request #1353 from mcdee/dev
Add link from DepositData reference to definition
2019-08-12 01:08:04 +08:00
dankrad b345dc0f5f Legendre custody construction (#1305)
* Stab at Legendre custody construction + some tests

* Fix some problems and fix function puller to remove phase0 only lines in phase1

* Pass the linter

* Add headings

* Fix domain for BLS stub

* Change Jacobi to Legendre

* n -> q to clarify notation

* Headings

* Another missing heading

* Custody subchunks via padding

* Fix max_reveal_lateness stuff

* Better names for reveal period functions

* Better parametrization of max_reveal_lateness computation and tests for custody reveal processing

* Fix linter

* Allow challenging for one period after the custody reveal, shorter periods for minimal tests

* Fix lint

* Fix linter error
2019-08-11 13:05:17 -04:00
Hsiao-Wei Wang 40fbcd3d59
Merge branch 'dev' into v082_backport 2019-08-12 00:58:20 +08:00
Hsiao-Wei Wang 13f6f18cd5
Merge pull request #1326 from ethereum/vbuterin-patch-17
Add shard state transition function
2019-08-12 00:38:39 +08:00
Hsiao-Wei Wang 01d58eb1c6
Merge branch 'dev' into v082_backport 2019-08-12 00:18:25 +08:00
Hsiao-Wei Wang 4df372deb7
Merge branch 'dev' into vbuterin-patch-17 2019-08-11 23:45:18 +08:00
Hsiao-Wei Wang 5290b62465
Fix + refactor `is_valid_beacon_attestation` and add basic test 2019-08-11 22:24:21 +08:00
Jim McDonald 0e7287eda5 Add link from DepositData reference to definition 2019-08-09 19:09:04 +01:00
JSON 5808ab3ce7 doc standardization for networking spec (#1338)
* Update p2p-interface.md

* Update p2p-interface.md

* Update p2p-interface.md

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-08-09 13:30:05 +08:00
Age Manning 2a2c9967a8
Minor corrections and clarifications to the network specification 2019-08-09 12:38:48 +10:00
Hsiao-Wei Wang 095cfe6633
Fix build_spec and typo 2019-08-07 19:29:24 +08:00
vbuterin cb92aa91dd
Include state root blocks in crosslink data in non-block slots
Also adds `total_bytes` to state. The goal is to facilitate easier fraud proofs, so that one needs to simply check two adjacent headers in a crosslink and their respective bodies to verify a fraud proof.
2019-08-05 14:37:38 -04:00
Hsiao-Wei Wang 30382622eb
Merge pull request #1337 from benjaminion/table-header
Fix constants table
2019-08-05 20:19:55 +08:00
Ben Edgington 499e187382 Fix constants table
Tables need header rows in Markdown.
2019-08-05 12:19:32 +01:00
Danny Ryan 11db5f1fdd
Merge pull request #1328 from status-im/libp2p-again
Ethereum 2.0 Networking Specification
2019-08-04 21:54:49 -06:00