From 68ba5647a24be83bb008a6bebbbdf508f43e2cc7 Mon Sep 17 00:00:00 2001 From: Sunny Aggarwal Date: Wed, 21 Oct 2020 21:42:47 -0400 Subject: [PATCH] Update adr-034-change-pubkey.md --- docs/architecture/adr-034-change-pubkey.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/architecture/adr-034-change-pubkey.md b/docs/architecture/adr-034-change-pubkey.md index ff262495ef..75d69ac428 100644 --- a/docs/architecture/adr-034-change-pubkey.md +++ b/docs/architecture/adr-034-change-pubkey.md @@ -29,10 +29,7 @@ message MsgChangePubKey { } ``` -As an example, account pubkey change message can be defined as follows. - - -Here, the signature is signed for the public key thats current in-state for account `cosmos1wf5h7meplxu3sc6rk2agavkdsmlsen7rgsasxk`, as normally done in the ante-handler. +The MsgChangePubKey transaction needs to be signed by the existing pubkey in state. Once, approved, the handler for this message type, which takes in the AccountKeeper, will update the in-state pubkey for the account and replace it with the pubkey from the Msg.