(value: Validator)
| 20 | type Error = anyhow::Error; |
| 21 | |
| 22 | fn try_from(value: Validator) -> Result<Self, Self::Error> { |
| 23 | Ok(subnet_actor_getter_facet::Validator { |
| 24 | addr: payload_to_evm_address(value.addr.payload())?, |
| 25 | weight: fil_to_eth_amount(&value.weight)?, |
| 26 | metadata: ethers::core::types::Bytes::from(value.metadata), |
| 27 | }) |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | pub fn into_contract_validators( |
nothing calls this directly
no test coverage detected