I am using ganache and truffle for building DApp,
In my smart contract, I have declared one mapping variable, now in function I am assigning some value to that mapping variable. Every time I am assigning different values to that mapping variable.
Now, I want that what are the different values which has been assigned to that mapping variable till now means fetching the history of that mapping variable. So how to that, is there any way to fetch all the details of state variables (mapping in my case) ?