1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

revert in-memory implementation

This commit is contained in:
Marat S 2025-02-25 19:07:57 +00:00
parent fbb9954391
commit bc3fc8966f
4 changed files with 52 additions and 115 deletions

View file

@ -2318,7 +2318,10 @@ TEST(TonDb, LargeBocSerializer) {
std_boc_serialize_to_file_large(dboc->get_cell_db_reader(), root->get_hash(), fd, 31);
fd.close();
auto b = td::read_file_str(path).move_as_ok();
CHECK(a == b);
auto a_cell = vm::deserialize_boc(td::BufferSlice(a));
auto b_cell = vm::deserialize_boc(td::BufferSlice(b));
ASSERT_EQ(a_cell->get_hash(), b_cell->get_hash());
}
TEST(TonDb, DoNotMakeListsPrunned) {