Closed Francesco4203 closed 1 month ago
One thing note here in PR is tracer is enabled by default
trie := &Trie{
owner: id.Owner,
reader: reader,
//tracer: newTracer(),
tracer: newTracer(),
}
I think u should spit one commit in the PR into more commits for easily reviewing, merging into one 's hard for understanding the purpose of changes.
Reference: https://github.com/ethereum/go-ethereum/pull/26763
Also applied some related changes from this PR: https://github.com/ethereum/go-ethereum/pull/27160
Changes:
trie/utils.go
totrie/tracer.go
origin
field intracer
toaccessList
, still the same functionmarkUpdated
andmarkDeleted
intoaddNode
committer
: move logic to mark deleted nodes tocommitter.store
for consistency with the mark update logic