feat: persist and restore target height via MetadataStorage
#476
+96
−21
MetadataStorage
#476