Skip to content

Comments

Rename network type from kind to type#2582

Closed
sukantoraymond wants to merge 13 commits intomainfrom
rename-network-type
Closed

Rename network type from kind to type#2582
sukantoraymond wants to merge 13 commits intomainfrom
rename-network-type

Conversation

@sukantoraymond
Copy link
Contributor

This PR:

  • Renames NetworkKind to NetworkType to better reflect what it does
  • Assigns globalNetworkFlag value based on network value in node create command

}
gomega.Expect(err).Should(gomega.BeNil())

output, err := commands.ListValidators(subnetName, "local")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this test does not need to be removed, but ListValidators implementation fixed (really blockchain validators fixed)

}

// Gas Kind
// Gas Type
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably want to rename other Gas Kind relayer stuff, eg promptGasTokenKind, defaultsKind, etc. I mean, this comment relates to Gas Kind so all other stuff also applies (or keep comment unmodified for the moment on)

networkoptions.NonLocalSupportedNetworkOptions,
"",
)
setGlobalNetworkFlags(network)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we continue using globalNetworkFlags after the network is decided? most probably
we need to avoid using flags from here onwards

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this functon, the idea is to generate network from flags, not the other way


func printAddrInfos(addrInfos []addressInfo) {
header := []string{"Kind", "Name", "Subnet", "Address", "Token", "Balance", "Network"}
header := []string{"Type", "Name", "Subnet", "Address", "Token", "Balance", "Network"}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, if we replace here, probably we want to replace all addIngo.kind stuff, or avoid replacing here

Copy link
Collaborator

@felipemadero felipemadero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also continue having e2e issues. please use latest ANR to fix those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants