mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
fix(tracing): fix ZktrieTracer race condition (#356)
* fix race condition of zktrie tracer * Update version.go --------- Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
This commit is contained in:
parent
1f167bd730
commit
4867699afa
2 changed files with 2 additions and 2 deletions
|
|
@ -345,7 +345,7 @@ func (api *API) getTxResult(env *traceEnv, state *state.StateDB, index int, bloc
|
|||
m = make(map[string][]hexutil.Bytes)
|
||||
env.StorageProofs[addrStr] = m
|
||||
if zktrieTracer.Available() {
|
||||
env.zkTrieTracer[addrStr] = zktrieTracer
|
||||
env.zkTrieTracer[addrStr] = state.NewProofTracer(trie)
|
||||
}
|
||||
} else if _, existed := m[keyStr]; existed {
|
||||
// still need to touch tracer for deletion
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import (
|
|||
const (
|
||||
VersionMajor = 4 // Major version component of the current release
|
||||
VersionMinor = 0 // Minor version component of the current release
|
||||
VersionPatch = 3 // Patch version component of the current release
|
||||
VersionPatch = 4 // Patch version component of the current release
|
||||
VersionMeta = "sepolia" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue