Fantom updates (#928)

* node: Add fantom to guardiand admin list-nodes

* node: check fantom readiness for mainnet
This commit is contained in:
Jeff Schroeder 2022-03-01 20:32:31 -05:00 committed by GitHub
parent 695dcac26c
commit fd96dced3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -102,11 +102,11 @@ func runListNodes(cmd *cobra.Command, args []string) {
{"Polygon", vaa.ChainIDPolygon},
{"Avalanche", vaa.ChainIDAvalanche},
{"Oasis", vaa.ChainIDOasis},
{"Fantom", vaa.ChainIDFantom},
}
if isTestnet {
networks = append(networks, network{"Ropsten", vaa.ChainIDEthereumRopsten})
networks = append(networks, network{"Fantom", vaa.ChainIDFantom})
}
if len(only) > 0 {

View File

@ -285,9 +285,10 @@ func runNode(cmd *cobra.Command, args []string) {
readiness.RegisterComponent(common.ReadinessPolygonSyncing)
readiness.RegisterComponent(common.ReadinessAvalancheSyncing)
readiness.RegisterComponent(common.ReadinessOasisSyncing)
readiness.RegisterComponent(common.ReadinessFantomSyncing)
if *testnetMode {
readiness.RegisterComponent(common.ReadinessEthRopstenSyncing)
readiness.RegisterComponent(common.ReadinessFantomSyncing)
}
if *statusAddr != "" {