-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels