Skip to content

Commit

Permalink
feat(sdk): add signer field to AvalancheSubnetValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuttymoon committed Feb 13, 2024
1 parent 1a2998d commit ee94a52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ash_sdk/src/avalanche/subnets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ pub struct AvalancheSubnetValidator {
pub potential_reward: Option<u64>,
pub connected: bool,
#[serde(skip_serializing_if = "Option::is_none")]
pub signer: Option<ProofOfPossession>,
#[serde(skip_serializing_if = "Option::is_none")]
pub uptime: Option<f32>,
#[serde(skip_serializing_if = "Option::is_none")]
pub validation_reward_owner: Option<AvalancheOutputOwners>,
Expand Down Expand Up @@ -391,6 +393,7 @@ impl AvalancheSubnetValidator {
weight: validator.weight,
potential_reward: validator.potential_reward,
connected: validator.connected,
signer: validator.signer.clone(),
uptime: validator.uptime,
validation_reward_owner: validator
.validation_reward_owner
Expand Down

0 comments on commit ee94a52

Please sign in to comment.