MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / current_network

Function current_network

fendermint/testing/materializer/src/docker/mod.rs:1090–1095  ·  view source on GitHub ↗

The current address network needs to be set on the containers to match the addresses we created.

()

Source from the content-addressed store, hash-verified

1088
1089/// The current address network needs to be set on the containers to match the addresses we created.
1090fn current_network() -> &'static str {
1091 match fvm_shared::address::current_network() {
1092 fvm_shared::address::Network::Mainnet => "mainnet",
1093 fvm_shared::address::Network::Testnet => "testnet",
1094 }
1095}
1096
1097/// Get the user ID we can use with docker to have the same file permissions
1098/// as some file or directory on the file system, so that files created by a

Callers 2

runFunction · 0.85
envMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected