eth2.0-specs/specs
Justin 88d8f80957
Fix two bugs (and some cleanups)
Fix two bugs:

1) The participant reward (previously known as "inclusion reward") should not be proportional to `effective_balance` because a sync committee member is already chosen with probability proportional to the effective balance. Credit to @vbuterin.
2) The participant reward (previously known as "inclusion reward") was too large by a factor of `len(participant_indices)`, not taking into account the `for` loop.

Fixing these two bugs actually makes the code significantly simpler and cleaner :)

@barnabemonnot: Could you check the logic? :) If confirmed happy to update the tests.
2021-04-02 14:52:32 +01:00
..
altair Fix two bugs (and some cleanups) 2021-04-02 14:52:32 +01:00
custody_game custody game doc naming updates 2021-03-30 01:39:01 +02:00
das Apply suggestions from @djrtwo 2021-03-30 01:33:17 +02:00
merge Fix merge beacon chain spec's toc 2021-03-29 11:56:43 -07:00
phase0 Merge pull request #2248 from hukkinj1/dev 2021-03-30 07:32:35 -06:00
sharding Apply suggestions from @djrtwo 2021-03-30 01:33:17 +02:00