You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should make whatever decoding approach we come up with mirror what it looks like in tenderly.
Right now the tryStorageLayoutLookup function has the following function signature:
function tryStorageLayoutLookup(stringmemory_contractName, bytes32_slot, bytes32_oldValue, bytes32_newValue)
internalviewreturns (DecodedSlot memorydecoded_)
In reality, many changes can occur in a single slot, so we could change this function to return an array:
function tryStorageLayoutLookup(stringmemory_contractName, bytes32_slot, bytes32_oldValue, bytes32_newValue)
internalviewreturns (DecodedSlot[] memorydecoded_)
right now, if we detected a slot that is shared, we don't try to decode it. Completing this issue would require being able to decode these shared slots: