Skip to content

Commit

Permalink
change proto names
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Oct 26, 2022
1 parent d6dd825 commit ddb7582
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions proto/interchain_security/ccv/provider/v1/keymap.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 ];
}

0 comments on commit ddb7582

Please sign in to comment.