Market Cap: $2.8414T -0.410%
Volume(24h): $56.2017B -56.090%
  • Market Cap: $2.8414T -0.410%
  • Volume(24h): $56.2017B -56.090%
  • Fear & Greed Index:
  • Market Cap: $2.8414T -0.410%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top News
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
bitcoin
bitcoin

$86016.827096 USD

-3.42%

ethereum
ethereum

$2129.471540 USD

-3.13%

tether
tether

$0.999844 USD

-0.03%

xrp
xrp

$2.328702 USD

-8.44%

bnb
bnb

$595.845758 USD

-0.82%

solana
solana

$137.920269 USD

-4.71%

usd-coin
usd-coin

$0.999995 USD

-0.01%

dogecoin
dogecoin

$0.194781 USD

-3.73%

cardano
cardano

$0.809126 USD

-8.20%

tron
tron

$0.250091 USD

3.31%

pi
pi

$1.801049 USD

0.03%

chainlink
chainlink

$15.303441 USD

-10.54%

hedera
hedera

$0.227466 USD

-10.38%

unus-sed-leo
unus-sed-leo

$9.837554 USD

-0.88%

stellar
stellar

$0.276271 USD

-8.05%

Cryptocurrency News Articles

TRON Weighs Deprecating 'SELFDESTRUCT' Opcode, Stirring Community Discourse

Apr 15, 2024 at 07:19 pm

The TRON Core Dev Community's 14th call discussed the potential deprecation of the 'SELFDESTRUCT' opcode, a move that would align with Ethereum's EIP-6049 but raises concerns for developers and the community. The opcode enables smart contracts to delete themselves, prompting considerations for security, immutability, efficiency, and the risk of forks if deprecated.

TRON Weighs Deprecating 'SELFDESTRUCT' Opcode, Stirring Community Discourse

TRON Considers Deprecation of 'SELFDESTRUCT' Opcode, Sparking Community Debate

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.

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.

EIP-6049 and TRON's Considerations

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.

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.

2. Enhanced Trust: Without the ability to erase smart contracts, contract code would become effectively immutable, increasing trust in the network's integrity.

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.

4. Storage Inefficiency: The opcode allows for the reuse of storage space occupied by obsolete smart contracts. Deprecation could hinder this space optimization.

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.

6. Potential Forks: Deprecation requires consensus within the community. Disagreements could lead to both soft and hard forks in the blockchain.

Deprecation vs. Adjustment

While EIP-6049 proposed deprecation, Ethereum has not yet fully removed the 'SELFDESTRUCT' opcode. Instead, its use has been significantly restricted.

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.

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.

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.

Disclaimer: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.

Other articles published on Mar 09, 2025