TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Upgradeable smart contracts in Ethereum

98 pointsby zabi_raufabout 7 years ago

7 comments

Animatsabout 7 years ago
Contracts with terms that can be changed retroactively by one party. What could possibly go wrong? The whole point of this smart contract stuff is supposed to eliminate the need for trusting a party.<p>The article has full details on how to create a contract changeable by one party, then hand waving about &quot;writing a contract that uses tokens and voting mechanism to allow the community to decide whether to update or not.&quot; No details on how that&#x27;s supposed to work. Who&#x27;s &quot;the community&quot;, anyway? The parties to the agreement are the ones involved.<p>A mechanism where all parties to a contract could agree to replace it with a new contract would be useful. That&#x27;s a normal contract activity. You do that whenever you renew a lease.<p>The Etherium promoters want this because they botched the design. Smart contracts as byte coded programs are too error prone. The DAO debacle, and this latest demand for a &quot;state change&quot; because someone botched a big contract, indicate that. Smart contracts should have been in some declarative form like decision logic tables, not Turing-complete programs with race conditions.
评论 #16872559 未加载
评论 #16871450 未加载
评论 #16871072 未加载
评论 #16872823 未加载
评论 #16871190 未加载
评论 #16872366 未加载
revelabout 7 years ago
Injecting a delegate into an otherwise vanilla smart contract doesn&#x27;t seem like the hard part of creating an upgradeable contract. The hard part is coming up with a consensus model for agreeing to the change. Bilateral agreement doesn&#x27;t seem strong enough, let alone unilateral agreement.
评论 #16870722 未加载
dmartabout 7 years ago
Is immutability of a contract not the entire point? What security does a decentralized smart contract offer if its implementation can be totally swapped out?
评论 #16869013 未加载
评论 #16869066 未加载
评论 #16870011 未加载
评论 #16869166 未加载
akerroabout 7 years ago
I heard that story behind this is that one of close friends of ETH developers lost a few $M in smart-contracts, so they want to be able to update its source code to access the ETH, is that true? How would that work?
评论 #16869074 未加载
评论 #16869574 未加载
评论 #16869057 未加载
评论 #16869046 未加载
45h34jh53k4jabout 7 years ago
Upgradable infers that the underlying contract address has a new chunk of code. That is not what this is proposing. This is simply making resolving contracts, which is best practise today.
评论 #16868835 未加载
misrababout 7 years ago
Maybe consensus should only be reached on certain invariants, with the underlying implementation being far more mutable.
snissnabout 7 years ago
Very cool! Not applicable to all use cases, but where it is applicable it is a great tool.