bitcoin
bitcoin

$98050.319945 USD

1.22%

ethereum
ethereum

$3592.236713 USD

3.89%

xrp
xrp

$2.472172 USD

0.90%

tether
tether

$0.999618 USD

0.06%

solana
solana

$216.491436 USD

4.98%

bnb
bnb

$719.955536 USD

2.41%

dogecoin
dogecoin

$0.388584 USD

14.25%

usd-coin
usd-coin

$0.999977 USD

0.00%

cardano
cardano

$1.093458 USD

10.15%

tron
tron

$0.267984 USD

0.85%

avalanche
avalanche

$41.973429 USD

6.00%

chainlink
chainlink

$23.304137 USD

5.81%

sui
sui

$4.921028 USD

13.37%

toncoin
toncoin

$5.790140 USD

2.34%

shiba-inu
shiba-inu

$0.000025 USD

8.67%

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 Jan 04, 2025