# EPF Week 8 Update (NC Navie Chan) ## Summary Been spending the entire week on coding and the basic implementation on the sync committtee reward api is finished. Still need to figure out how we test the code and determine if the code satisfies the beacon api spec. Was sick for a few days during this week (Covid) so the project was going slower than previous week. After consulting with Sproul regarding how we test the sync committee rewards code we've developed in the previous week, he suggests to refactor and decouple the code into two separate pieces to allow unit tests to be done. For the `execution_optimistic` and `finalized` fields in the endpoint response, especially `finalized`, currently there's no way to retrieve the values but someone else is work on it in a separate issue so we will leave them null for now. Will have another call with Sproul next Monday (Dec 19) to touch base before our holiday season begins. ## What I did - Consulted Sproul on how to test code and how to retrieve values for `execution_optimistic` and `finalized` - Refactored some of the code and wrote unit test (Still in progress) ## Goal Next Week - Touch base with Sproul again - Finish up the development work that started this week - There was a confusing communication on whether to use the state before or after the block was applied in a slot to calculate the rewards. Though pre-state is certainly correct, but post-state is way easier and more efficient to retrieve.