// This should be called at the end of every transaction where the transitions are performed to avoid emitting duplicate
// transition outputs.
n.root().opLog = nil
n.cache.dirty = false
for _, child := range n.cache.children {
child.ClearTransactionState()
}