eth2.0-specs/test_libs/pyspec/eth2spec
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
..
debug use Bool as base name, make Bit an alias 2019-06-24 23:56:26 +02:00
fuzzing use Bool as base name, make Bit an alias 2019-06-24 23:56:26 +02:00
phase0 Get rid of state_transition.py 2019-05-01 13:14:10 +01:00
phase1 Merge in state_transition.py 2019-05-25 15:54:14 +02:00
test Critical fix: introduce back total-value check (#1220) 2019-06-26 20:21:17 +01:00
utils type hint uint input 2019-06-25 19:32:49 +02:00
__init__.py rename pyspec pkg to eth2spec 2019-04-03 14:18:17 +11:00