MCPcopy Create free account
hub / github.com/SeismicSystems/summit / get_state_root

Method get_state_root

rpc/src/server.rs:402–408  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

400 let consensus_pub = consensus_priv_key.public_key();
401
402 let node_priv_key = key_paths
403 .node_private_key()
404 .map_err(|e| RpcError::KeyStoreError(format!("Failed to read node key: {}", e)))?;
405 let node_pub = node_priv_key.public_key();
406
407 let req = DepositRequest {
408 node_pubkey: node_pub.clone(),
409 consensus_pubkey: consensus_pub.clone(),
410 withdrawal_credentials,
411 amount,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected