Skip to content

bench32Prefixes donnot change。  #5091

@elvin-du

Description

Summary

bench32Prefixes donnot change.

I have changed prefixes using SetBech32PrefixForAccount(),SetBech32PrefixForValidator(),SetBech32PrefixForConsensusNode()method, but gaiacli keys parse command cannot use new prefixes.

for example:
I made the following changes to the gaiacli code. new gaiacli can generate addresses prefixed with mdk, But when using the gaiacli keys parse command, the cosmos prefix is still generated.

func main() {
	// Configure cobra to sort commands
	cobra.EnableCommandSorting = false

	// Instantiate the codec for the command line application
	cdc := app.MakeCodec()

	// Read in the configuration file for the sdk
	config := sdk.GetConfig()
	config.SetBech32PrefixForAccount("mdk", "mdkpub")
	config.Seal()
.....
}

Problem Definition

Proposal


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

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

Metadata

Assignees

Labels

T: Dev UXUX for SDK developers (i.e. how to call our code)T:Bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions