From 091c8350603e9778d6d8732e96e1e45a70d37252 Mon Sep 17 00:00:00 2001 From: Sunny Aggarwal Date: Wed, 21 Oct 2020 21:44:40 -0400 Subject: [PATCH] Update adr-034-change-pubkey.md --- docs/architecture/adr-034-change-pubkey.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/architecture/adr-034-change-pubkey.md b/docs/architecture/adr-034-change-pubkey.md index 75d69ac42..0eddf6a94 100644 --- a/docs/architecture/adr-034-change-pubkey.md +++ b/docs/architecture/adr-034-change-pubkey.md @@ -16,7 +16,7 @@ Transferring all the assets of an account to a new account with the updated pubk ## Decision -We propose the creation of a new feature to `x/auth` that allows accounts to update the public key associated with their account, while keeping the address the same. +We propose the creation of a new feature to `x/auth` that allows accounts to update the public key associated with their account, while keeping the address the same. This feature can be enabled using an `EnableChangePubKey` param. This is possible because the Cosmos SDK `StdAccount` stores the public key for an account in state, instead of making the assumption that the public key is included in the transaction (whether explicitly or implicitly through the signature) as in other blockchains such as Bitcoin and Ethereum. Because the public key is stored on chain, it is okay for the public key to not hash to the address of an account, as the address is not pertinent to the signature checking process.