tronprotocol / tips

TRON Improvement Proposals
219 stars 187 forks source link

TIP-652: Announce EIP-6049 Deprecate SELFDESTRUCT #652

Open yanghang8612 opened 5 months ago

yanghang8612 commented 5 months ago
tip: 652
title: Announce EIP-6049 Deprecate SELFDESTRUCT
author: yanghang8612@163.com
status: Draft
type: Meta
category: VM
created: 2024-04-10

Summary

The SELFDESTRUCT opcode has been deprecated after the Ethereum Shanghai upgrade and its behavior has been modified after the Ethereum Cancun upgrade. For compatibility, EIP-6049: Deprecate SELFDESTRUCT is required to be announced in the TRON community firstly.

The following compatibility issues require community attention.

Original content from EIP-6049:

Abstract

This EIP deprecates the SELFDESTRUCT opcode and warns against its use. A breaking change to this functionality is likely to come in the future.

Motivation

Discussions about how to change SELFDESTRUCT are ongoing. But there is a strong consensus that something will change.

Specification

Documentation of the SELFDESTRUCT opcode is updated to warn against its use and to note that a breaking change may be forthcoming.

Rationale

As time goes on, the cost of doing something increases, because any change to SELFDESTRUCT will be a breaking change.

The Ethereum Blog and other official sources have not provided any warning to developers about a potential forthcoming change.

Backwards Compatibility

This EIP updates non-normative text in the Yellow Paper. No changes to clients is applicable.

Security Considerations

None.

Saraeutsza commented 1 month ago

THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC

thuthu24 commented 3 weeks ago

TFrPnTJ4smGnyjF5eTWP6GSKGHdjThELiW

thuthu24 commented 3 weeks ago

TFrPnTJ4smGnyjF5eTWP6GSKGHdjThELiW

tomatoishealthy commented 3 weeks ago

Would it be convenient to introduce this issue at the next https://github.com/tronprotocol/pm/issues/99?

yanghang8612 commented 2 weeks ago

Would it be convenient to introduce this issue at the next tronprotocol/pm#99?

Yeah, of course.