# Week 6 And Week 7
This is the combined weekly update for week 6 and 7. We had to wait a couple of days for review of our approach in [revm](https://github.com/bluealloy/revm). After getting positive review from [@rakita](https://github.com/rakita) and [@mattsse](https://github.com/mattsse), we started our next work.
## Week 6
As suggested by them, we feature-gated the Storage Change part to avoid performance loss during pre-bal transactions. After that we started `BalanceChange`. It has a fair bit of edgecases to consider. Balance changes include:
- Transaction senders (gas + value)
- Recipients
- Coinbase (rewards + fees)
- SELFDESTRUCT beneficiaries
At first I implemented the basic transfer part. I stored the pre and post balance of the sender and reciever, however as per the eip, pre value is not really needed to be stored. But since we need to store the empty changes for zero value transfer, we decided on keeping both pre and post for now. Then I added the coinbase part and added a basic transfer check.
## Week 7
After that we implemented the nonce change.This has a bit of complexity when dealing with revert cases. After discussing with our mentors we also completed that part.
Code changes part is the last among the changes that are needed to be tracked. After successful completion of it,we need to work on the points included in the updated eip.
- **Consensus layer withdrawals:** Recipients recorded with final balance after withdrawal
- **System Contract caused changes:** Are recorded with transaction index `transaction_count + 1`
- **EIP-7002 withdrawals:** System contract storage diffs after dequeuing requests
- **EIP-7251 consolidations:** System contract storage diffs after dequeuing requests
- **EIP-2935 block hash:** `BLOCKHASH_STORAGE_ADDRESS` storage containing new `parent_hash`
- **EIP-4788 beacon root:** BEACON_ROOTS_ADDRESS storage containing new `parent_beacon_root`
We will look into this in the upcoming week.
## Other works
Along with that I also tried to solve small issues in reth, alloy and foundry :)
## Week 6 and 7 BAL PRs:
* [Balance Change for eip-7928](https://github.com/Soubhik-10/revm/pull/6)
* [Test fixes for bal revm](https://github.com/Soubhik-10/revm/pull/8)
* [Performance check](https://github.com/Soubhik-10/revm/pull/9)
* [Nonce change for eip-7928](https://github.com/Soubhik-10/revm/pull/12)
## Other PRs :
* [ Added debug_storageRangeAt support ](https://github.com/paradigmxyz/reth/pull/17615)
* [Tracked State for local pending block](https://github.com/paradigmxyz/reth/pull/17600)
* [Conversion transaction to transaction request](https://github.com/foundry-rs/foundry/pull/11151)
* [Introduced configurable version globals](https://github.com/paradigmxyz/reth/pull/17711)