Consensys / shomei

Shomei Linea state manager extends the Hyperledger Besu functionality. This component communicates with Besu in order to maintain and update the ZK state. This component will communicate with Besu thanks to this plugin https://github.com/ConsenSys/besu-shomei-plugin
https://documenter.getpostman.com/view/27370530/2s93ebTr7h
Apache License 2.0
1 stars 5 forks source link

Fix trielog shipping issue #68

Closed matkt closed 11 months ago

matkt commented 11 months ago

PR Description

Fix trielog shipping issue during self destruct and add some opitmizations

This fix enables the recreation of the account in a new leaf index in the event of a self-destruct and recreate within the same block. Prior to this fix, Shomei did not perform this operation, which could result in pointing to the old version (leaf index) of an account after the recreate. This led to an issue where we did not have an empty storage and ended up retrieving the storage from before the self-destruct, which is not the expected behavior. Now, with this fix, we ensure that a new leaf index is created for the recreated account, providing an accurate and empty storage state.

Fixed Issue(s)

Documentation

Changelog