mirror of https://github.com/ethereum/go-ethereum
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.pull/30306/head
parent
c35684709c
commit
7a149a159a
Loading…
Reference in new issue