update changelog
This commit is contained in:
parent
5e4d6b86f4
commit
4d2fb0e081
|
@ -6,9 +6,12 @@ All notable changes to the tracing interface will be documented in this file.
|
|||
|
||||
The tracing interface has been extended with backwards-compatible changes to support more use-cases and simplify tracer code. The most notable changes are state read hooks as well a state journaling library which emits events when a call is reverted.
|
||||
|
||||
### Deprecated methods
|
||||
|
||||
- `OnSystemCallStart()`: This hook is deprecated in favor of `OnSystemCallStartV2(vm *VMContext)`.
|
||||
|
||||
### New methods
|
||||
|
||||
- `OnReorg(reverted []*types.Block)`: This hook is called when a reorg is detected. The `reverted` slice contains the blocks that are no longer part of the canonical chain.
|
||||
- `OnBalanceRead(addr common.Address, balance *big.Int)`: This hook is called when an account balance is read.
|
||||
- `OnNonceRead(addr common.Address, nonce uint64)`: This hook is called when an account nonce is read.
|
||||
- `OnCodeRead(addr common.Address, code []byte)`: This hook is called when an account code is read.
|
||||
|
@ -16,10 +19,7 @@ The tracing interface has been extended with backwards-compatible changes to sup
|
|||
- `OnCodeHashRead(addr common.Address, codeHash common.Hash)`: This hook is called when an account code hash is read.
|
||||
- `OnStorageRead(addr common.Address, slot common.Hash, value common.Hash)`: This hook is called when an account storage slot is read.
|
||||
- `OnBlockHashRead(blockNum uint64, hash common.Hash)`: This hook is called when a block hash is read by EVM.
|
||||
|
||||
### Modified methods
|
||||
|
||||
- `OnSystemCallStart()` -> `OnSystemCallStart(vm *VMContext)`. This allows access to EVM context during system calls.
|
||||
- `OnSystemCallStartV2(vm *VMContext)`. This allows access to EVM context during system calls. It is a successor to `OnSystemCallStart`.
|
||||
|
||||
### Modified types
|
||||
|
||||
|
|
Loading…
Reference in New Issue