user.ID.ScriptHash
should return no error #302
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#302
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
user.ID
is a script hash and has 1-1 mapping to it (see #303)The struct itself may have some of its internal invariants violated, but we already panic in the current code, and this seems right.
DecodeBytesBE
returns nil error, because we check the lengths ourselves.It's implementation may change in future, but I still think that the benefits of more succinct API are bigger, than downsides from ignoring an as-of-now-always-nil error.
user.ID
structure #323user.ID.ScriptHash()
usage #1618