Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check stringers for every well-known header value #147

Closed
alexvanin opened this issue Sep 17, 2020 · 1 comment
Closed

Check stringers for every well-known header value #147

alexvanin opened this issue Sep 17, 2020 · 1 comment
Assignees

Comments

@alexvanin
Copy link
Contributor

Well-known object headers, such as ObjectID, OwnerID have related string constants, because neofs-api define header names in extended ACL filter and object search request as string type.

These filters also define values as string type, so we should check all stringer implementation of OwnerID, ObjectID and others related types in v2 and SDK.

@alexvanin
Copy link
Contributor Author

We've decided to make stringers and parsers for owner.ID, object.ID and container.ID structures. All these values should be presented as base58 encoded strings.

@im-kulikov im-kulikov self-assigned this Oct 13, 2020
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for container.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for object.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for object.Address
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
Add NEO3WalletSize as constant value.

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for owner.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for container.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for object.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for object.Address
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
Add NEO3WalletSize as constant value.

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for owner.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for container.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for object.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for object.Address
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
Add NEO3WalletSize as constant value.

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 14, 2020
- implement Stringer interface and Parse method for owner.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 15, 2020
- implement Stringer interface and Parse method for object.Address
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 15, 2020
Add NEO3WalletSize as constant value.

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 15, 2020
- implement Stringer interface and Parse method for owner.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
im-kulikov pushed a commit that referenced this issue Oct 15, 2020
- implement Stringer interface and Parse method for owner.ID
- increase test coverage

closes #147

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants