[#185] Update SDK to support new tree/pool version
All checks were successful
/ Vulncheck (pull_request) Successful in 4m45s
/ Builds (pull_request) Successful in 5m15s
/ DCO (pull_request) Successful in 9m33s
/ Lint (pull_request) Successful in 5m36s
/ Tests (pull_request) Successful in 5m2s

Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
This commit is contained in:
Marina Biryukova 2024-12-20 09:45:42 +03:00
parent a658f3adc0
commit 4474f052de
15 changed files with 299 additions and 38 deletions

View file

@ -365,6 +365,7 @@ func (h *Handler) readContainer(ctx context.Context, cnrID cid.ID) (*data.Bucket
}
bktInfo.HomomorphicHashDisabled = container.IsHomomorphicHashingDisabled(*res)
bktInfo.PlacementPolicy = res.PlacementPolicy()
return bktInfo, err
}

View file

@ -142,7 +142,7 @@ func prepareHandlerContext() (*handlerContext, error) {
Size: 1,
Lifetime: 1,
Logger: logger,
}),
}, false),
}
treeMock := newTreeService()