core: introduce new tracing hooks prior to transaction execution and after block reward application#32985
core: introduce new tracing hooks prior to transaction execution and after block reward application#32985jwasinger wants to merge 2 commits intoethereum:masterfrom
Conversation
Which state changes are those? |
|
The beacon root and parent root accumulator contracts mutate their storage. Post-block, contract-based withdrawals and EIP-4895 withdrawals can mutate account balances. |
|
It should be possible to use the OnSystemCallStart, OnSystemCallEnd to detect changes that happen during any of that. |
There's no way to determine when the system calls are pre/post-transactions if the block does not contain any transactions. |
|
Closing this. I am able to use the system-contract start/end hooks as-is without introducing new ones. It's not super elegant but I think it will work. |
Add two new tracing hooks which are called:
These are required for BALs: