|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
-
- 邁入2025年,五種主要加密貨幣的詳細分析
- 2025-01-04 12:45:16
- 踏入 2025 年的第一周,我們深入研究五種主要加密貨幣的詳細分析。其中包括以太坊、瑞波幣、卡爾達諾
-
- 鏈上數據顯示,比特幣(BTC)價格調整並不代表多頭市場結束
- 2025-01-04 12:45:16
- 比特幣突破108,000美元關卡後,經歷了明顯的價格反轉;這引發了人們對牛市能否持續成長的懷疑。
-
- 2024年:鏈上發展年
- 2025-01-04 12:45:16
- 2024年可能是自DeFi Summer以來鏈上發展最重要的一年,鏈上敘事驅動的投資機會不斷出現。
-
- 狗狗幣鯨魚剛剛增加了約 10.8 億美元的持有量
- 2025-01-04 12:45:16
- 鏈上數據顯示,狗狗幣鯨魚最近進行了強勁的增持熱潮,這可能有利於狗狗幣的價格。