|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!
If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.
-
- XRP 成为市场力量,瞄准以太坊市值
- 2025-01-06 15:05:19
- 截至发稿时,XRP 的交易价格为每枚 2.37 美元,已成为加密货币市场的关键参与者。
-
- SEC 上诉截止日期临近:XRP 的利害关系是什么?
- 2025-01-06 15:00:18
- 尽管人们对美国数字资产领域越来越乐观,但 XRP 仍远低于 2018 年 1 月的历史高点 3.5505 美元。
-
- 比特币卷土重来:随着加密市场重燃信心,比特币重新成为人们关注的焦点
- 2025-01-06 15:00:18
- 虽然 2024 年年底的加密货币崩盘让许多投资者感到震惊,但 2025 年的黎明却带来了一波乐观情绪。
-
- 数百万加密货币游戏爱好者将于 2025 年通过空投获得免费代币
- 2025-01-06 15:00:18
- 本文列出了11个将在第一季度进行代币空投的游戏项目。继续阅读以了解更多信息。