Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support the `debug_traceCall` API

Aperta
#5,778 17 commenti 4 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@yanghang8612 ci sta già lavorando.

Dal 26/3/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

need:archive topic:api topic:archive node topic:DB type:feature

Background

debug_traceCall is a method in the EVM that allows developers and users to trace the execution of a particular transaction or contract function call. This functionality is primarily used for debugging purposes, to understand how smart contracts are behaving during execution or to diagnose issues with transactions.

The EVM then executes the transaction or call in a special mode where it records detailed information about each step of the execution process. This information typically includes details such as:

  1. Opcode: The specific operation being executed.
  2. Gas consumption: The amount of gas consumed by each operation.
  3. Stack and memory state: The state of the EVM's stack and memory at each step.
  4. Contract calls: Details of any calls made to other contracts during execution.
  5. Storage changes: Any changes made to contract storage during execution.

The account abstract ERC4337 specification need to run debug_traceCall to enforce the validation rules on opcode and storage access, as well as to verify the entire batch transaction, and use the consumed gas for the actual transaction execution.

But debug_traceCall is not supported on Tron currently, so it may influence the implement of account abstract infrastracture on TRON.

Rationale

Smart contract wallets containing arbitrary verification logic instead of EOAs will be more and more popular in Web3, it is necessary to support account abstract on TRON. The Bundler module of account abstract infrastracture needs the debug_traceCall to enforce the user operation validation rules according to ERC4337 specification. So it may be necessary to support the debug_traceCall API on TRON.

Status

Blocked by:

  • #6289
Lingua principale
Java
Stelle
4.2k
Fork
1.8k
Merge medio
3g 21h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tronprotocol/java-tron

Tutte le issue di tronprotocol/java-tron

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.