cmd: add integration test for rollback functionality (backport #7315) (#7369)

This commit is contained in:
mergify[bot]
2022-01-05 18:07:06 +01:00
committed by GitHub
parent 7770ab0efd
commit c7d338f712
12 changed files with 133 additions and 47 deletions
+4
View File
@@ -572,6 +572,10 @@ func (bs *BlockStore) SaveSignedHeader(sh *types.SignedHeader, blockID types.Blo
return batch.Close()
}
func (bs *BlockStore) Close() error {
return bs.db.Close()
}
//---------------------------------- KEY ENCODING -----------------------------------------
// key prefixes