feat: Add PrepareCheckState
and Precommit
callbacks
#14860
Merged
PrepareCheckState
and Precommit
callbacks
#14860