MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / AccountStorage

Class AccountStorage

chain/src/account.rs:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#[derive(Debug)]
17pub(crate) struct AccountStorage {
18 pub(crate) trie: EthTrie<Storage>,
19}
20
21impl AccountStorage {
22 pub(crate) fn new(storage: Arc<Storage>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected