![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
TRON 核心开发社区的第 14 次电话会议讨论了“SELFDESTRUCT”操作码的潜在弃用,此举将与以太坊的 EIP-6049 保持一致,但引起了开发人员和社区的担忧。该操作码使智能合约能够自我删除,从而促使人们考虑安全性、不变性、效率以及被弃用时的分叉风险。
TRON Considers Deprecation of 'SELFDESTRUCT' Opcode, Sparking Community Debate
TRON 考虑弃用“SELFDESTRUCT”操作码,引发社区争论
In a recent Core Dev Community Call 14, TRON has raised the potential deprecation of the 'SELFDESTRUCT' opcode, a move that has significant implications for both developers and the network's security.
在最近的核心开发社区第 14 次电话会议中,TRON 提出了可能弃用“SELFDESTRUCT”操作码的可能性,这一举措对开发人员和网络安全都具有重大影响。
Background on the 'SELFDESTRUCT' Opcode
“自毁”操作码的背景
The 'SELFDESTRUCT' opcode empowers smart contracts with the ability to self-destruct, effectively deleting themselves from the blockchain. This process not only frees up storage space, but also returns any unused gas to the contract's creator.
“SELFDESTRUCT”操作码赋予智能合约自毁能力,有效地将自身从区块链中删除。这个过程不仅释放存储空间,还将所有未使用的气体返回给合约的创建者。
EIP-6049 and TRON's Considerations
EIP-6049和TRON的考虑因素
TRON's move to consider deprecating the opcode mirrors Ethereum Improvement Proposal 6049 (EIP-6049), which was introduced during the Shanghai upgrade. This proposal aimed to phase out the opcode's use, citing concerns over potential security risks.
TRON 考虑弃用该操作码的举动反映了上海升级期间引入的以太坊改进提案 6049 (EIP-6049)。该提案旨在逐步淘汰操作码的使用,理由是担心潜在的安全风险。
Key Concerns and Potential Implications
主要问题和潜在影响
1. Improved Security: Deprecating the opcode could reduce the likelihood of malicious actors exploiting smart contract self-destruction for fraudulent purposes.
1. 提高安全性:弃用操作码可以减少恶意行为者利用智能合约自毁进行欺诈的可能性。
2. Enhanced Trust: Without the ability to erase smart contracts, contract code would become effectively immutable, increasing trust in the network's integrity.
2.增强信任:如果没有删除智能合约的能力,合约代码实际上将变得不可变,从而增加对网络完整性的信任。
3. Gas Inefficiency: The opcode currently incentivizes developers to remove obsolete smart contracts by offering gas refunds. Deprecation could eliminate this incentive and lead to gas wastage.
3. Gas 效率低下:该操作码目前通过提供 Gas 退款来激励开发人员删除过时的智能合约。弃用可能会消除这种激励并导致天然气浪费。
4. Storage Inefficiency: The opcode allows for the reuse of storage space occupied by obsolete smart contracts. Deprecation could hinder this space optimization.
4. 存储效率低下:操作码允许重复使用过时的智能合约占用的存储空间。弃用可能会阻碍这种空间优化。
5. Regulatory Hurdles: The immutability resulting from deprecation could pose challenges in complying with evolving regulatory requirements that demand the ability to update or retire smart contracts.
5. 监管障碍:因弃用而产生的不变性可能会给遵守不断变化的监管要求带来挑战,这些要求要求能够更新或废弃智能合约。
6. Potential Forks: Deprecation requires consensus within the community. Disagreements could lead to both soft and hard forks in the blockchain.
6. 潜在的分叉:弃用需要社区内达成共识。分歧可能会导致区块链中的软分叉和硬分叉。
Deprecation vs. Adjustment
弃用与调整
While EIP-6049 proposed deprecation, Ethereum has not yet fully removed the 'SELFDESTRUCT' opcode. Instead, its use has been significantly restricted.
虽然 EIP-6049 提议弃用,但以太坊尚未完全删除“SELFDESTRUCT”操作码。相反,它的使用受到了极大的限制。
TRON is considering a similar approach, proposing an "adjustment" rather than complete deprecation. This would involve modifying the opcode's use without eliminating it entirely.
TRON正在考虑采取类似的方法,提出“调整”而不是完全弃用。这将涉及修改操作码的使用而不完全消除它。
Conclusion: Balancing Security and Flexibility
结论:平衡安全性和灵活性
TRON's consideration of deprecating the 'SELFDESTRUCT' opcode highlights the ongoing debate between security and flexibility in blockchain development. While deprecation could enhance security and trust, it also raises concerns about gas efficiency, storage optimization, and regulatory compliance.
TRON 考虑弃用“SELFDESTRUCT”操作码凸显了区块链开发中安全性和灵活性之间持续存在的争论。虽然弃用可以增强安全性和信任,但它也引起了人们对 Gas 效率、存储优化和监管合规性的担忧。
The community and developers are encouraged to engage in discussions and provide feedback to help TRON reach a decision that balances these competing factors. As the network continues to evolve, it is crucial to ensure that any changes strike an appropriate equilibrium between security and flexibility.
我们鼓励社区和开发者参与讨论并提供反馈,以帮助 TRON 做出平衡这些竞争因素的决定。随着网络的不断发展,确保任何变化在安全性和灵活性之间达到适当的平衡至关重要。
免责声明:info@kdj.com
所提供的信息并非交易建议。根据本文提供的信息进行的任何投资,kdj.com不承担任何责任。加密货币具有高波动性,强烈建议您深入研究后,谨慎投资!
如您认为本网站上使用的内容侵犯了您的版权,请立即联系我们(info@kdj.com),我们将及时删除。
-
- 区块链技术的兴起为金融解决方案的新时代铺平了道路
- 2025-03-09 10:45:45
- 分散的金融(DEFI)已成为一种革命性的选择,提供了透明度,安全性和可及性,而无需依赖中介机构。
-
-
- XRP价格预测如果SEC的批准通过
- 2025-03-09 10:30:46
- 如果SEC批准Ripple Labs的申请将其令牌注册为安全性,则本文探讨了XRP的潜在价格
-
- Vechain(VET)将参加伦敦的“缠绕Web3”活动
- 2025-03-09 10:30:46
- 该活动将以引人注目的演讲者和讨论,例如区块链,数字身份和人工智能。
-
- BTFD硬币领导这项指控,筹集了627万美元的预售
- 2025-03-09 10:30:46
- 想象一下,醒来,找到您在模因硬币中的100美元投资,一夜之间变成了六位数。听起来像是梦?
-
-
- Binance Coin(BNB)长期以来一直是加密货币市场的主食
- 2025-03-09 10:30:46
- 随着3月份的临近,专家们预测,BNB的潜在价格上涨,这会增加市场乐观和二进制生态系统中发展效用。
-
-