Skip to content

Commit

Permalink
chore: remove version types
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Oct 18, 2024
1 parent a53374c commit f2dd3da
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/providers-alloy/src/beacon_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,6 @@ impl APIConfigResponse {
}
}

/// An API version response.
#[derive(Debug, Default, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub struct APIVersionResponse {
/// The data.
pub data: VersionInformation,
}

/// Version information.
#[derive(Debug, Default, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub struct VersionInformation {
/// The version.
pub version: String,
}

impl APIGenesisResponse {
/// Creates a new API genesis response.
pub const fn new(genesis_time: u64) -> Self {
Expand Down

0 comments on commit f2dd3da

Please sign in to comment.