12369c3981ddd35bb3fc02cdde166cb3efe3bdf3
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>
Tycho Protocol SDK
Tycho Protocol SDK is a library to integrate DEXs and other onchain liquidity protocols into Tycho.
Please refer to the documentation for more information.
Languages
Rust
99.7%