fix(explorer): fix uptime to reference genesisTime field (#1807)

This commit is contained in:
Elmar 2022-10-20 16:11:55 +01:00 committed by GitHub
parent 1964d42e5b
commit 31ea48b90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -78,9 +78,9 @@ export interface NetworkStats_statistics {
*/
chainId: string;
/**
* RFC3339Nano uptime of the node
* RFC3339Nano genesis time of the chain
*/
upTime: string;
genesisTime: string;
}
export interface NetworkStats {

View File

@ -38,7 +38,7 @@ const STATS_QUERY = gql`
appVersion
chainVersion
chainId
upTime
genesisTime
}
}
`;

View File

@ -140,7 +140,7 @@ export const statsFields: { [key in keyof Stats]: StatFields[] } = {
description: t('Tendermint software version on this node'),
},
],
upTime: [
genesisTime: [
{
title: t('Uptime'),
formatter: (t: string) => {