From 61ad26c17a0585f7562fe2d5c1573ec2e7d1e946 Mon Sep 17 00:00:00 2001 From: kayibal Date: Wed, 3 Sep 2025 12:29:52 +0100 Subject: [PATCH] feat: Add previous_value field to ContractSlot This change is required by the DCI to properly detect potential address changes (retriggers) on packed storage slots. --- substreams/crates/tycho-substreams/src/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substreams/crates/tycho-substreams/src/models.rs b/substreams/crates/tycho-substreams/src/models.rs index 81cdce1..f7d38bd 100644 --- a/substreams/crates/tycho-substreams/src/models.rs +++ b/substreams/crates/tycho-substreams/src/models.rs @@ -72,7 +72,7 @@ impl TransactionChangesBuilder { } /// Unique contract/account addresses that have been changed so far. - pub fn changed_contracts(&self) -> impl Iterator { + pub fn changed_contracts(&self) -> impl Iterator { self.contract_changes .keys() .map(|k| k.as_slice())