Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddimaria/rust-blockchain-tutorial
/ WorldState
Class
WorldState
chain/src/world_state.rs:4–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
3
#[derive(Debug)]
4
pub(crate) struct WorldState {
5
state_trie: H256,
6
}
7
8
impl WorldState {
9
pub(crate) fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected