ledgerwatch / erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
3.03k stars 1.04k forks source link

Introduced `core/tracing/hooks.go` new API + balance/gas change forwarding #10783

Closed maoueh closed 4 days ago

maoueh commented 1 week ago

This is a split PR off https://github.com/ledgerwatch/erigon/pull/10757. In this smaller PR, we introduced the new core/tracing package and propagates the BalanceChange and GasChange reason in the API without being actually used.

This is 100% backward compatible.

AskAlexSharov commented 1 week ago

merge main make lint

maoueh commented 1 week ago

@AskAlexSharov Done, I had to modify erigon-lib/log/v3/term/terminal_darwin.go to make the linter happy.