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:
kayibal
2025-09-03 12:21:10 +01:00
committed by Alan Höng
parent ae6f5e0a12
commit 8b4611f9bb
4 changed files with 17 additions and 4 deletions

View File

@@ -123,6 +123,8 @@ message ContractSlot {
bytes slot = 2;
// The new value for this storage slot.
bytes value = 3;
// The old value of this storage slot
bytes previous_value = 4;
}
// A struct for following the token balance changes for a contract.