Files
tycho-protocol-sdk/substreams/crates/tycho-substreams/Readme.md
Zizou 568f26116e 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>
2025-10-06 10:12:37 +00:00

17 lines
646 B
Markdown

# Tycho Substreams SDK
Some shared functionality that is used to create tycho substream packages.
## Protobuf Models
To generate the rust structs run the following command from within the root
directory:
```bash
buf generate --template substreams/crates/tycho-substreams/buf.gen.yaml --output substreams/crates/tycho-substreams/
```
## Generate block test assets
To be able to write complete unit tests, we rely on full block assets. These assets can be generated using the firecore tool from Substreams. More info in [Substreams documentation](https://docs.substreams.dev/reference-material/log-and-debug#generating-the-input-of-the-test)