You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Motivation**
Currently to get a storage we are:
* getting the block header to obtain the state root
* getting the account to get the storage root
* reading the value
The first step isn't needed because the state root is the same through
the block, and the second isn't needed because since we're using a
path-based DB we can directly get the value (without even using the
trie, if the FKVs are computed).
**Description**
We make the VM database ask by state_root instead of block hash
(skipping step 1), and we skip reading the account storage root when the
FlatKeyValues are computed for it.
---------
Co-authored-by: Ivan Litteri <[email protected]>
Co-authored-by: Javier Chatruc <[email protected]>
Co-authored-by: Javier Rodríguez Chatruc <[email protected]>
0 commit comments