Skip to content

Commit f10d69a

Browse files
committed
docs(proto): remove wrong cumulative_payment comment
1 parent 689f53d commit f10d69a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/grpc/disperser/v2/disperser_v2.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/proto/disperser/v2/disperser_v2.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,15 @@ message GetPaymentStateForAllQuorumsReply {
197197
map<uint32, QuorumReservation> reservations = 3;
198198
// off-chain on-demand payment usage.
199199
// The bytes are parsed to a big.Int value.
200-
// This value should always be <= cumulative_payment, as the disperser cumulative_payment kept offchain is only periodically updated onchain.
200+
// This value should always be <= onchain_cumulative_payment.
201201
// See [common.v2.PaymentHeader.cumulative_payment] for more details.
202202
//
203203
// This value should only be nonzero for the EigenLabs disperser, as it is the only disperser that supports on-demand payments currently.
204204
// Future work will support decentralized on-demand dispersals.
205205
bytes cumulative_payment = 4;
206206
// on-chain on-demand payment deposited.
207207
// The bytes are parsed to a big.Int value.
208-
// This value should always be <= cumulative_payment, as the disperser cumulative_payment kept offchain is only periodically updated onchain.
208+
// This value should always be >= cumulative_payment.
209209
// See [common.v2.PaymentHeader.cumulative_payment] for more details.
210210
bytes onchain_cumulative_payment = 5;
211211
}

0 commit comments

Comments
 (0)