(storage: Arc<Storage>)
| 20 | |
| 21 | impl AccountStorage { |
| 22 | pub(crate) fn new(storage: Arc<Storage>) -> Self { |
| 23 | Self { |
| 24 | trie: EthTrie::new(Arc::clone(&storage)), |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | pub(crate) fn upsert(&mut self, key: &Account, data: &AccountData) -> Result<()> { |
| 29 | self.trie |
nothing calls this directly
no outgoing calls
no test coverage detected