mirror of
https://github.com/nspcc-dev/neofs-contract.git
synced 2026-03-01 04:28:59 +00:00
Use iterators for neofs id contract #126
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U1
U2
U3
U4
alphabet
audit
balance
blocked
bug
config
container
discussion
documentation
enhancement
feature
go
good first issue
help wanted
neofs
neofsid
netmap
nns
nns
performance
proxy
question
reputation
security
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-contract#126
Loading…
Add table
Add a link
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?
Originally created by @AnnaShaleva on GitHub (Jan 27, 2023).
There's no max constraint for the number of keys that can be bound to the owner ID (so the number of keys completely depends on the owner). Several subsequent successful calls to
neofs_contract.go'sBindmethod with a large batch of keys will result in keys list overflow (currently 2047 keys at max is allowed). We need either to refactor thenspcc-dev/neofs-contract@dc89137484/neofsid/neofsid_contract.go (L196)to return the iterator or to restrict the maximum number of connected keys per owner.Ref. #304.
@roman-khimov commented on GitHub (Mar 26, 2025):
Obsolete, see #474.