Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information