0
votes
  uint id=123;
  string sname="xyz";

id and sname are initialized.

Where does assigned id and sname get stored in smart contract?

1

1 Answers

0
votes

All the information are stored in the Main Ethereum Network Unless you are not using any other test network e.g. Ropsten, Kovan, Rinkeby etc.

And Since Main Ethereum Network takes 15 SEC on average for next block to be mined so if you are working on it then you have to wait for that amount of time before you fetch the data back.