nimbus-eth2/beacon_chain/rpc
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
..
beacon_api.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
beacon_rest_api.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
config_api.nim remove some BeaconState use and abstract over other uses (#2482) 2021-04-08 08:24:25 +00:00
config_rest_api.nim more abstraction over BeaconState (#2509) 2021-04-16 08:49:37 +00:00
debug_api.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
debug_rest_api.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
eth2_json_rest_serialization.nim partially integrate eth1 merge changes (#2548) 2021-05-20 10:44:13 +00:00
eth2_json_rpc_serialization.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
eth_merge_sigs.nim non-intrusive, novel portions of merge (#2535) 2021-05-04 11:54:19 +00:00
eth_merge_web3.nim partially integrate eth1 merge changes (#2548) 2021-05-20 10:44:13 +00:00
event_api.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
event_rest_api.nim Address #2491. 2021-04-13 17:07:41 +03:00
nimbus_api.nim abstract over more BeaconState usage (#2496) 2021-04-14 11:34:35 +02:00
nimbus_rest_api.nim Convert all the tuples to objects because of de-serialization of tuples issue. 2021-05-21 09:47:13 +03:00
node_api.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
node_rest_api.nim Convert all the tuples to objects because of de-serialization of tuples issue. 2021-05-21 09:47:13 +03:00
rest_utils.nim REST API test framework and tests. (#2492) 2021-04-27 23:46:24 +03:00
rpc_utils.nim remove some BeaconState use and abstract over other uses (#2482) 2021-04-08 08:24:25 +00:00
validator_api.nim partially integrate eth1 merge changes (#2548) 2021-05-20 10:44:13 +00:00
validator_rest_api.nim Fix /api/eth/v1/validator/aggregate_and_proofs call 2021-05-21 09:47:13 +03:00