-
Notifications
You must be signed in to change notification settings - Fork 217
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
Change bech32 prefix for 1854h purpose (shared wallets) #2870
Change bech32 prefix for 1854h purpose (shared wallets) #2870
Conversation
Ok, so now when we create acct pub key from "Shelley" wallet with purpose
OK. However, it is not quite in-line with
We need to explicitly say "Shared" to get proper prefix:
So, I guess we need a change on cardano-addresses side too? What do you think @paweljakubas? |
…e same as from cardano-wallet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
(note the remark/question around cardano-address change)
@@ -963,6 +969,8 @@ spec = describe "SHELLEY_ADDRESSES" $ do | |||
}|] | |||
(_, accXPub3) <- unsafeRequest @ApiAccountKey ctx accountPath payload3 | |||
accXPub1 `shouldNotBe` accXPub3 | |||
let (Aeson.String accXPub3Txt) = toJSON accXPub3 | |||
T.isPrefixOf "acct_shared_xvk" accXPub3Txt `shouldBe` True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
bors r+ |
Build succeeded: |
acct_shared_
when 1854H is usedComments
Issue Number
adp-1114