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.53k stars 848 forks source link

Subcommands to import and export bonsai trie log data #7933

Open garyschulte opened 1 week ago

garyschulte commented 1 week ago

Description

Besu trie logs should be import / export friendly and have a standard format. Currently trielogs can be imported and exported manually via ldb, however this is cumbersome and requires specialist knowledge. The ability to import and export trie logs will aid in debugging and recreating historical states with the bonsai storage format.

Acceptance Criteria

siladu commented 1 week ago

Were you aware of @gfukushima's Trie Log Import/Export feature https://github.com/hyperledger/besu/blob/27592b52996f7234abd6c653f69ce1b0ba7ccd42/besu/src/main/java/org/hyperledger/besu/cli/subcommands/storage/TrieLogSubCommand.java#L62-L63 ?