Skip to content

Commit

Permalink
update protos for library location updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Mar 1, 2024
1 parent 6d4478b commit 2142210
Show file tree
Hide file tree
Showing 5 changed files with 329 additions and 333 deletions.
2 changes: 1 addition & 1 deletion proto/provenance/marker/v1/marker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ message MarkerAccount {
string denom = 5;
// the total supply expected for a marker. This is the amount that is minted when a marker is created.
string supply = 6 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "json:\"total_supply\" yaml:\"total_supply\""
];
Expand Down
15 changes: 11 additions & 4 deletions proto/provenance/reward/v1/reward.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package provenance.reward.v1;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/provenance-io/provenance/x/reward/types";
option java_package = "io.provenance.reward.v1";
Expand Down Expand Up @@ -154,11 +155,17 @@ message ActionDelegate {
// Maximum amount that the user must have currently delegated on the validator.
cosmos.base.v1beta1.Coin maximum_delegation_amount = 4;
// Minimum percentile that can be below the validator's power ranking.
string minimum_active_stake_percentile = 5
[(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
string minimum_active_stake_percentile = 5 [
(cosmos_proto.scalar) = "cosmos.Dec",
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
(gogoproto.nullable) = false
];
// Maximum percentile that can be below the validator's power ranking.
string maximum_active_stake_percentile = 6
[(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
string maximum_active_stake_percentile = 6 [
(cosmos_proto.scalar) = "cosmos.Dec",
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
(gogoproto.nullable) = false
];
}

// ActionTransfer represents the transfer action and its required eligibility criteria.
Expand Down
Loading

0 comments on commit 2142210

Please sign in to comment.