[#84] object: Regenerate EC-header type

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-05-27 12:13:49 +03:00 committed by Evgenii Stratonikov
parent 9e825239ac
commit 2f6d3209e1
5 changed files with 87 additions and 58 deletions

View file

@ -93,6 +93,7 @@ func GenerateECHeader(empty bool) *object.ECHeader {
ech.Parent = refstest.GenerateObjectID(empty)
ech.ParentSplitID = []byte{1, 2, 3}
ech.ParentSplitParentID = refstest.GenerateObjectID(empty)
ech.ParentAttributes = GenerateAttributes(empty)
ech.Index = 0
ech.Total = 2
ech.Header = []byte("chunk of ec-encoded parent header")