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
I designed trait StateTrie on the assumption that there was a struct that held AccountRlp (or something like it).
My understanding was that storages were out-of-band (BTreeMap<H256, TypedMpt> is sprinkled around the place).
For SMT support, do we care about updating the storage inside the smt?
If so, there will have to be another trait around storage handling, and probably a chunk of design work.
Indeed, you do care about individual storage cells. In the SMT format, the state trie doesn't store an account at a single place, but stores the nonce, the balance, the code hash, the code length and every individual (non-zero) storage cell value at different locations.
- @0xaatif in Slack
- @hratoanina in Slack
The text was updated successfully, but these errors were encountered: