phos-data-network 0.1.3

DATA Network light-client integration for Phos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use phos_light_client::types::{Hash, Height};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Default, Clone)]
pub struct ChainConfig {
    pub chain_id: u64,
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct TrustOptions {
    pub height: Height,
    #[serde(with = "cometbft::serializers::hash")]
    pub hash: Hash,
}