diff --git a/object/types.proto b/object/types.proto index 0b249fd..e6bb914 100644 --- a/object/types.proto +++ b/object/types.proto @@ -57,15 +57,8 @@ message SystemHeader { bytes OwnerID = 4; // CID is a SHA256 hash of the container structure (container identifier) bytes CID = 5; - // CreatedAt is a timestamp of object creation - CreationPoint CreatedAt = 6; -} - -message CreationPoint { - // UnixTime is a date of creation in unixtime format - int64 UnixTime = 1; - // Epoch is a date of creation in NeoFS epochs - uint64 Epoch = 2; + // CreationEpoch carries number of NeoFS epoch on which the object was created. + uint64 CreationEpoch = 6; } message IntegrityHeader { diff --git a/proto-docs/object.md b/proto-docs/object.md index 8115802..eb69f23 100644 --- a/proto-docs/object.md +++ b/proto-docs/object.md @@ -30,7 +30,6 @@ - Messages - [Attribute](#object.Attribute) - - [CreationPoint](#object.CreationPoint) - [ExtendedHeader](#object.ExtendedHeader) - [Header](#object.Header) - [IntegrityHeader](#object.IntegrityHeader) @@ -374,18 +373,6 @@ Attribute groups the parameters of the object attributes. | Value | [string](#string) | | Value carries the string value of the object attribute. | - - -### Message CreationPoint - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| UnixTime | [int64](#int64) | | UnixTime is a date of creation in unixtime format | -| Epoch | [uint64](#uint64) | | Epoch is a date of creation in NeoFS epochs | - - ### Message ExtendedHeader @@ -479,7 +466,7 @@ Header groups the information about the NeoFS object. | ID | [bytes](#bytes) | | ID is an object identifier, is a valid UUIDv4 | | OwnerID | [bytes](#bytes) | | OwnerID is a wallet address | | CID | [bytes](#bytes) | | CID is a SHA256 hash of the container structure (container identifier) | -| CreatedAt | [CreationPoint](#object.CreationPoint) | | CreatedAt is a timestamp of object creation | +| CreationEpoch | [uint64](#uint64) | | CreationEpoch carries number of NeoFS epoch on which the object was created. |