From ae5036c1d27a0dbc89e7d5dd9c0511bc2c8ce334 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Tue, 9 Jul 2024 16:46:19 +0200 Subject: [PATCH] chore: add comment --- api/poktroll/tokenomics/event.pulsar.go | 2 ++ proto/poktroll/tokenomics/event.proto | 2 ++ x/tokenomics/types/event.pb.go | 2 ++ 3 files changed, 6 insertions(+) diff --git a/api/poktroll/tokenomics/event.pulsar.go b/api/poktroll/tokenomics/event.pulsar.go index 863dabcaa..abc75bb3c 100644 --- a/api/poktroll/tokenomics/event.pulsar.go +++ b/api/poktroll/tokenomics/event.pulsar.go @@ -2544,6 +2544,8 @@ func (x *EventRelayMiningDifficultyUpdated) GetNewNumRelaysEma() uint64 { return 0 } +// EventApplicationOverserviced is emitted when an application has less stake +// than the expected burn. type EventApplicationOverserviced struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/proto/poktroll/tokenomics/event.proto b/proto/poktroll/tokenomics/event.proto index 884c0c094..f45cd6389 100644 --- a/proto/poktroll/tokenomics/event.proto +++ b/proto/poktroll/tokenomics/event.proto @@ -36,6 +36,8 @@ message EventRelayMiningDifficultyUpdated { uint64 new_num_relays_ema = 5; } +// EventApplicationOverserviced is emitted when an application has less stake +// than the expected burn. message EventApplicationOverserviced { string application_addr = 1; cosmos.base.v1beta1.Coin expected_burn = 2; diff --git a/x/tokenomics/types/event.pb.go b/x/tokenomics/types/event.pb.go index f344ba456..8ac8e9321 100644 --- a/x/tokenomics/types/event.pb.go +++ b/x/tokenomics/types/event.pb.go @@ -236,6 +236,8 @@ func (m *EventRelayMiningDifficultyUpdated) GetNewNumRelaysEma() uint64 { return 0 } +// EventApplicationOverserviced is emitted when an application has less stake +// than the expected burn. type EventApplicationOverserviced struct { ApplicationAddr string `protobuf:"bytes,1,opt,name=application_addr,json=applicationAddr,proto3" json:"application_addr,omitempty"` ExpectedBurn *types1.Coin `protobuf:"bytes,2,opt,name=expected_burn,json=expectedBurn,proto3" json:"expected_burn,omitempty"`