hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.49k stars 812 forks source link

Only save the codehash in the flat db and not in the verkle tree #7224

Open matkt opened 3 months ago

matkt commented 3 months ago

Description

The idea is not to save the code in the Verkle tree but just in the flat DB. This will save space. The code on the Verkle side will only be used to calculate the commitments. We need to consider if this can work with Besu during rollforwards and rollbacks.