Make storage notify subscribers of newly committed blocks only after they have been actually applied to the WSV. Also, send these notifications only if the commit to WSV succeeded.
Benefits
Hopefully fixes the unexpected old state reported through query after a block that updates it is reported committed.
Description of the Change
IR-406
Make storage notify subscribers of newly committed blocks only after they have been actually applied to the WSV. Also, send these notifications only if the commit to WSV succeeded.
Benefits
Hopefully fixes the unexpected old state reported through query after a block that updates it is reported committed.
Possible Drawbacks