iron-fish / ironfish

A novel cryptocurrency focused on privacy and accessibility.
https://ironfish.network
Mozilla Public License 2.0
964 stars 577 forks source link

implements EvmStateDB #5055

Closed hughy closed 2 weeks ago

hughy commented 3 weeks ago

Summary

uses the blockchainDB as the same database for evm state storage

adds EvmStateDB as a database store within the same underlying LevelDB database

defines EvmState class to wrape the Trie and SateManager needed for storing EVM state data in the database

adds a simple CLI command to prove that reads/writes for EVM data work

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API Reference)? If yes, link a related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes
hughy commented 3 weeks ago

Nice! Super clean and simple. You want to target this @ evm branch?

Re-targeted to the evm branch!