Justin Drake
e7db58cb7e
Rename ACTIVATION_EXIT_DELAY to MAX_SEED_LOOKAHEAD for phase 1
2019-09-23 12:48:41 -06:00
Hsiao-Wei Wang
7c9f1aad61
`test_compact_committees_root` will be moved to phase 1
2019-08-24 03:13:57 +08:00
Danny Ryan
1ec20f6c1f
do not reset start_shard until after processing compact root
2019-07-25 12:59:38 -06:00
Danny Ryan
6dc306700b
avoid overflow in slashing penalty calculation ( #1286 )
...
Change presentation to avoid uint64 overflow in slashing penalty calculation. (Factor out `EFFECTIVE_BALANCE_INCREMENT` from `validator.effective_balance`.)
2019-07-11 09:53:51 +01:00
Carl Beekhuizen
918192cdab
`compute_slot_epoch`->`compute_epoch_of_slot`
2019-06-30 23:35:07 +02:00
Carl Beekhuizen
0fd1d38417
`Misc` function rename
2019-06-30 20:58:02 +02:00
Danny Ryan
6d5e4da3e0
PR feedback
2019-06-30 12:42:24 -05:00
Justin Drake
94404a5856
A few more cleanups
2019-06-30 14:11:46 +01:00
Justin Drake
e8532ced79
WIP
2019-06-30 10:56:14 +01:00
Justin Drake
d0acd81157
WIP
2019-06-30 10:02:18 +01:00
protolambda
36dd977b85
fix finalize on double justification in 123 rule
2019-06-29 22:27:05 +02:00
protolambda
302b3afe2a
rename/fix roots in justification tests for consistency
2019-06-29 21:37:54 +02:00
protolambda
5d633bfdf3
bugfix attestation creation so that it works on mainnet with multiple committees per slot, and improve bitfield index descriptions
2019-06-29 18:14:17 +02:00
Carl Beekhuizen
0c29c5125f
Finnish refactor
2019-06-29 17:10:12 +02:00
Carl Beekhuizen
4ed7af7bac
mock attestation refactor
2019-06-29 15:48:39 +02:00
Carl Beekhuizen
0680d8cc53
Makes justification ratios more marginal
2019-06-29 14:35:07 +02:00
Carl Beekhuizen
2eca6ef09d
Corrects justification comments
2019-06-29 13:10:09 +02:00
Carl Beekhuizen
f9ca7c97c9
Fix 123 finalisation
2019-06-29 13:01:59 +02:00
Carl Beekhuizen
b05bebf45c
Fix list slicing
2019-06-29 12:23:03 +02:00
Danny Ryan
129fd6297e
add shard to mock crosslink to separate attestations from eachother
2019-06-29 00:03:06 -06:00
Danny Ryan
022f1e7108
fix source/target
2019-06-28 23:59:20 -06:00
Danny Ryan
bc5e947efc
aggregation_bitfield - bits
2019-06-28 23:38:14 -06:00
Danny Ryan
1885e285e3
fix source/target epochs in test_12
2019-06-28 23:28:36 -06:00
Danny Ryan
f484b1e98c
some fixes to finality_12
2019-06-28 23:21:25 -06:00
protolambda
cfbdee709b
finalization testing
2019-06-29 05:04:25 +02:00
protolambda
efd9d173d7
update attester slashings processing tests
2019-06-29 03:19:57 +02:00
protolambda
d31f1b2353
Merge branch 'dev' into cov-hunt
2019-06-29 02:30:53 +02:00
protolambda
3a60f64b92
refactor finalization test helper func
2019-06-29 01:22:29 +02:00
protolambda
384fa8854a
justification/finalization testing groundwork
2019-06-28 00:19:55 +02:00
protolambda
24aa0646c0
new process-slashings tests, and epoch processing bugfix with transition-to-excl not working when not yielded from
2019-06-26 22:22:21 +02:00
protolambda
46dc3f39bb
detach crosslink tests from extra block
2019-06-26 22:22:21 +02:00
protolambda
c66031f55c
fix crosslink tests, fix generalization of epoch processing
2019-06-26 22:22:21 +02:00
protolambda
aedd281edb
clean up epoch processing testing
2019-06-26 22:22:21 +02:00
protolambda
c4c9bd32e2
test_eth1_vote_no_reset
2019-06-26 22:22:21 +02:00
protolambda
b2034a54a0
generalize epoch processing testing, add final-processing tests
2019-06-26 22:22:20 +02:00
protolambda
b4b4e9571d
test activation queue
2019-06-26 22:22:20 +02:00
Justin Drake
181a2a876a
Cleanups
2019-06-22 22:49:53 +02:00
Danny Ryan
8a732fbbcf
pass on checkpoints working in testing
2019-06-22 12:00:26 -06:00
Danny Ryan
d7ac601b9e
Merge branch 'dev' into v071backport
2019-06-17 13:42:27 -06:00
Danny Ryan
c391017a05
address #1146 by inserting state root and re-signing blocks in tests
2019-06-13 17:57:29 -06:00
Justin Drake
dc56d87eef
Revert a couple of renamings
2019-06-10 21:16:51 +01:00
Justin Drake
565f61dfaa
Cleanup containers
2019-06-09 20:41:21 +01:00
Carl Beekhuizen
67471a8d6e
Rework of phases decorator
2019-06-06 23:30:40 +02:00
Carl Beekhuizen
956c476d81
Move over to parameterised decorators for phases
2019-06-06 16:23:30 +02:00
Carl Beekhuizen
e498ff7e94
Separates tests into phases
2019-06-05 21:28:30 +02:00