Read the CometBFT node ID (network identity) from the file we persisted during creation.
(&self)
| 556 | |
| 557 | /// Read the CometBFT node ID (network identity) from the file we persisted during creation. |
| 558 | pub fn cometbft_node_id(&self) -> anyhow::Result<String> { |
| 559 | read_file(self.path.join("keys").join(COMETBFT_NODE_ID)) |
| 560 | } |
| 561 | |
| 562 | /// Read the libp2p peer ID (network identity) from the file we persisted during creation. |
| 563 | pub fn fendermint_peer_id(&self) -> anyhow::Result<String> { |
no test coverage detected