Skip to content

Commit 35ef8c5

Browse files
authored
Merge pull request #129 from streamingfast/feature/add-monad-reason
add reason
2 parents 0dfafcd + e8f845e commit 35ef8c5

2 files changed

Lines changed: 20 additions & 3 deletions

File tree

proto/sf/ethereum/type/v2/type.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,13 @@ message BalanceChange {
983983

984984
// This reason is used only on Optimism chain for balance reverts.
985985
REASON_REVERT = 19;
986+
987+
// This reason is used only on Monad chain. The Monad execution layer does not report the reason
988+
// for a balance change, only the pre and post-execution state per account. Because of Monad's
989+
// parallel execution model, there is always exactly one balance change per modified address per
990+
// transaction, representing the state change. Consumers should not expect granular per-operation
991+
// entries (i.e. GAS_BUY, TRANSFER, GAS_REFUND, REWARD_TRANSACTION_FEE) because of this.
992+
REASON_MONAD_TX_POST_STATE = 20;
986993
}
987994

988995
// The block's global ordinal when the balance change was recorded, refer to [Block]

types/pb/sf/ethereum/type/v2/type.pb.go

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

0 commit comments

Comments
 (0)