Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed codec issue for generate did cli #387

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/hid-noded/cmd/generate_ssi.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func generateDidCmd() *cobra.Command {

switch keyringBackend {
case "test":
kr, err = keyring.New(appName, "test", didAliasConfig.HidNodeConfigDir, nil, nil)
kr, err = keyring.New(appName, "test", didAliasConfig.HidNodeConfigDir, nil, app.MakeEncodingConfig().Codec)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion x/ssi/client/cli/tx_ssi.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func CmdRegisterDID() *cobra.Command {
return fmt.Errorf("unsupported keyring backend for DID Document Alias Signing: %v", keyringBackend)
}

kr, err := keyring.New("hid-node-app", keyringBackend, didAliasConfig.HidNodeConfigDir, nil, nil)
kr, err := keyring.New("hid-node-app", keyringBackend, didAliasConfig.HidNodeConfigDir, nil, clientCtx.Codec)
if err != nil {
return err
}
Expand Down
Loading