Carl Beekhuizen
|
5155bc6c4f
|
Makes everything pass around
|
2019-05-30 22:57:18 +02:00 |
Michael Sproul
|
cc5b172da3
|
Test deposit top-up with inconsistent withdrawal credentials (#1133)
* Simplify deposits
* Avoid divisions by zero
Possible fix to avoid four cases of divisions by zero:
* `return state.validator_registry[index].effective_balance // adjusted_quotient // BASE_REWARDS_PER_EPOCH`
* `rewards[index] += get_base_reward(state, index) * attesting_balance // total_balance`
* `validator.effective_balance * min(total_penalties * 3, total_balance) // total_balance`
* `rewards[index] += base_reward * attesting_balance // committee_balance`
See also #1107.
* fix deposit test for new index handling
* tests: deposit with inconsistent withdrawal credentials
* Update README.md
* Update 0_beacon-chain.md
* Fix linter errors
* Update test_process_deposit.py
* fix deposit test
* fix lint
|
2019-05-29 20:38:55 -06:00 |
Hsiao-Wei Wang
|
6ec59867ef
|
Fix linter errors
|
2019-05-30 09:53:46 +08:00 |
Danny Ryan
|
d3d8b36365
|
Merge branch 'dev' into v06x-to-dev
|
2019-05-27 11:09:52 -06:00 |
protolambda
|
b12031b48d
|
not signed by default
|
2019-05-24 18:38:51 +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
|
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
|
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
|
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
|
32efe49b33
|
proposer slashing signing
|
2019-05-15 21:07:24 +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
|
e07f1bc98f
|
update imports to new helpers + fix up imports
|
2019-05-15 18:45:25 +02:00 |
protolambda
|
51c82c5b81
|
clean up helpers, make helpers pkg
|
2019-05-15 18:36:32 +02:00 |