I created a contract campaign and deployed this contract in infura , then I called some functions of the contract which created the subsequent data(as in list of ongoing campaigns) in blockchain. In these campaigns people can contribute some ether to these campaigns(this required payable keyword). I was able to view these from my front end application created using react .
Now , I added some public view functions to the contract , rebuilt and redeployed the same , when I tried accessing this , I was not able to view any of my old data (none of the old campaigns) ,
What might have happened to them?
And how can we persist data in these releases ?
I am new to blockchain , please help me in understanding the flow. Thanks