nimbus-eth2/beacon_chain/spec
zah 9c1ff78f84
Fix a reward calculation bug affecting Prater epoch 64781 (#3428)
To calculate the deltas correctly, the `process_inactivity_updates` function
must be called before the rewards and penalties processing code in order to
update the `inactivity_scores` field in the state. This would have required
duplicating more logic from the spec in the ncli modules, so I've decided to
pay the price of introducing a run-time copy of the state at each epoch which
eliminates the need to duplicate logic (both for this fix and the previous one).

Other changes:

* Fixes for the read-only mode of the `BeaconChainDb`
* Fix an uint64 underflow in the debug output procedure for printing
  balance deltas
* Allow Bellatrix states in the reward computation helpers
2022-02-22 14:14:17 +02:00
..
datatypes proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
eth2_apis clean up / document init (#3387) 2022-02-16 16:44:04 +01:00
mev rearrange MEV code (#3319) 2022-01-25 19:43:28 +00:00
presets spec URL & copyright year update (#3338) 2022-01-29 01:05:39 +00:00
beacon_time.nim phase 0 & altair beacon chain and altair validator spec URL updates (#3339) 2022-01-29 13:53:31 +00:00
beaconstate.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
crypto.nim proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
digest.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
eth2_merkleization.nim Use nim-ssz-serialization module and rm local ssz code 2021-11-10 13:37:24 +02:00
eth2_ssz_serialization.nim initial migration from spec/datatypes/{merge => bellatrix} (#3249) 2022-01-06 12:25:35 +01:00
forks.nim converter function for reducing blocks to headers (#3410) 2022-02-18 21:35:52 +01:00
helpers.nim avoid nimZeroMem and stack usage in is_merge_transition_complete and is_merge_transition_block (#3399) 2022-02-16 07:16:01 +00:00
keystore.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
light_client_sync.nim rename sync_{committee_,}aggregate and execute_payload -> notify_new_payload (#3347) 2022-02-01 07:31:53 +00:00
network.nim rename MERGE_FORK_EPOCH to BELLATRIX_FORK_EPOCH (#3350) 2022-02-02 14:06:55 +01:00
presets.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
signatures.nim Store finalized block roots in database (3s startup) (#3320) 2022-01-30 18:51:04 +02:00
signatures_batch.nim rename no{R=>r}eturn, no{I=>i}init, short{l=>L}og, E{T=>t}h2Node, Beacon{c=>C}hainDB (#3403) 2022-02-16 23:24:44 +01:00
ssz_codec.nim REST JSON support improvements (#3232) 2022-01-06 08:38:40 +01:00
state_transition.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
state_transition_block.nim generic putCorruptState; {Merge=>Bellatrix}BeaconStateNoImmutableValidators (#3427) 2022-02-21 12:55:56 +01:00
state_transition_epoch.nim Fix a reward calculation bug affecting Prater epoch 64781 (#3428) 2022-02-22 14:14:17 +02:00
validator.nim phase 0 & altair beacon chain and altair validator spec URL updates (#3339) 2022-01-29 13:53:31 +00:00
weak_subjectivity.nim time: spring cleaning (#3262) 2022-01-11 11:01:54 +01:00