Since the code on a smart contract cannot be altered after it has been deployed on the blockchain, how do dapp developers make upgrades to the product? From my research I have gathered that one way is to use a versioning system that utilises an “entry way” smart contract that redirects to the most recent version (elaboated here).
My question is, what is stopping the people who can call on the “version update” function to redirect to a fraudulent smart contract?
I hope that made sense, I’m writing a blog on Ethereum and wanted to get a good understanding of how dapp upgrades are rolled out
Thanks for any help,