不变性的神话:关于智能合约可升级性的多声文献综述
The Myth of Immutability: A Multivocal Review on Smart Contract Upgradeability
AI总结:
本研究通过多声文献综述系统地识别、分类和评估了现有的智能合约升级机制,建立统一定义并将其分为全面升级和部分升级方法,利用软件质量属性分析各方法的权衡,为开发者和研究人员提供机制选择指导。
摘要:
在 Ethereum 等区块链平台上,智能合约的不可变性提升了安全性和可信度,但也给部署后的更新、漏洞修复或添加新功能带来了挑战。这些限制可能导致漏洞和功能过时,阻碍去中心化应用的演进与维护。尽管学术界和工业界提出了多种升级机制,但仍缺乏对其权衡和实际影响的全面分析。本研究旨在系统地识别、分类和评估现有的智能合约升级机制,弥合理论概念与实际实现之间的差距。研究引入了标准化术语,并使用软件质量属性评估了不同方法的权衡。我们进行了多声文献综述(MLR),以分析来自学术研究和工业实践的升级机制。我们首先建立了智能合约可升级性的统一定义,并确定了理解升级过程所需的核心组件。基于此定义,我们将现有方法分类为全面升级和部分升级方法,引入标准化术语以统一文献中使用的多样术语。随后,我们描述了每种方法的特征,并使用复杂性、灵活性、安全性和可用性等软件质量属性评估了其益处与局限性。分析突出了升级机制之间的显著权衡,为每种方法的益处和局限性提供了有价值的见解。这些发现指导开发者和研究人员选择适合特定项目需求的机制。
英文摘要:
The immutability of smart contracts on blockchain platforms like Ethereum promotes security and trustworthiness but presents challenges for updates, bug fixes, or adding new features post-deployment. These limitations can lead to vulnerabilities and outdated functionality, impeding the evolution and maintenance of decentralized applications. Despite various upgrade mechanisms proposed in academic research and industry, a comprehensive analysis of their trade-offs and practical implications is lacking. This study aims to systematically identify, classify, and evaluate existing smart contract upgrade mechanisms, bridging the gap between theoretical concepts and practical implementations. It introduces standardized terminology and evaluates the trade-offs of different approaches using software quality attributes. We conducted a Multivocal Literature Review (MLR) to analyze upgrade mechanisms from both academic research and industry practice. We first establish a unified definition of smart contract upgradeability and identify core components essential for understanding the upgrade process. Based on this definition, we classify existing methods into full upgrade and partial upgrade approaches, introducing standardized terminology to harmonize the diverse terms used in the literature. We then characterize each approach and assess its benefits and limitations using software quality attributes such as complexity, flexibility, security, and usability. The analysis highlights significant trade-offs among upgrade mechanisms, providing valuable insights into the benefits and limitations of each approach. These findings guide developers and researchers in selecting mechanisms tailored to specific project requirements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。