Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eth API: Trace selfdestructs in the Ethereum JSON-RPC trace_block output #11634

Open
Stebalien opened this issue Feb 20, 2024 · 0 comments
Open

Comments

@Stebalien
Copy link
Member

We don't currently trace "selfdestruct" events in the Ethereum JSON-RPC trace_block output, but we probably should for feature completeness. To do this, we'll need to implement both of:

Then, every time we see an EVM actor invoked, we can lookup the "after" state to determine if it selfdestructed.

Unfortunately, there's no reliable way to do this simply by looking at the state at the end of a block because an EVM smart contract can selfdestruct and revive multiple times.

@rjan90 rjan90 added this to FilOz Feb 21, 2024
@rjan90 rjan90 moved this to 🐱Todo in FilOz Feb 21, 2024
@snissn snissn moved this to 🎒Backlog in Filecoin DX Painpoints Tracker Sep 10, 2024
@snissn snissn moved this from 🎒Backlog to 🌑 Unstarted / Needs Triage in Filecoin DX Painpoints Tracker Sep 10, 2024
@trruckerfling trruckerfling moved this from 🌑 Unstarted / Needs Triage to 🖊 Planning in Filecoin DX Painpoints Tracker Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🐱 Todo
Status: 🖊 Planning
Development

No branches or pull requests

1 participant