Files
tycho-protocol-sdk/substreams/crates/tycho-substreams
Zizou 12369c3981 fix: update get_block_storage_changes to correctly emit previous value (#280)
Before this commit we were using the latest `ContractSlot` for both previous and new value. This is not correct because if the value changed twice we would have the middle value emitted as "previous". For example if a value was changed like this in a single transaction 1 -> 10 -> 2 we would have `new_value=2` and `previous_values=10` while the previous value was actually 1.

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
2025-09-25 17:41:07 +02:00
..
2024-07-22 03:48:47 +02:00

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:

buf generate --template substreams/crates/tycho-substreams/buf.gen.yaml --output substreams/crates/tycho-substreams/