Fantom updates (#928)
* node: Add fantom to guardiand admin list-nodes * node: check fantom readiness for mainnet
This commit is contained in:
parent
695dcac26c
commit
fd96dced3a
|
@ -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 {
|
||||
|
|
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in New Issue