Hi,
In my last update, our beacon-APIs
endpoints merged; you can check them out in the API browser. Since then, the priority has been on the following three things:
We decided to start with the implementation of sync_committee_rewards
because it is the most straightforward API. The implementation can be roughly divided into the following parts:
compute_sync_committe_rewards
chain
from BeaconChain<T>
chain.get_blinded_block(block_root)
chain.get_state(state_root, None)
block_id.root(&chain)
consensus/state_processing
Next, we will examine how these three parts could be implemented. The following sections are the first draft and could be changed massively in the next dev updates.
This section consists of three subsections, to load a block, to load a state, and to convert a slot into the canonical block root.
Sync_committee_rewards
includes some back and forth with sproul to fully get the implementation right. Once approved, we can move on to either the block_rewards
or attestation_rewards
.