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.
This commit is contained in:
@@ -72,7 +72,7 @@ impl TransactionChangesBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Unique contract/account addresses that have been changed so far.
|
/// Unique contract/account addresses that have been changed so far.
|
||||||
pub fn changed_contracts(&self) -> impl Iterator<Item=&[u8]> {
|
pub fn changed_contracts(&self) -> impl Iterator<Item = &[u8]> {
|
||||||
self.contract_changes
|
self.contract_changes
|
||||||
.keys()
|
.keys()
|
||||||
.map(|k| k.as_slice())
|
.map(|k| k.as_slice())
|
||||||
|
|||||||
Reference in New Issue
Block a user