mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 19:38:06 +00:00
Fix network ID and validator icons (#189)
* fix: Validator icons * fix: Propagation time for blocks < highest * fix: Reintroduce network_id to Rust backend
This commit is contained in:
@@ -45,7 +45,9 @@ pub enum Details {
|
||||
#[serde(rename = "afg.received_commit")]
|
||||
AfgReceivedCommit(IgnoredAny),
|
||||
#[serde(rename = "afg.authority_set")]
|
||||
AfgAuthoritySet(IgnoredAny),
|
||||
AfgAuthoritySet(AfgAuthoritySet),
|
||||
#[serde(rename = "afg.finalized_blocks_up_to")]
|
||||
AfgFinalizedBlocksUpTo(IgnoredAny),
|
||||
#[serde(rename = "aura.pre_sealed_block")]
|
||||
AuraPreSealedBlock(IgnoredAny),
|
||||
#[serde(rename = "prepared_block_for_proposing")]
|
||||
@@ -81,6 +83,11 @@ pub struct Finalized {
|
||||
pub height: Box<str>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct AfgAuthoritySet {
|
||||
pub authority_id: Box<str>,
|
||||
}
|
||||
|
||||
impl Block {
|
||||
pub fn zero() -> Self {
|
||||
Block {
|
||||
|
||||
Reference in New Issue
Block a user