go-ethereum/eth/tracers
Dylan Vassallo 7a149a159a
eth/tracers/js: add coinbase addr to ctx (#30231)
Add coinbase address to javascript tracer context.

This PR adds the `coinbase` address to `jsTracer.ctx`, allowing access
to the coinbase address (fee receipient) in custom JavaScript tracers.

Example usage:

```javascript
result: function(ctx) {
  return toAddress(ctx.coinbase);
}
```

This change enables custom tracers to access coinbase address,
previously unavailable, enhancing their capabilities to match built-in
tracers.
2024-08-15 16:36:35 +02:00
..
internal core/state, eth/tracers: fix typos (#29932) 2024-06-05 11:07:37 +02:00
js eth/tracers/js: add coinbase addr to ctx (#30231) 2024-08-15 16:36:35 +02:00
live eth/tracers,trie: remove unnecessary check (#30071) 2024-06-27 11:29:50 +02:00
logger eth/tracers: fix json logger for evm blocktest (#29795) 2024-05-23 10:55:54 +02:00
native eth/tracers,trie: remove unnecessary check (#30071) 2024-06-27 11:29:50 +02:00
api_test.go eth/tracers, internal/ethapi: remove unnecessary map pointer in state override (#30094) 2024-07-25 01:01:59 +02:00
api.go eth/tracers: fix json logger for evm blocktest (#29795) 2024-05-23 10:55:54 +02:00
dir.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
live.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
tracers_test.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
tracker_test.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00
tracker.go eth/traces: add state limit (#25812) 2022-10-06 10:48:04 +02:00