![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
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),我們將及時刪除。
-
- 以太坊(ETH)鯨魚的利潤率與以前的熊市水平相當
- 2025-03-07 11:05:42
- 這引起了人們對以太坊價格的市場狀況的擔憂。儘管以太坊的價格幾乎是上一個熊市的兩倍,但大型持有人還是
-
-
-
- XRP試圖超過2.50美元的電阻,但它可以維持這一水平嗎?
- 2025-03-07 11:00:42
- 儘管XRP最近嘗試突破了2.50美元的障礙,但仍不清楚它是否能夠維持這一水平。
-
- 波紋(XRP)價格飆升至週四2.70美元,在24小時內飆升19%
- 2025-03-07 11:00:42
- 隨著XRP公牛在衍生品市場中保持優勢,利用長期頭寸的總額為1.5億美元,信號持續上升潛力。
-
- 特朗普簽署了EA創建比特幣儲備
- 2025-03-07 11:00:42
- 薩克斯說,該儲備將由被沒收的聯邦政府擁有的比特幣大寫
-
- 標題:Stellar(XLM)從主要阻力水平上可以上升近4倍
- 2025-03-07 11:00:42
- 分析師兼交易員阿里·馬丁內斯(Ali Martinez)傾向於看好一個大型加密項目,重點是付款和跨境交易。
-
-