eth2.0-specs/test_libs/pyspec/eth2spec/test
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
..
helpers clean up list limit constants 2019-06-24 23:38:36 +02:00
phase_0 Critical fix: introduce back total-value check (#1220) 2019-06-26 20:21:17 +01:00
phase_1 Cleanup containers 2019-06-09 20:41:21 +01:00
sanity fix lint, and update encoder to handle the few imported types well 2019-06-22 20:04:17 +02:00
__init__.py 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
conftest.py Removes old tests & fixes phase1 tests 2019-05-31 12:44:34 +02:00
context.py operations suite generator for phase0 2019-06-10 20:05:43 -06:00
test_finality.py remove unnecessary (and now outdated) type hints, update List encoding for generators 2019-06-22 19:48:06 +02:00
test_fork_choice.py merge dev, resolve minor merge conflicts 2019-06-21 21:22:23 +02:00
utils.py fix ssz container recognition for generators 2019-06-11 16:49:36 +02:00