Can we add some additional asserts around pending size & expected global hash.