From e6405fbca6f82914036177940adf235335120c62 Mon Sep 17 00:00:00 2001 From: Delweng Date: Tue, 2 Apr 2024 22:49:54 +0800 Subject: [PATCH] Update built-in-tracers.md Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com> --- docs/developers/evm-tracing/built-in-tracers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/evm-tracing/built-in-tracers.md b/docs/developers/evm-tracing/built-in-tracers.md index 56a6682ecd..ac86eafa7a 100644 --- a/docs/developers/evm-tracing/built-in-tracers.md +++ b/docs/developers/evm-tracing/built-in-tracers.md @@ -506,7 +506,7 @@ Available state overrides are: - `code`: `string`. The bytecode of the account. - `balance`: `hexdecimal`. The balance of the account in Wei. - `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`. Update the given storage slots with new values. Note, `state` and `stateDiff` can't be specified at the same time. If `state` is set, message execution will only use the data in the given state. Otherwise if `statDiff` is set, all diff will be applied first and then execute the call.