bsc
bsc copied to clipboard
core, cmd, accounts, eth, light, trie: seperate out CodeStore interface
Description
This PR separates the logic of maintaining contract code from the state.cachingDB, defining another struct called state.CodeDB.
Rationale
It will bring following benefits:
- Separate contract code to a separated database
- Cleaner code
Example
NA
Changes
Notable changes:
- NA