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

Method update_state_trie

chain/src/world_state.rs:15–17  ·  view source on GitHub ↗
(&mut self, hash: H256)

Source from the content-addressed store, hash-verified

13 }
14
15 pub(crate) fn update_state_trie(&mut self, hash: H256) {
16 self.state_trie = hash;
17 }
18}

Callers 1

process_transactionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected