-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel
committed
Oct 25, 2022
1 parent
db04c2d
commit 31ac0f5
Showing
2 changed files
with
61 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
syntax = "proto3"; | ||
|
||
package interchain_security.ccv.provider.v1; | ||
|
||
option go_package = "github.com/cosmos/interchain-security/x/ccv/types"; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "tendermint/crypto/keys.proto"; | ||
|
||
message LastUpdateMemo { | ||
tendermint.crypto.PublicKey ck = 1; | ||
tendermint.crypto.PublicKey pk = 2; | ||
bytes cca = 3; | ||
uint64 vscid = 4; | ||
int64 power = 5; | ||
} | ||
|
||
message KeyToKey { | ||
tendermint.crypto.PublicKey from = 1; | ||
tendermint.crypto.PublicKey to = 2; | ||
} | ||
|
||
message KeyToLastUpdateMemo { | ||
tendermint.crypto.PublicKey key = 1; | ||
LastUpdateMemo last_update_memo = 2; | ||
} | ||
|
||
message ConsAddrToKey { | ||
bytes cons_addr = 1; | ||
tendermint.crypto.PublicKey key = 2; | ||
} | ||
|
||
message KeyMap { | ||
repeated KeyToKey pk_to_ck = 1 [ (gogoproto.nullable) = false ]; | ||
repeated KeyToKey ck_to_pk = 2 [ (gogoproto.nullable) = false ]; | ||
repeated KeyToLastUpdateMemo ck_to_last_update_memo = 3 | ||
[ (gogoproto.nullable) = false ]; | ||
repeated ConsAddrToKey cca_to_ck = 4 [ (gogoproto.nullable) = false ]; | ||
} |