Commit Graph

170 Commits

Author SHA1 Message Date
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
Carl Beekhuizen 24c4d21d5e
Minor edits + PEP8 2019-05-21 12:41:24 +02:00
Carl Beekhuizen 6b062405c9
merge dev -> carl-exec-phase1 2019-05-20 20:59:08 +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
Carl Beekhuizen cfed4bb41c
Adds missing functions 2019-05-20 10:50:07 +02:00
Danny Ryan a2108741e8
fix tests with new starT_epoch and end_epoch in Crosslink 2019-05-19 15:47:59 -06: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
Carl Beekhuizen 306a613c8a
Simplify minimal SSZ again 2019-05-16 21:01:32 +02:00
Carl Beekhuizen 3e085947b7
Linted :) 2019-05-16 12:38:50 +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
Carl Beekhuizen c10fb92776
Merge dev -> dankrad-p-7 2019-05-15 10:36:01 +02:00
protolambda 904e2e9c0c
BLS on/off deco 2019-05-13 23:15:02 +02:00
Danny Ryan 27c8e41b32
Merge branch 'dev' into JustinDrake-patch-14 2019-05-13 16:29:29 -04:00
protolambda 08faa86d70
POC ssz types spec build + update spec defs, typing still needs work 2019-05-12 23:56:53 +02:00
protolambda 761c9e55fe
SSZ impl. rework started, see issue 1064 2019-05-12 23:16:17 +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
Hsiao-Wei Wang e1343f99bb
Fix pyspec/eth2spec/debug lint 2019-05-09 14:34:23 +08:00
Dankrad Feist 6ab55efd3d
Phase 0 tests work on phase 1, yay :) 2019-05-08 23:30:08 +01: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
Dankrad Feist a604d03dff
Basic phase 1 pulling + correcting syntax errors in phase 1 2019-05-07 12:13:22 +01:00
Justin 9eeca0cdbd
Merge branch 'dev' into JustinDrake-patch-14 2019-05-07 10:16:38 +01: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 Drake 5df79d7565 Get rid of state_transition.py 2019-05-01 13:14:10 +01:00
Justin Drake 591a2b47c8 Simplify state_transition.py 2019-05-01 12:08:15 +01: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
Danny Ryan 882937b537 attesation proposer rewards to block processing (#920) 2019-04-17 12:32:50 +10:00
protolambda c3d321ada8
fix argument typing for auxilary transition func 2019-04-15 23:37:28 +10:00
protolambda e0400a87b1
Merge branch 'dev' into proto-merge-test-gen 2019-04-15 16:35:38 +10:00
protolambda 3f61780260
Merge branch 'dev' into proto-merge-test-gen 2019-04-10 22:34:42 +10:00
protolambda db91c7fe9e
Work for new pyspec based test generators 2019-04-10 21:45:46 +10:00
protolambda 9e010da118
rename pyspec pkg to eth2spec 2019-04-03 14:18:17 +11:00