56 Commits

Author SHA1 Message Date
protolambda
a4363ba096
tests for invalid signatures 2019-05-22 00:52:57 +02:00
protolambda
12af078a6c
make decorators return wrapped fn results properly 2019-05-21 23:03:59 +02:00
protolambda
8303c58aa4
bugfix, make BLS wrapper propagate test output properly 2019-05-21 22:53:46 +02:00
protolambda
cfc037fe75
tags applied after generation of vector (and only if), make BLS decorator 2019-05-21 22:28:47 +02:00
protolambda
ee9c1d911f
test tagging pattern 2019-05-21 21:51:28 +02:00
protolambda
4d08e9d7d6
signed block header 2019-05-21 21:22:32 +02:00
protolambda
ab251d4797
make tests work fast + bls signed optionally 2019-05-20 20:44:54 +02:00
protolambda
b0aea2a111
bugfix block proc transfer test 2019-05-20 19:38:18 +02:00
protolambda
90bcbd6ff4
fix attester slashing test 2019-05-17 21:56:41 +02:00
protolambda
a10aba4bb9
make valid attest creation fill aggregate bitfield 2019-05-17 21:36:17 +02:00
protolambda
0f00b43698
reduce validator key count again, fix valid attestation creation - snippet from Danny 2019-05-17 21:26:18 +02:00
protolambda
08d0ff9336
fix attestation aggregate bitfields 2019-05-17 21:20:09 +02:00
protolambda
183e3a5153
minor refactor import fix 2019-05-17 21:02:00 +02:00
protolambda
f937dec2a1
more keys, more validators, fix import 2019-05-17 20:54:34 +02:00
protolambda
62999d8ded
import fixes + fix import loop + fix minor signing things 2019-05-17 20:31:21 +02:00
protolambda
eea6c8f645
voluntary exit testing sigs 2019-05-15 23:26:05 +02:00
protolambda
9f00e4f0e4
sign transfers 2019-05-15 21:07:44 +02:00
protolambda
32efe49b33
proposer slashing signing 2019-05-15 21:07:24 +02:00
protolambda
242bb8c912
sign deposits 2019-05-15 20:50:20 +02:00
protolambda
b92a9d8857
sign block headers 2019-05-15 20:50:11 +02:00
protolambda
a9069cbf9e
attester slashing signing 2019-05-15 19:53:35 +02:00
protolambda
4dad74eec3
attestation signing 2019-05-15 19:47:50 +02:00
protolambda
8a43ec0132
add signing methods 2019-05-15 19:31:02 +02:00
protolambda
5c3e760c28
update remaining imports 2019-05-15 18:58:12 +02:00
protolambda
e07f1bc98f
update imports to new helpers + fix up imports 2019-05-15 18:45:25 +02:00
protolambda
a4e22639f3
fix/update bls funcs for testing 2019-05-15 18:37:11 +02:00
protolambda
51c82c5b81
clean up helpers, make helpers pkg 2019-05-15 18:36:32 +02:00
protolambda
ce4daea201
Merge branch 'bls-test-deco' into tests-with-sigs 2019-05-15 17:41:04 +02:00
protolambda
904e2e9c0c
BLS on/off deco 2019-05-13 23:15:02 +02:00
protolambda
4f3f68bc12
signatures in tests, most block-ops updated, still many to go 2019-05-11 21:31:37 +02:00
protolambda
680017f69c
voluntary exit test case: invalid, exit in future 2019-05-11 18:33:41 +02:00
protolambda
636a45a415
voluntary exit test case: invalid index 2019-05-11 18:31:05 +02:00
protolambda
17d057e503
improve transfer testing 2019-05-11 18:24:30 +02:00
protolambda
b4be220a48
new attestation tests
Co-Authored-By: Dmitry S <zilm13@users.noreply.github.com>
2019-05-11 17:52:44 +02:00
protolambda
a39623a95a
fix test tooling bug 2019-05-11 17:51:02 +02:00
protolambda
3189cf0079
new proposer slashing tests
Co-Authored-By: jannikluhn <jannik@brainbot.com>
2019-05-11 17:01:12 +02:00
protolambda
d9baee2481
move tests to standard pkg/test folder, enable conftest options with soft-import, update readme and makefile 2019-05-08 18:14:47 +02:00
protolambda
f9539ed1ab
move tests, update operations test vector generation 2019-05-08 17:33:09 +02:00
protolambda
bbaa1417a8
remove incorrect unnecessary offset 2019-05-02 09:16:01 +02:00
protolambda
524d7b09ba
implement SOS serialization in minimal_ssz.py 2019-05-02 00:34:17 +02:00
Justin
d067a9fcf2
Merge branch 'dev' into JustinDrake-patch-14 2019-04-20 15:19:21 +10:00
Justin Drake
f908c8d3e0 Revamped balances and incentivisation 2019-04-20 15:17:33 +10:00
protolambda
3a5243cc89
apply PR suggestions from djrtwo 2019-04-19 12:09:30 +10:00
protolambda
627c1a347a make encoder output large uints as string, and fix ssz suite config setting 2019-04-19 12:06:00 +10:00
protolambda
ad30722420 ssz-static suite 2019-04-19 12:06:00 +10:00
protolambda
23d6b468e3 Work towards testing all edge-cases of SSZ, for known (static) object types 2019-04-19 12:06:00 +10:00
protolambda
972168d695 Make type-inference stable on empty lists/vectors 2019-04-19 12:06:00 +10:00
Diederik Loerakker
d8a4a48ed8 SSZ impl fixes (#960)
* fix serialization mixup of array types, fix variable size vector serialization, document, structure and de-deduplicate code
* more cleanup + minor fixes in earlier improvements
* Make type-inference stable on empty lists/vectors
* Add get_zero_value
2019-04-18 22:54:17 +10:00
Justin
d4ce0d20a0
Cleanup per-epoch processing presentation (#959) 2019-04-18 19:08:34 +10:00
Justin
57e5409383
Simplify Eth1Data voting (#938)
Remove `Eth1DataVote` object and simplify logic throughout.
2019-04-17 14:30:03 +10:00