Update built-in-tracers.md

Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
This commit is contained in:
Delweng 2024-04-02 22:49:41 +08:00 committed by GitHub
parent b0f2cdbc9c
commit 018f409662
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -505,7 +505,7 @@ Available state overrides are:
- `nonce`: `hexdecimal`. The nonce of the account. - `nonce`: `hexdecimal`. The nonce of the account.
- `code`: `string`. The bytecode of the account. - `code`: `string`. The bytecode of the account.
- `balance`: `hexdecimal`. The balance of the account in Wei. - `balance`: `hexdecimal`. The balance of the account in Wei.
- `state`: `map[common.Hash]common.Hash`. The state of the account. - `state`: `map[common.Hash]common.Hash`. Clear all storage slots of the account and insert the ones given in the dictionary.
- `stateDiff`: `map[common.Hash]common.Hash`. The diff of the account. - `stateDiff`: `map[common.Hash]common.Hash`. The diff of the account.
Note, `state` and `stateDiff` can't be specified at the same time. If `state` is Note, `state` and `stateDiff` can't be specified at the same time. If `state` is