protolambda
063d94b9c7
Bugfix transfer tests
2019-06-26 22:22:19 +02:00
protolambda
55d86b4f13
effective balance testing in deposits
2019-06-26 22:22:19 +02:00
protolambda
1d6b1cab13
expected deposit count test
2019-06-26 22:22:01 +02:00
protolambda
64e15c524b
improve intersection test, just 1 index is enough. And add invalid att1/att2 tests
2019-06-26 22:19:34 +02:00
protolambda
f75e3dccb2
test old and future target epoch in attestation
2019-06-26 22:19:34 +02:00
protolambda
327953852d
test invalid shard in attestation
2019-06-26 22:19:34 +02:00
protolambda
13b67b4cde
sign blocks in eth1 vote tests
2019-06-26 22:19:34 +02:00
protolambda
f54d1a56f7
eth1 voting no consensus test
2019-06-26 22:19:27 +02:00
protolambda
b133dedeaf
Eth1 data test
2019-06-26 22:11:40 +02:00
Diederik Loerakker
d587c4fe61
Critical fix: introduce back total-value check ( #1220 )
...
This was dropped in a376b6607f
, as improvement in dust checking.
Now that dust-checking is done, we still need to check if the sender has the minimum value, as decrease balance just clips to 0.
See be86f966f8
for older dust-creation problem work around, which was dropped in the above.
The bug enabled you to transfer your full balance to someone else, and pay the same amount in fee, possibly to a puppet proposer to collect back funds.
Effectively enabling printing of money. Silly bug, good to fix and introduce tests for.
2019-06-26 20:21:17 +01:00
protolambda
82ae180490
clean up list limit constants
2019-06-24 23:38:36 +02:00
protolambda
0249cf651e
fix lint, and update encoder to handle the few imported types well
2019-06-22 20:04:17 +02:00
protolambda
47034a6c8c
fix imports in helper test file
2019-06-22 19:59:53 +02:00
protolambda
dd5ad2e2c5
remove unnecessary (and now outdated) type hints, update List encoding for generators
2019-06-22 19:48:06 +02:00
protolambda
f95e7315b4
fix get_active_validator_indices typing usage
2019-06-22 18:34:33 +02:00
Danny Ryan
8f99741344
remove commented old code
2019-06-21 14:47:18 -06:00
Danny Ryan
c09e45c5fc
fix rule_4 underflow and split out genesis finality test
2019-06-21 14:45:15 -06:00
protolambda
80c40f5e09
merge dev, resolve minor merge conflicts
2019-06-21 21:22:23 +02:00
Carl Beekhuizen
0e59c6676a
Stop yielding from fork-choie tests
2019-06-21 13:00:42 +02:00
protolambda
6648b3c49e
remove old deposits test, there is no deposit index in deposit data anymore
2019-06-21 00:23:28 +02:00
protolambda
c20372409c
comment out old deposit test, re-introduced soon maybe, cc Justin
2019-06-20 22:52:16 +02:00
protolambda
f27c44b953
fix deposit negative index fail
2019-06-20 22:49:34 +02:00
protolambda
6338c5b880
fix custody bug, needs review from Carl
2019-06-20 22:49:03 +02:00
protolambda
224c98a094
last() method, no negative index lookups
2019-06-20 20:55:17 +02:00
protolambda
4e747fb887
fixes for class based ssz typing
2019-06-20 20:25:22 +02:00
Carl Beekhuizen
e0d814df32
Merge branch 'dev' into executable_fork_choice
...
* dev:
Increase historical length and cleanups (#1196 )
2019-06-19 22:43:14 +02:00
Danny Ryan
29dbe1b880
Increase historical length and cleanups ( #1196 )
...
* increase historical length and a few cleanups
2019-06-19 20:59:44 +01:00
Carl Beekhuizen
31a4700223
Merge conflicts on `dev`
2019-06-17 22:09:43 -04:00
Danny Ryan
d7ac601b9e
Merge branch 'dev' into v071backport
2019-06-17 13:42:27 -06:00
Carl Beekhuizen
9f2d06b2e7
Somehow I had indented with 5 spaces everywhere.
2019-06-16 16:02:56 -04:00
Carl Beekhuizen
f421850dc9
Fixes tests! Thanks @hwwhww!
2019-06-16 15:53:42 -04:00
Carl Beekhuizen
4deb311b71
Debugging 1st test
2019-06-16 12:17:31 -04:00
Carl Beekhuizen
5d10cd63c7
SSZ (partially) handles Dicts
2019-06-16 09:52:52 -04:00
Carl Beekhuizen
061ecf7d0a
Adds fork-choice tests
2019-06-15 19:13:56 -04:00
Justin Drake
ed748a7d76
Address Danny's comments
2019-06-15 15:09:50 +01:00
Danny Ryan
a6230425b8
Merge branch 'dev' into container-cleanup
2019-06-14 10:36:41 -06:00
Danny Ryan
f834f727fa
lint
2019-06-13 18:03:20 -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
Diederik Loerakker
e4704e08cc
Merge pull request #1175 from ethereum/bytes-type-error
...
fix #1169 bytes type error
2019-06-13 22:49:19 +02:00
Danny Ryan
4a08abfa1d
ensure sanity tests run with bls
2019-06-13 14:47:53 -06:00
Danny Ryan
7c0cc7f801
fix #1169 bytes type error
2019-06-13 14:32:45 -06:00
Danny Ryan
577f76aff5
Merge pull request #1165 from ethereum/phase-generators
...
phase restricted generators
2019-06-11 16:48:18 -06:00
protolambda
7fafebd6cf
missed one case, fix withdrawal byte <> int problem
2019-06-11 17:32:42 +02:00
protolambda
2d636ddf5a
BLS withdrawal byte is formatted as int now, but still one byte. Justin changed spec, now fix tests + configs
2019-06-11 17:27:34 +02:00
Danny Ryan
cc625c7d6d
lint
2019-06-11 09:26:23 -06:00
Danny Ryan
ef1ef753a3
comment out transfer test from sanity tests
2019-06-11 09:16:37 -06:00
protolambda
e86771250b
Fix tests to use new constant name
2019-06-11 17:16:02 +02:00
protolambda
46d8422510
fix ssz container recognition for generators
2019-06-11 16:49:36 +02:00
Danny Ryan
94d4e3a944
operations suite generator for phase0
2019-06-10 20:05:43 -06:00
Danny Ryan
c4bf772d30
demo phase restricted generators for epoch processing
2019-06-10 17:26:39 -06:00