feat: add native balance in StorageChanges (#292)

* feat: add native balance in StorageChanges

This will be used by the next update of DCI to properly track native balance for all the contract that it's indexing. Also added a performance optimization, we now ignore slot updates if the value after the transaction is the same than before.

* docs: add docs on how to generate test assets

---------

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
This commit is contained in:
Zizou
2025-10-06 12:12:37 +02:00
committed by GitHub
parent 128de3037e
commit 568f26116e
12 changed files with 317 additions and 54 deletions

View File

@@ -192,6 +192,8 @@ message StorageChanges {
bytes address = 1;
// The contract's storage changes
repeated ContractSlot slots = 2;
// [optional] The contract's balance change
optional bytes native_balance = 3;
}
// Aggregate entities