1use zksync_types::H256; 2 3pub fn h256_to_u64(value: H256) -> u64 { 4 let be_u64_bytes: [u8; 8] = value[24..].try_into().unwrap(); 5 u64::from_be_bytes(be_u64_bytes) 6}