Limit max REP value and number of REPs #307
Labels
documentation
Improvements or additions to documentation
enhancement
Improving existing functionality
I2
Regular impact
S2
Regular significance
U3
Regular
Milestone
Is your feature request related to a problem? Please describe.
I'm always frustrated when nothing limits values. Sometimes, I need to think about limitations in real cases (e.g., we have contracts, contracts have stack/memory/storage limits), and I do not know what to do and if it is possible to have 1024 replicas 1024 times or even more.
Describe the solution you'd like
Check there are no unrealistic containers in our networks and add nice limits to API. 256 max REP value and 256 max numbers of REPs look good to me.
Describe alternatives you've considered
Additional context
nspcc-dev/neofs-contract#438
The text was updated successfully, but these errors were encountered: