From ddb75824a3ff086bf777e8b74dce2be819830aed Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 26 Oct 2022 11:40:38 +0100 Subject: [PATCH] change proto names --- .../ccv/provider/v1/keymap.proto | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/proto/interchain_security/ccv/provider/v1/keymap.proto b/proto/interchain_security/ccv/provider/v1/keymap.proto index 73998e5278..6fd9652f6f 100644 --- a/proto/interchain_security/ccv/provider/v1/keymap.proto +++ b/proto/interchain_security/ccv/provider/v1/keymap.proto @@ -8,12 +8,17 @@ import "gogoproto/gogo.proto"; import "tendermint/crypto/keys.proto"; message LastUpdateMemo { - tendermint.crypto.PublicKey ck = 1; - tendermint.crypto.PublicKey pk = 2; + tendermint.crypto.PublicKey consumer_key = 1; + tendermint.crypto.PublicKey provider_key = 2; uint64 vscid = 4; int64 power = 5; } +message ConsAddrToKey { + bytes cons_addr = 1; + tendermint.crypto.PublicKey to = 2; +} + message KeyToKey { tendermint.crypto.PublicKey from = 1; tendermint.crypto.PublicKey to = 2; @@ -25,8 +30,10 @@ message ConsAddrToLastUpdateMemo { } message KeyMap { - repeated KeyToKey pk_to_ck = 1 [ (gogoproto.nullable) = false ]; - repeated KeyToKey ck_to_pk = 2 [ (gogoproto.nullable) = false ]; - repeated ConsAddrToLastUpdateMemo cca_to_last_update_memo = 3 + repeated ConsAddrToKey provider_cons_addr_to_consumer_key = 1 + [ (gogoproto.nullable) = false ]; + repeated KeyToKey consumer_key_to_provider_key = 2 + [ (gogoproto.nullable) = false ]; + repeated ConsAddrToLastUpdateMemo consumer_cons_addr_to_last_update_memo = 3 [ (gogoproto.nullable) = false ]; } \ No newline at end of file