How does updating existing smart contracts work?

Cryptocurrency News and Public Mining Pools

How does updating existing smart contracts work?

Like if there's a smart contract that's already deployed and running, a new version of the contract gets implemented after sometime and that's deployed, this changes the bytecode and therefore changing the contract address. Does that mean the project will be mapped to a new smart contract? If that's the case will the data related to previous smart contract gets imported to the new one.

submitted by /u/Aakasmika
[link] [comments]