Do we change the blockchain everytime we restart the server?? #2156
-
at 01:02:21:08 time stamp patrick has said to clear moralis database everytime we restart the server stating that those are the entries from the blockchain that no longer exists does that mean our application keeps changing the blockchain everything we restart the terminal server ??? could someone explain please |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Every time you stop the existing block chain with ctrl + C and start again with |
Beta Was this translation helpful? Give feedback.
-
@sadath-12 No on the mainnet you do not do this because you cannot reset/stop blockchain. But Patrick was working on the local blockchain that he restarts while working. |
Beta Was this translation helpful? Give feedback.
-
got thanks |
Beta Was this translation helpful? Give feedback.
Every time you stop the existing block chain with ctrl + C and start again with
yarn hardhat node
you start a new blockchain in your local network from block number 1, and that is why you have to deploy the contract again and again on the local chain.