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

Update to the latest SDK #3023

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Update to the latest SDK #3023

wants to merge 2 commits into from

Conversation

End-rey
Copy link
Contributor

@End-rey End-rey commented Nov 21, 2024

Refs #3005.

Wait for fixing SDK problems.

@End-rey End-rey self-assigned this Nov 21, 2024
@End-rey End-rey marked this pull request as draft November 21, 2024 15:23
Make `Client` interface fit the SDK method:
`ReplicateObject(ctx context.Context, id oid.ID, src io.ReadSeeker, signer neofscrypto.Signer, signedReplication bool) (*neofscrypto.Signature, error)`.
Use `Action.DecodeString` instead of `eacl.ActionFromString`.
Use `Object.ReadFromV2` instead of `object.NewFromV2`.
Use `Type.String` instead of `Type.EncodeToString`.
Check some vars for nil.

Signed-off-by: Andrey Butusov <[email protected]>
Use `GetAttributes` and `SetAttributes` from SDK instead of api-go
`netmap.Attribute`.

Signed-off-by: Andrey Butusov <[email protected]>
@cthulhu-rider
Copy link
Contributor

i'll notice here when SDK will be well-tested and rdy for a clean update, most likely https://github.com/nspcc-dev/neofs-sdk-go/milestone/8

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

Successfully merging this pull request may close these issues.

2 participants