pub fn new(
        environment: Arc<LmdbEnvironment>,
        trie_store: Arc<LmdbTrieStore>,
        empty_root_hash: Digest,
    ) -> Self {
        LmdbGlobalState {
            environment,
            trie_store,
            empty_root_hash,
        }
    }
/// Creates a state from an existing environment, store, and root_hash.
/// Intended to be used for testing.
Creates a state from an existing environment, store, and root_hash.
Intended to be used for testing.
Creates a state from an existing environment store and root_hash . Intended to be used for testing .
pub fn new(
        environment: Arc<LmdbEnvironment>,
        trie_store: Arc<LmdbTrieStore>,
        empty_root_hash: Digest,
    ) -> Self {
        LmdbGlobalState {
            environment,
            trie_store,
            empty_root_hash,
        }
    }
pub fn new ( environment : Arc < LmdbEnvironment > , trie_store : Arc < LmdbTrieStore > , empty_root_hash : Digest , ) -> Self { LmdbGlobalState { environment , trie_store , empty_root_hash , } }
Creates a state from an existing environment, store, and root_hash.
Creates a state from an existing environment store and root_hash .
environment
Arc<LmdbEnvironment>
trie_store
Arc<LmdbTrieStore>
empty_root_hash
Digest
environment
Arc<LmdbEnvironment>
trie_store
Arc<LmdbTrieStore>
empty_root_hash
Digest