One of the much appraised features of blockchain among other things is traceability of data stored on the blockchain priced on records being immutable i think.
I am trying to find out how state changes can be traced practically on the ethereum blockchain. To explain my question, take the following smart contract as example
contract SimpleStorage {
uint storedData;
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint) {
return storedData;
}
}
In this contract the focus is on the storedData
state variable. Lets assume that
the value has changed severally at countless times overtime.
So how can one trace out the history of this storedData
to see all the values that has been assigned to it at different points in time.
I am looking for a practical way this is done.