市值: $2.8891T -3.440%
體積(24小時): $129.7277B 10.420%
  • 市值: $2.8891T -3.440%
  • 體積(24小時): $129.7277B 10.420%
  • 恐懼與貪婪指數:
  • 市值: $2.8891T -3.440%
Cryptos
主題
Cryptospedia
資訊
CryptosTopics
影片
Top News
Cryptos
主題
Cryptospedia
資訊
CryptosTopics
影片
bitcoin
bitcoin

$91950.782490 USD

5.02%

ethereum
ethereum

$2294.491836 USD

4.33%

xrp
xrp

$2.509390 USD

2.51%

tether
tether

$1.000095 USD

0.02%

bnb
bnb

$607.189640 USD

2.41%

solana
solana

$149.261380 USD

4.01%

usd-coin
usd-coin

$0.999917 USD

-0.03%

cardano
cardano

$0.944236 USD

0.60%

dogecoin
dogecoin

$0.214017 USD

7.05%

tron
tron

$0.245479 USD

1.44%

pi
pi

$1.907150 USD

0.33%

chainlink
chainlink

$17.337094 USD

13.85%

hedera
hedera

$0.248356 USD

-2.66%

stellar
stellar

$0.300477 USD

1.02%

unus-sed-leo
unus-sed-leo

$9.918046 USD

0.25%

加密貨幣新聞文章

TRON 考慮棄用「SELFDESTRUCT」操作碼,引發社群討論

2024/04/15 19:19

TRON 核心開發社群的第 14 次電話會議討論了「SELFDESTRUCT」操作碼的潛在棄用,此舉將與以太坊的 EIP-6049 保持一致,但引起了開發人員和社群的擔憂。此操作碼使智能合約能夠自我刪除,從而促使人們考慮安全性、不變性、效率以及被棄用時的分叉風險。

TRON 考慮棄用「SELFDESTRUCT」操作碼,引發社群討論

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月07日 其他文章發表於