(config: &DVFConfig, address: &Address)
| 406 | } |
| 407 | |
| 408 | pub 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 | |
| 416 | fn get_deployment_from_parity_trace( |
| 417 | config: &DVFConfig, |
no test coverage detected