MCPcopy Create free account
hub / github.com/ChainSecurity/deployment_validation / get_deployment_block

Function get_deployment_block

lib/web3.rs:408–414  ·  view source on GitHub ↗
(config: &DVFConfig, address: &Address)

Source from the content-addressed store, hash-verified

406}
407
408pub fn get_deployment_block(config: &DVFConfig, address: &Address) -> Result<u64, ValidationError> {
409 let deployment: Result<(u64, String), ValidationError> = get_deployment(config, address);
410 match deployment {
411 Ok((block_num, _tx_hash)) => Ok(block_num),
412 Err(e) => Err(e),
413 }
414}
415
416fn get_deployment_from_parity_trace(
417 config: &DVFConfig,

Callers 2

validate_dvfFunction · 0.85
processFunction · 0.85

Calls 1

get_deploymentFunction · 0.85

Tested by

no test coverage detected