0

In *StateDB.Finalise function, why stateObjectsDirty flags of stateObjects are not reset after merging to the state trie?

This leads to handling all stateObjects including some stateObjects not modified in the transaction execution. I feel this is waste of cost.

However, I am afraid there should be a good reason to merge all stateObjects everytime.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.