Skip to content

Commit

Permalink
update proto files
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke committed Oct 23, 2024
1 parent 9b5c5df commit e9fae28
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 541 deletions.
30 changes: 12 additions & 18 deletions proto/interchain_security/ccv/consumer/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ import "tendermint/abci/types.proto";
// Note: this type is only used on consumer side and references shared types with
// provider
message GenesisState {
// Reserve 5th slot for removed provider_client_state field
reserved 5;

// Reserve 6th slot for removed provider_consensus_state field
reserved 6;

// Reserve 7th slot for removed maturing_packets field
reserved 7;

// Reserve 8th slot for removed initial_val_set field
reserved 8;

// ConsumerParams is a shared type with provider module
interchain_security.ccv.v1.ConsumerParams params = 1
[ (gogoproto.nullable) = false ];
Expand All @@ -29,15 +41,6 @@ message GenesisState {
string provider_channel_id = 3;
// true for new chain, false for chain restart.
bool new_chain = 4;
// !!! DEPRECATED !!! ProviderClientState is deprecated. Use provider.client_state instead
ibc.lightclients.tendermint.v1.ClientState provider_client_state = 5 [ deprecated = true];
// !!! DEPRECATED !!! ProviderConsensusState is deprecated. Use provider.consensus_state instead
ibc.lightclients.tendermint.v1.ConsensusState provider_consensus_state = 6 [ deprecated = true];
// MaturingPackets nil on new chain, filled in on restart.
repeated MaturingVSCPacket maturing_packets = 7
[ (gogoproto.nullable) = false ];
// !!! DEPRECATED !!!! InitialValset is deprecated. Use provider.initial_val_set instead
repeated .tendermint.abci.ValidatorUpdate initial_val_set = 8 [ (gogoproto.nullable) = false, deprecated = true ];
// HeightToValsetUpdateId nil on new chain, filled in on restart.
repeated HeightToValsetUpdateID height_to_valset_update_id = 9
[ (gogoproto.nullable) = false ];
Expand Down Expand Up @@ -73,15 +76,6 @@ message OutstandingDowntime { string validator_consensus_address = 1; }
// to the consumer CCV module.
message LastTransmissionBlockHeight { int64 height = 1; }

// MaturingVSCPacket represents a vsc packet that is maturing internal to the
// consumer CCV module, where the consumer has not yet relayed a VSCMatured
// packet back to the provider.
message MaturingVSCPacket {
uint64 vscId = 1;
google.protobuf.Timestamp maturity_time = 2
[ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ];
}

// ConsumerPacketDataList is a list of consumer packet data packets.
//
// Note this type is used internally to the consumer CCV module
Expand Down
Loading

0 comments on commit e9fae28

Please sign in to comment.