Commit Graph

3377 Commits

Author SHA1 Message Date
Hsiao-Wei Wang 5b2b3cfe33
class DomainType would be added in build_spec 2019-07-01 09:03:35 +08:00
protolambda 7f2eb813cb
minor BLS domain type related improvements 2019-07-01 00:05:40 +02:00
protolambda bde73b59fc
fix bls_verify_multiple 2019-07-01 00:00:54 +02:00
protolambda d45b73389e
update BLS test generator and format to reflect spec change in BLS 2019-06-30 22:18:52 +02:00
protolambda e53063c08d
type BLS domain and domain type 2019-06-30 22:12:49 +02:00
Danny Ryan 3d2eaa22cb
Merge pull request #1238 from ethereum/update-generators
Update test vector generators
2019-06-30 14:57:13 -05:00
Danny Ryan c4971e52fb
Merge pull request #1243 from ethereum/markdown_lint
Markdown Lint
2019-06-30 14:51:13 -05:00
Danny Ryan 83e961d5cc
Merge branch 'dev' into update-generators 2019-06-30 14:48:12 -05:00
Carl Beekhuizen e0a0f6e156
Makes markdown comply with linter 2019-06-30 21:25:58 +02:00
Diederik Loerakker 1ba955b5f0
Update specs/test_formats/epoch_processing/README.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-06-30 21:19:19 +02:00
Danny Ryan 4aa676bae7
fix mainnet attestation test 2019-06-30 13:52:35 -05:00
Danny Ryan daa624e977
Merge pull request #1237 from ethereum/helperscleanup
Helpers cleanup
2019-06-30 13:23:17 -05:00
Danny Ryan 6be1404b66
delayed_activation_exit_epoch -> compute_activation_exit_epoch 2019-06-30 13:16:56 -05:00
Danny Ryan d1bc2f03ac
remove 'int' types from spec typehints. replace with uint64 2019-06-30 13:00:22 -05:00
Danny Ryan 3ae077a09b
'beacon state getters' -> ' beacon state accessors' 2019-06-30 12:51:13 -05:00
protolambda ed182e5e9d
disable mainnet transfer test output 2019-06-30 19:44:35 +02:00
Danny Ryan 6d5e4da3e0
PR feedback 2019-06-30 12:42:24 -05:00
protolambda 8415e6c79d
mark incompatible mainnet tests 2019-06-30 18:42:54 +02:00
protolambda cb01f3ccd9
speed up remaining attestation tests by mocking slots 2019-06-30 18:40:43 +02:00
protolambda 4b93f5d921
disable some super-long tests, and fix a few attestation signatures 2019-06-30 18:15:36 +02:00
Justin Drake 0be2b8e620 Cleanup 2019-06-30 16:10:22 +01:00
protolambda 7b91c289d4
fix shuffling generator, convert ValidatorIndex output to normal int 2019-06-30 16:46:40 +02:00
protolambda 91f55f55b5
make BLS test format and output consistent with spec 2019-06-30 16:07:54 +02:00
Justin Drake 1daaf7412d Merge branch 'helperscleanup' of github.com:ethereum/eth2.0-specs into helperscleanup 2019-06-30 14:46:29 +01:00
Justin Drake 423d6dcb29 Fix bug 2019-06-30 14:45:36 +01:00
protolambda bf618f8d28
fix encoder to also encode bytes nicely 2019-06-30 15:37:59 +02:00
Justin bdb372ea21
Merge branch 'dev' into helperscleanup 2019-06-30 14:34:41 +01:00
Justin Drake e873bb6e59 ready for review 2019-06-30 14:32:50 +01:00
protolambda b38802ced0
accept yielded lists, encode per item 2019-06-30 15:27:31 +02:00
protolambda c1317640c4
genesis tests generator 2019-06-30 15:26:54 +02:00
Justin Drake 94404a5856 A few more cleanups 2019-06-30 14:11:46 +01:00
protolambda 83d91f81db
update sanity slots description to match new transition naming 2019-06-30 15:03:50 +02:00
protolambda 64b02ebecc
fix genesis tests 2019-06-30 15:01:30 +02:00
protolambda da090b67f6
document genesis test vector format, fix missing label and assertion in tests 2019-06-30 14:58:53 +02:00
protolambda 992a51b587
add note to block operatiosn test format 2019-06-30 14:35:07 +02:00
protolambda abdcbc4972
update epoch processing tests generation and format 2019-06-30 14:32:38 +02:00
Justin Drake 58c864ddf4 Push draft 2019-06-30 11:01:54 +01:00
Justin Drake e8532ced79 WIP 2019-06-30 10:56:14 +01:00
Carl Beekhuizen 2e41f2da3b
Merge pull request #1235 from ethereum/JustinDrake-patch-20
Minor copyedit
2019-06-30 11:17:35 +02:00
Justin Drake 369c457d76 WIP2 2019-06-30 10:11:23 +01:00
Carl Beekhuizen 14701aa094
Merge pull request #1234 from ethereum/JustinDrake-patch-14
Fix typo
2019-06-30 11:09:50 +02:00
Justin Drake d0acd81157 WIP 2019-06-30 10:02:18 +01:00
Justin ae888e148c
Minor copyedit
Can the linter catch non-capitalised comments?
2019-06-30 08:13:07 +01:00
Justin 6cfd3b5047
Fix typo
Thanks @NIC619 https://github.com/ethereum/eth2.0-specs/pull/1219#discussion_r298818138
2019-06-30 08:10:23 +01:00
Danny Ryan 2f43f9c339
Merge pull request #1202 from ethereum/test_genesis
Add `test_genesis.py` and fix `is_genesis_trigger`
2019-06-29 23:31:32 -05:00
Danny Ryan f1749df587
minor typo 2019-06-29 22:25:51 -06:00
protolambda 4d5d5971e2
fix genesis tests; sign deposit-datas, and lower min validator count for testing 2019-06-30 02:10:18 +02:00
protolambda 8d2cbc9722
add comments to make variations in genesis initialization clear, and about the mix-in in verification 2019-06-30 02:08:34 +02:00
Hsiao-Wei Wang 47cdae4292
Refactor
1. Rename the current `get_genesis_beacon_state(...)` to `initialize_beacon_state_from_eth1(...)`
2. Extract `is_valid_genesis_state(state: BeaconState) -> bool` from `initialize_beacon_state_from_eth1(...)`
2019-06-30 06:38:30 +08:00
Danny Ryan aec971928b
Merge pull request #1221 from ethereum/ralexstokes-patch-3
Clarify `get_randao_mix` accessor
2019-06-29 16:57:33 -05:00