Commit Graph

2594 Commits

Author SHA1 Message Date
protolambda 509354582c
limit bit-length of justification bitfield to strict 64, prevent SSZ encoding crash due to too large integer size 2019-04-10 11:14:22 +10:00
vbuterin 9dde3a2661
Update replace_empty_or_append
Requires adding definitions of `empty` and `typeof` to the function puller.
2019-04-09 05:59:00 -05:00
vbuterin 7a1b38a6ad
Homogenised start shard
Alternative presentation to #884, should be substantively equivalent
2019-04-09 05:52:32 -05:00
Piper Merriam 92f002c501
specify offsets better 2019-04-08 12:55:13 -06:00
Piper Merriam 66173b8ba3
static > fixed 2019-04-08 12:55:13 -06:00
Piper Merriam 5f465842a4
more language updates 2019-04-08 12:55:13 -06:00
Piper Merriam ca98d752d2
d 2019-04-08 12:55:13 -06:00
jannikluhn 1ab501975c
Update specs/simple-serialize.md
Co-Authored-By: pipermerriam <piper@pipermerriam.com>
2019-04-08 12:55:13 -06:00
jannikluhn 3741b7517b
Update specs/simple-serialize.md
Co-Authored-By: pipermerriam <piper@pipermerriam.com>
2019-04-08 12:55:13 -06:00
jannikluhn 32684d582a
Update specs/simple-serialize.md
Co-Authored-By: pipermerriam <piper@pipermerriam.com>
2019-04-08 12:55:13 -06:00
jannikluhn fa66640a00
Update specs/simple-serialize.md
Co-Authored-By: pipermerriam <piper@pipermerriam.com>
2019-04-08 12:55:13 -06:00
Piper Merriam 605028bbda
more precise definitions for and and expand code example for how sections are created 2019-04-08 12:55:13 -06:00
Piper Merriam 4a0459a087
PR feedback 2019-04-08 12:55:13 -06:00
Piper Merriam ad07649ec3
Update spec to use SOS style offset layout for variable size values. 2019-04-08 12:55:13 -06:00
Danny Ryan 71a28aa1c9
fix tests 2019-04-08 13:03:29 +10:00
Danny Ryan e246c3fb04
source_crosslink_root to previous_crosslink_root 2019-04-08 12:59:42 +10:00
Chih Cheng Liang ffccf742bd
replace signed_root with signing_root 2019-04-08 09:57:04 +08:00
protolambda fea40da6fe
update generators readme example 2019-04-07 18:28:32 +10:00
Danny Ryan 42dc003e91
add previous_crosslink_root and enforce crosslinks form a chain 2019-04-07 17:55:38 +10:00
protolambda 8fdae5bced
support test format file structure in base generator 2019-04-07 17:50:39 +10:00
protolambda c350aaecf7
small format update, support new testing format in generator base pkg 2019-04-07 17:26:24 +10:00
protolambda 9eb640dd3b
intro configuration support pkg 2019-04-07 17:02:20 +10:00
protolambda 9f32995693
enable generator to locate configurations 2019-04-07 16:32:48 +10:00
protolambda 69af7f733e
Merge branch 'dev' into proto-merge-test-gen 2019-04-07 16:31:44 +10:00
Danny Ryan 26df4f4bc8
Merge branch 'dev' into prev-cur-crosslinks 2019-04-07 16:26:42 +10:00
Danny Ryan 2baa242ac0
Merge pull request #877 from ethereum/sydney-test-format
A new more complete test format for ETH 2.0 testing
2019-04-07 16:23:04 +10:00
protolambda 117e157f29
update comment, fix net naming 2019-04-07 16:21:50 +10:00
protolambda c5d2696feb
include minimal testing constants from previous pytests 2019-04-07 16:17:42 +10:00
protolambda c5ab5435a1
include example configs and fork timelines, with format spec 2019-04-07 14:46:37 +10:00
protolambda 1c81638e86
forks are based on epoch numbers, as per spec 2019-04-07 12:07:10 +10:00
Hsiao-Wei Wang 846e2d6147
Remove `force_registry_change_at_next_epoch` 2019-04-07 11:06:14 +10:00
Hsiao-Wei Wang 4630b136da
Fix/Remove pointless assertion 2019-04-07 10:03:07 +10:00
Justin 47464f28dc
Update 0_beacon-chain.md 2019-04-07 08:45:43 +10:00
Hsiao-Wei Wang 00872e0e92
Updated tests
1. No Validator.initiated_exit field. Fix the related tests.
2. Update state_transition flow - rename `process_ejections` to
`process_balance_driven_status_transitions` and remove `process_exit_queue`
3. Linter, formatting
2019-04-07 02:12:19 +11:00
Hsiao-Wei Wang ebba3f5891
Fix typo 2019-04-07 01:59:10 +11:00
Hsiao-Wei Wang 8958cf86bb
Merge branch 'dev' into vbuterin-patch-13 2019-04-06 22:27:35 +08:00
Hsiao-Wei Wang 5ea5746fdd
Fix `get_genesis_beacon_state` and minor refactoring 2019-04-07 01:24:50 +11:00
Justin 63412d9b9e
Update 0_beacon-chain.md 2019-04-06 22:13:56 +11:00
Justin 7f0a93fc3e
Update 0_beacon-chain.md 2019-04-06 21:07:03 +11:00
Justin 169579ce3b
Update 0_beacon-chain.md 2019-04-06 20:45:11 +11:00
vbuterin 199e7849da Clarify lexicographic hash favoring (#881) 2019-04-06 13:07:26 +04:00
protolambda 09ceccacb4
consistent naming of network types 2019-04-05 22:31:37 +11:00
Danny Ryan f677af2179
Merge branch 'dev' into prev-cur-crosslinks 2019-04-05 19:55:47 +11:00
Danny Ryan dc325f7682
clean up a few things from PR 2019-04-05 19:39:03 +11:00
protolambda 4bf20a1208
remove confusing note 2019-04-05 19:29:58 +11:00
Hsiao-Wei Wang 13fc498f7b
Update specs/test_formats/README.md
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-05 19:24:09 +11:00
Danny Ryan 690e4faff7
Merge pull request #879 from terenc3t/patch-58
Add comment for get_crosslink_committee_for_attestation
2019-04-05 02:22:34 -06:00
terence tsao 5a77e61160
Update 0_beacon-chain.md 2019-04-04 08:11:12 -07:00
Hsiao-Wei Wang f445846825
Merge pull request #878 from ethereum/JustinDrake-patch-8
Missing typehint for `convert_to_indexed`
2019-04-04 17:51:22 +08:00
Justin 3e6dc59ec0
Update helpers.py 2019-04-04 08:26:11 +04:00