Skip to content

Commit

Permalink
add missing balanceChange reasons specific to bnb
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Feb 11, 2025
1 parent 2d97ccc commit d45d6e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eth/tracers/firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -1867,6 +1867,8 @@ var balanceChangeReasonToPb = map[tracing.BalanceChangeReason]pbeth.BalanceChang
tracing.BalanceDecreaseSelfdestruct: pbeth.BalanceChange_REASON_SUICIDE_WITHDRAW,
tracing.BalanceDecreaseSelfdestructBurn: pbeth.BalanceChange_REASON_BURN,
tracing.BalanceIncreaseWithdrawal: pbeth.BalanceChange_REASON_WITHDRAWAL,
tracing.BalanceDecreaseBSCDistributeReward: pbeth.BalanceChange_REASON_REWARD_TRANSACTION_FEE,
tracing.BalanceIncreaseBSCDistributeReward: pbeth.BalanceChange_REASON_REWARD_TRANSACTION_FEE,

tracing.BalanceChangeUnspecified: pbeth.BalanceChange_REASON_UNKNOWN,
}
Expand Down

0 comments on commit d45d6e9

Please sign in to comment.