Commit Graph

2168 Commits

Author SHA1 Message Date
Justin dc275f024d
Update 0_beacon-chain.md 2019-04-22 15:16:34 +10:00
Justin 0da60ba90d
Fix activation queue bug
Fix bug [flagged by @NIC619 and @hwwhww](https://github.com/ethereum/eth2.0-specs/pull/850#issuecomment-485275575) whereby the `activation_epoch` of validators dequeued since the finalized epoch was overwritten.

Cosmetic changes:

1) Remove `activate_validator` (there is no overlap between genesis and non-genesis activations)
2) Improve comments related to activation queue
2019-04-22 15:12:30 +10:00
Danny Ryan 3ea4620eb2
Merge pull request #967 from ethereum/ci-tests-config
update CI config: caching of repo, venv, split test install/run
2019-04-21 21:07:27 -06:00
terence tsao 08d921a6c9 Make crosslink_data_root comment more explicit (#973) 2019-04-21 15:48:02 +10:00
Diederik Loerakker 75fae6f311 Change sorted[-1] to max() (#972) 2019-04-20 18:13:45 +10:00
JSON 1a95996035 i.e. + e.g. standardization (#970) 2019-04-20 16:01:06 +10:00
JSON 8c59bfd9be Update simple-serialize.md (#969) 2019-04-20 15:18:14 +10:00
protolambda 8f9133c8c3
update CI config: caching of repo and venv, and split install from tests run 2019-04-20 11:33:15 +10:00
Justin 39d0822602
Sane SSZ object default values (#963) 2019-04-19 18:26:54 +10:00
Danny Ryan 23fffe6490
Merge pull request #865 from ethereum/vbuterin-patch-2
Possible aesthetic rework to get_domain
2019-04-18 21:19:49 -06:00
Danny Ryan 523800819b
Merge branch 'dev' into vbuterin-patch-2 2019-04-18 21:17:29 -06:00
Danny Ryan 1c86c87de2
Merge pull request #962 from ethereum/ssz-static-testing
SSZ static testing [blocked by #960]
2019-04-18 21:10:51 -06:00
protolambda 3a5243cc89
apply PR suggestions from djrtwo 2019-04-19 12:09:30 +10:00
protolambda bc685133ec Document SSZ testing, and test-suite running 2019-04-19 12:06:00 +10:00
protolambda 627c1a347a make encoder output large uints as string, and fix ssz suite config setting 2019-04-19 12:06:00 +10:00
protolambda 40cc0420ab fix test output format 2019-04-19 12:06:00 +10:00
protolambda ad30722420 ssz-static suite 2019-04-19 12:06:00 +10:00
protolambda 23d6b468e3 Work towards testing all edge-cases of SSZ, for known (static) object types 2019-04-19 12:06:00 +10:00
protolambda 972168d695 Make type-inference stable on empty lists/vectors 2019-04-19 12:06:00 +10:00
Danny Ryan aaea74e4bc
Merge pull request #874 from ethereum/prev-cur-crosslinks
add previous and current crosslinks
2019-04-18 11:44:53 -06:00
Danny Ryan 741a74a02c
re-add crosslink tests and ensure pass 2019-04-18 11:16:50 -06:00
Diederik Loerakker d8a4a48ed8 SSZ impl fixes (#960)
* fix serialization mixup of array types, fix variable size vector serialization, document, structure and de-deduplicate code
* more cleanup + minor fixes in earlier improvements
* Make type-inference stable on empty lists/vectors
* Add get_zero_value
2019-04-18 22:54:17 +10:00
Justin Drake 7a016489c1 Moar 2019-04-18 19:33:38 +10:00
Justin 857d9b2ed9
Merge branch 'dev' into prev-cur-crosslinks 2019-04-18 19:09:41 +10:00
Justin d4ce0d20a0
Cleanup per-epoch processing presentation (#959) 2019-04-18 19:08:34 +10:00
Justin Drake 172e106b48 merge 2019-04-18 18:59:44 +10:00
Justin Drake 2e09f1a4a4 Merge 2019-04-18 18:53:59 +10:00
Justin Drake 4244db92ad More cleanups 2019-04-18 18:53:22 +10:00
Hsiao-Wei Wang 743193aa7d
nitpicks 2019-04-18 16:53:02 +08:00
Hsiao-Wei Wang 964b4d380d
Fix `pyspec/tests/helpers.py` 2019-04-18 16:21:53 +08:00
Justin Drake cae5c22718 Simplify get_crosslink_committee_for_attestation and move to test helpers 2019-04-18 18:15:20 +10:00
Alex Stokes 4bca7f984d Add the prefix `state` when accessing the latest deposit count (#961) 2019-04-18 17:43:22 +10:00
Justin Drake 40b55cf433 More fixes 2019-04-18 14:43:24 +10:00
Justin 9ecafb2a1c
Update 0_beacon-chain.md 2019-04-18 14:33:45 +10:00
Justin fbaf771b1a
Update 0_beacon-chain.md 2019-04-18 14:20:34 +10:00
Justin 443786017f
Further decouple justification and finalisation (#958)
Addresses @djrtwo's comment [here](https://github.com/ethereum/eth2.0-specs/pull/925#issuecomment-484123950).
2019-04-18 13:31:19 +10:00
Danny Ryan 8c5f7a571d
Merge branch 'dev' into prev-cur-crosslinks 2019-04-17 20:27:25 -06:00
Danny Ryan e2e39d63a5
Merge pull request #895 from ethereum/hwwhww/minor_fix_light_client
Clean up light client spec
2019-04-17 19:34:58 -06:00
Danny Ryan cca545c30f
Merge pull request #896 from ethereum/start-at-zero
GENESIS_SLOT == 0
2019-04-17 19:31:51 -06:00
Justin 71e1a598d2
Update 0_beacon-chain.md 2019-04-18 11:09:30 +10:00
Danny Ryan 0a1517c9de
Update specs/light_client/merkle_proofs.md
Co-Authored-By: hwwhww <hwwang156@gmail.com>
2019-04-18 08:56:46 +08:00
Hsiao-Wei Wang 5f9e625774
Merge branch 'dev' into start-at-zero 2019-04-18 08:50:50 +08:00
Hsiao-Wei Wang 02cbb35c8a
Merge pull request #957 from ethereum/finality-bug
fix finalization bug
2019-04-18 08:49:08 +08:00
Danny Ryan 00a40d037d
Merge pull request #955 from ethereum/JustinDrake-patch-15
Remove custody_bitfield from PendingAttestation
2019-04-17 16:25:39 -06:00
Danny Ryan ca8bc77f96
Merge pull request #858 from ralexstokes/update-get-block-root-text
Update the descriptive text to refer to the correct type of root
2019-04-18 04:56:16 +10:00
Danny Ryan 5531adcdd1
remove old assertion in get_beacon_proposer_index 2019-04-17 09:41:23 -06:00
Danny Ryan af4d06c8bf
only run justification/finalization after 2 epochs 2019-04-17 09:38:10 -06:00
Danny Ryan 73bd821417
bug fix 2019-04-17 09:26:23 -06:00
Danny Ryan 4bffa87646
fix finalization bug 2019-04-17 08:57:23 -06:00
Danny Ryan 2cb8f1c520
Merge branch 'dev' into start-at-zero 2019-04-17 08:39:25 -06:00