Questions tagged [trace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Geth debug_traceCall logs parsing

So I have a geth client with debug api enabled, I use it with debug_traceCall in order to trace a call. I want to parse generated event logs from the traceCall (without using custom js parser in the ...
user128176's user avatar
0 votes
0 answers
17 views

Debug vs Trace Calls

I want to use Debug calls on the Ethereum chain; I also see Trace calls supported by some clients. What are the key differentiators between these two, and which one is better?
Tien's user avatar
  • 193
0 votes
0 answers
50 views

How to get position slot allowance automatic

how to get position slot allowance automatically without looking at the code? because each positive slot allowance in several different tokens, some of the default position is 2 but there are 3 and ...
damartripamungkas's user avatar
1 vote
0 answers
63 views

Which contract's storage does SLOAD/SSTORE use?

A given SSTORE and SLOAD instruction uses storage from a certain smart contract. How can we know which contract that is, and do we need any additional data than the raw struct/opcode traces to find ...
Vegard Stikbakke's user avatar
0 votes
1 answer
69 views

Getting execution bytecode from trace_addresses

Given the following call graph: A CALLs B CALLs G CALLs C CALLs G Is it possible to get the full bytecode that was executed by the evm as a single string, given the bytecode of the ...
Biela Diela's user avatar
0 votes
1 answer
90 views

How does the PUSH instruction get its input?

I'm trying to understand state storage, and by doing so (for the first time) looking at raw geth traces. I've hit a blocker, though, which is understanding where the arguments to PUSH instructions ...
Vegard Stikbakke's user avatar
2 votes
1 answer
408 views

Why trace_call (stateDiff) not show balance changes from internal txs?

I am using trace_call with stateDiff Tracer, to show balances changes after a transaction. Already tried to use Erigon and core-geth, the results are identical thoughout changes in usage. For instance,...
Rafael's user avatar
  • 328
1 vote
1 answer
169 views

get final changed state of a transacion

I want to call 'eth_call' and get all changed state after this call. How I can do that? I want to use it as 'stateDiff' for next 'eth_call'.
heydar dasoomi's user avatar
1 vote
0 answers
435 views

Parsing event logs from VMTrace in trace_call

There are 3 return values in trace_call. State Diff and Trace seem pretty straight forward. However, VMTRace's output contains 2 values - code and ops. Code looks something like this "...
pbsh's user avatar
  • 2,401
1 vote
0 answers
123 views

State change, trace discrepancies

I'm finding several ETH transactions where the state changes do not match the traces and I cannot figure out why. For instance, in the transaction below the traces show a transfer of 0....
Greenery's user avatar
1 vote
0 answers
40 views

Retain states for the last X blocks in geth

I have a use case where I need to keep states for last 2000 blocks. The default number is 128 if I’m not mistaken. I’m looking for an option to select minimum number of recent blocks to keep the ...
Walid's user avatar
  • 11
5 votes
0 answers
153 views

Brownie empty traceback and revert_msg

I'm trying to create a Yearn strategy following https://github.com/yearn/brownie-strategy-mix. But a transaction is failing, and brownie isn't telling me why: % brownie console Brownie environment is ...
pineda's user avatar
  • 51
2 votes
1 answer
909 views

multiple debug_traceCall

Is there a way to call for multiple debug_traceCall with a Geth client in one RPC? In other words - what is the equivalent of OpenEthereum's trace_callMany in Geth?
GaryB's user avatar
  • 73
0 votes
1 answer
195 views

How to calculate usedGas per block?

I want to sum the total amount of gas used in a block. When I checked, used gas can be retrieved from the node using 'eth_getTransactionReceipt' and 'trace_block' functions. However, when checking the ...
Minwoo's user avatar
  • 61
2 votes
0 answers
48 views

How to test if a transaction create a specific event using the trace api?

I need to frontrun a transaction on a specific contract only if does a specific thing which is fired as an event once included in a block. So how to get the event based on current contract state of an ...
user2284570's user avatar
0 votes
0 answers
70 views

any website that show decoded mainnet transaction trace?

I remember I saw such site when I first start learning about smart contracts last month. It is better than etherscan.io's parity trace, called function name and input are also decoded. anyone know ...
user1931099's user avatar