diff --git a/docs/architecture/adr-034-change-pubkey.md b/docs/architecture/adr-034-account-rekeying.md similarity index 93% rename from docs/architecture/adr-034-change-pubkey.md rename to docs/architecture/adr-034-account-rekeying.md index 15979759b5..0073d6f0a0 100644 --- a/docs/architecture/adr-034-change-pubkey.md +++ b/docs/architecture/adr-034-account-rekeying.md @@ -1,4 +1,4 @@ -# ADR 034: Change PubKey +# ADR 034: Account Rekying ## Changelog @@ -6,7 +6,11 @@ ## Status -Proposed +PROPOSED + +## Abstract + +Account rekeying is a process hat allows an account to replace its authentication pubkey with a new one. ## Context @@ -23,10 +27,16 @@ This is possible because the Cosmos SDK `BaseAccount` stores the public key for To build this system, we design a new Msg type as follows: ```protobuf +service Msg { + rpc ChangePubKey(MsgChangePubKey) returns (MsgChangePubKeyResponse); +} + message MsgChangePubKey { string address = 1; google.protobuf.Any pub_key = 2; } + +message MsgChangePubKeyResponse {} ``` The MsgChangePubKey transaction needs to be signed by the existing pubkey in state.