mirror of
https://github.com/nspcc-dev/neofs-contract.git
synced 2026-03-01 04:28:59 +00:00
Split audit tasks inside audit contract #9
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#9
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 @alexvanin on GitHub (Dec 21, 2020).
Right now inner ring nodes split all available containers to perform audit autonomously by getting giant container list from container contract (see #29). Later if audit contract will store audit complexity values per container, inner ring node will do more work asking one more contract to split the tasks.
Instead we can offload it to audit contract. Let it iterate through all containers and pick suitable ones for inner ring node. To do so we need:
storage.Context,storage.Findin audit contract and return suitable containers.@alexvanin commented on GitHub (Sep 9, 2021):
It should be useful in multiimplementation environment, where it's hard synchronize new audit selection policy. It will be easier to update contract than update multiple Inner Ring implementations.
@roman-khimov commented on GitHub (Jul 9, 2025):
No audit — no problem. #499