![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
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),我们将及时删除。
-
-
- 比特币(BTC)的恢复继续显示动力,当前资产交易
- 2025-04-26 19:10:13
- 比特币的恢复继续表现出势头,在过去24小时内增长1.6%后,资产交易目前为94,288美元。
-
- 随着加密货币市场的恢复,比特币(BTC)的价格超过$ 90k
- 2025-04-26 19:05:13
- 随着市场情绪的改善,加密市场在结束周的结束周中已有显着的复苏。比特币和索拉纳是一些表现最好的专业
-
- 如果您本周眨了眨眼,您会错过很多。有一阵混乱!
- 2025-04-26 19:05:13
- 加密和华尔街比以往任何时候都更加艰难。从系绳支持的比特币巨头从公开露面到Solana突然成为企业的痴迷
-
- Ada Cardano Price进入了一个强大的集会阶段,现在正在关注$ 1
- 2025-04-26 19:00:13
- 在越来越多的看涨情绪,改善技术和零售和机构圈子的重新关注的驱动下。
-
- 比特币价格集会再次捕获头条新闻
- 2025-04-26 19:00:13
- 比特币价格集会再次占领了头条新闻,因为BTC损失了94,000美元,从而在加密货币市场上引起了兴奋。
-
-
- 今天的PI新闻混杂,因为有积极的发展和负面发展。
- 2025-04-26 18:55:13
- 积极的事件可以帮助增强社区情绪并提高PI价格,与DAPP开发有关。
-