Skip to content

Commit 9f4bc5c

Browse files
authored
Merge pull request #433 from OffchainLabs/add-retryableexcessrefund-balancechangereason
Add BalanceChangeReason for refund of retryable's excess submission fee
2 parents 065c4bb + 90c2e8d commit 9f4bc5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/tracing/hooks.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ const (
303303
BalanceChangeEscrowTransfer
304304
BalanceChangeTransferBatchposterReward
305305
BalanceChangeTransferBatchposterRefund
306+
BalanceChangeTransferRetryableExcessRefund
306307
// Stylus
307308
BalanceChangeTransferActivationFee
308309
BalanceChangeTransferActivationReimburse
@@ -335,7 +336,7 @@ func (b BalanceChangeReason) Str() string {
335336
return "undoRefund"
336337
case BalanceChangeEscrowTransfer:
337338
return "escrow"
338-
case BalanceChangeTransferInfraRefund, BalanceChangeTransferNetworkRefund:
339+
case BalanceChangeTransferInfraRefund, BalanceChangeTransferNetworkRefund, BalanceChangeTransferRetryableExcessRefund:
339340
return "refund"
340341
// Batchposter
341342
case BalanceChangeTransferBatchposterReward:

0 commit comments

Comments
 (0)