mirror of
https://github.com/nspcc-dev/neofs-contract.git
synced 2026-03-01 04:28:59 +00:00
Use iterators for audit contract #122
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#122
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).
Method
nspcc-dev/neofs-contract@dc89137484/audit/audit_contract.go (L135)lists the set of
DataAuditResultIDs collected for all containers for all epochs for all IR nodes, the result of this method is limited byMaxStackSize-1(one for the resulting array and 2047DataAuditResults). We need to return iterator from this method (and adapt all its usages to the new API).ListByEpoch,ListByCIDandListByNodemay also be adjusted, but it's not so critical for them (there's not so much audit results per epoch).Ref. #304.
@roman-khimov commented on GitHub (Jul 9, 2025):
No audit — no problem. #499