Commit Graph

40 Commits

Author SHA1 Message Date
Danny Ryan 06807cf520
fix tests and off by one error 2019-04-14 18:50:05 +10:00
Danny Ryan da4a1430ea
fix test 2019-04-14 17:52:50 +10:00
Danny Ryan bade9ff3ed
enhance exit queue test 2019-04-14 09:21:29 +10:00
Danny Ryan 37004404d0
add exit queue test 2019-04-14 09:13:53 +10:00
vbuterin cc2d005917
Merge branch 'dev' into vbuterin-patch-13 2019-04-13 06:18:54 -05:00
Chih Cheng Liang ffccf742bd
replace signed_root with signing_root 2019-04-08 09:57:04 +08: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
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
Danny Ryan 014138baab
pr feedback 2019-04-03 11:04:12 +11:00
Danny Ryan 577fc740d0
lint 2019-04-02 14:08:22 +11:00
Danny Ryan e037412f94
add process attester slashing tests 2019-04-02 14:04:04 +11:00
Danny Ryan 06d005999a
fix validator_indicies issue in process_attester_slashing 2019-04-02 13:50:06 +11:00
Danny Ryan 30e29324e9
Merge pull request #831 from ethereum/vbuterin-patch-3
Merge attestation verification logic
2019-03-28 11:33:34 -06:00
Danny Ryan eb229089c8
lint 2019-03-28 11:31:12 -06:00
Danny Ryan fbb09795ed
fix convert_to_indexed custody bitfield bug 2019-03-27 08:31:56 -06:00
Danny Ryan a38e3525cd
ensure validator balances are losing when no finality 2019-03-26 13:18:18 -06:00
Danny Ryan 2c5a68b5b5
remove registry_change options from shuffling functions 2019-03-26 12:32:24 -06:00
Danny Ryan 9fa6055a8a
add more attestation tests 2019-03-26 11:41:15 -06:00
Danny Ryan a8410b8b84
add some attestation tests. fix genesi crosslink bug 2019-03-26 11:27:07 -06:00
Danny Ryan 2c8e9a11e7
Merge branch 'dev' into vbuterin-patch-18 2019-03-26 10:13:17 -06:00
Danny Ryan 5a708bae34
fix tests 2019-03-26 07:38:51 -06:00
Danny Ryan fceebeec4e
backport 839 into dev 2019-03-25 11:25:33 -06:00
Danny Ryan e313c5ba5a
add tests for proposer slashing 2019-03-21 17:08:54 -06:00
Danny Ryan 47477b8e55
cleanup tests to use get_balance and set_balance 2019-03-21 09:37:06 -06:00
Danny Ryan f4012ee309
make process block header tests more modular 2019-03-20 09:59:29 -06:00
Danny Ryan dde49cbeda
fix and extend header tests 2019-03-20 08:47:41 -06:00
Danny Ryan cf4f3463a9
add deposit size check in state transiton. add deposit tests 2019-03-19 17:10:36 -06:00
Danny Ryan acd7fdd762
add a few voluntary exit tests 2019-03-19 16:00:27 -06:00
Danny Ryan ad636a8252
add no salshed proposer test 2019-03-19 15:00:53 -06:00
Danny Ryan 24f1139d09
add explicit test that ensures exists are blocked when too long since registry change 2019-03-19 13:39:45 -06:00
Danny Ryan 23ef802da5
fix small bug in sytax 2019-03-19 13:25:34 -06:00
Danny Ryan 3f46010fa8
modify validator ejecion test to fit PR 2019-03-19 12:29:06 -06:00
Danny Ryan fbd0bb9226
withdrwaal_key uses pubkey 2019-03-19 09:56:04 -06:00
Hsiao-Wei Wang 8fc1fe5f20
Use `EMPTY_SIGNATURE` and `ZERO_HASH` in the tests 2019-03-19 11:46:32 +08:00
Hsiao-Wei Wang a07219c570
Fix linter 2019-03-19 11:39:19 +08:00
Danny Ryan 55c337a35c
seperate tests 'sanity' and 'minimal-config' vs all 2019-03-18 16:20:24 -06:00
Danny Ryan 6715a0d4cc
reconfigure build a bit 2019-03-18 14:14:26 -06:00
Danny Ryan 839590b5f4
initial pytests passing 2019-03-18 12:51:52 -06:00
Danny Ryan 828dd455ba
add basic dependencies and build script for phase0 testing 2019-03-18 10:18:57 -06:00