nimbus-eth2/beacon_chain
tersec 0b0bfd1de0
use StateData in place of BeaconState outside state transition code (#2551)
* use StateData in place of BeaconState outside state transition code

* propagate more StateData usage

* remove withStateVars().state

* wrap get_beacon_committee(BeaconState, ...) as gbc(StateData, ...)

* switch makeAttestation() to use StateData

* use StateData wrapper/dispatcher for get_committee_count_per_slot()

* convert AttestationCache.init(), weak subjectivity functions, and updateValidatorMetrics()

* add get_shuffled_active_validator_indices(StateData) and get_block_root_at_slot(StateData)

* switch makeAttestationData() to StateData

* sync AllTests-mainnet.md after rebase
2021-05-21 09:23:28 +00:00
..
consensus_object_pools use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
eth1 use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
fork_choice remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
gossip_processing Perform attestation check before broadcast (#2550) 2021-05-10 09:13:36 +02:00
networking Perform attestation check before broadcast (#2550) 2021-05-10 09:13:36 +02:00
rpc use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
spec use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
ssz use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
sync Fix integer overflow issue in sync_manager. (#2564) 2021-05-18 12:25:14 +02:00
validators use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim prune `validatorIndexFromPubKey` table 2021-05-20 14:10:23 +03:00
beacon_chain_db_immutable.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
beacon_clock.nim Nim-1.2.12 2021-04-19 10:53:58 +03:00
beacon_node_common.nim partially integrate eth1 merge changes (#2548) 2021-05-20 10:44:13 +00:00
beacon_node_status.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
beacon_node_types.nim fix subnet logic (#2555) 2021-05-11 22:03:40 +02:00
conf.nim Remove an inappropriate merge artifact 2021-05-20 13:55:33 +03:00
extras.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
filepath.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
interop.nim remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
nimbus_beacon_node.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
nimbus_beacon_node.nim.cfg Drop UseDiscv51 flag and only support discovery v5.1 2020-11-14 19:12:30 +02:00
nimbus_binary_common.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
nimbus_signing_process.nim remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
nimbus_validator_client.nim Perform attestation check before broadcast (#2550) 2021-05-10 09:13:36 +02:00
nimbus_validator_client.nim.cfg Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
ssz.nim Move SSZ, deposit_contracts & eth1_monitor [reorg files 3/5] (#2371) 2021-03-03 07:23:05 +01:00
statediff.nim Reset cached indices when resetting cache on SSZ read (#2480) 2021-04-08 13:11:04 +03:00
statusbar.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
version.nim Merge stable into unstable 2021-05-20 13:50:40 +03:00