Skip to main content

test_network_hash

Function test_network_hash 

Source
pub fn test_network_hash() -> NetworkHash
Expand description

The NetworkHash that TestEnvironments are created with: sha256(TEST_NETWORK_NAME).

Pass a different one to TestEnvironment::with_network_hash if a test needs to pin a specific network.