* Check if the statediff is already in progress or completed. * Update mock * Add comments.
replace new(trie.Trie) reduce debug noise patch postgres config - add driver, rename DefaultConfig => TestConfig