Skip to content

Commit

Permalink
update protos to included allowlisted denoms
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Sep 23, 2024
1 parent a7b871a commit 7764517
Show file tree
Hide file tree
Showing 4 changed files with 578 additions and 271 deletions.
3 changes: 3 additions & 0 deletions proto/interchain_security/ccv/provider/v1/provider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,6 @@ enum ConsumerPhase {
// DELETED defines the phase in which the state of a stopped chain has been deleted.
CONSUMER_PHASE_DELETED = 5;
}

// AllowlistedRewardDenoms corresponds to the denoms allowlisted by a specific consumer id
message AllowlistedRewardDenoms { repeated string denoms = 1; }
7 changes: 6 additions & 1 deletion proto/interchain_security/ccv/provider/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ message MsgChangeRewardDenoms {
repeated string denoms_to_remove = 2;
// authority is the address of the governance account
string authority = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];

}

// MsgChangeRewardDenomsResponse defines response type for MsgChangeRewardDenoms messages
Expand Down Expand Up @@ -360,6 +359,9 @@ message MsgCreateConsumer {
ConsumerInitializationParameters initialization_parameters = 4;

PowerShapingParameters power_shaping_parameters = 5;

// allowlisted reward denoms of the consumer
AllowlistedRewardDenoms allowlisted_reward_denoms = 7;
}

// MsgCreateConsumerResponse defines response type for MsgCreateConsumer
Expand Down Expand Up @@ -388,6 +390,9 @@ message MsgUpdateConsumer {

// the power-shaping parameters of the consumer when updated
PowerShapingParameters power_shaping_parameters = 6;

// allowlisted reward denoms of the consumer (if provided they overwrite previously set reward denoms)
AllowlistedRewardDenoms allowlisted_reward_denoms = 7;
}

// MsgUpdateConsumerResponse defines response type for MsgUpdateConsumer messages
Expand Down
Loading

0 comments on commit 7764517

Please sign in to comment.