25 Commits

Author SHA1 Message Date
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
06d005999a
fix validator_indicies issue in process_attester_slashing 2019-04-02 13:50:06 +11:00
Danny Ryan
a38e3525cd
ensure validator balances are losing when no finality 2019-03-26 13:18:18 -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
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
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
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