nspcc-dev / neofs-contract

NeoFS smart-contract
Other
9 stars 17 forks source link

Should IR requirements be reflected in the contract docs? #323

Open cthulhu-rider opened 1 year ago

cthulhu-rider commented 1 year ago

One of the Inner Ring activities in NeoFS architecture is listening to Sidechain contracts and validating incoming events. The Inner Ring imposes arequirements for some operations.

For example, to switch storage node to MAINTENANCE mode it should be allowed by the network configuration. Contract docs does not mention this restriction. Maybe it should?

Even if contract does not verify such cases, docs could prevent some pre-failed transactions.

roman-khimov commented 1 year ago

if contract does not verify such cases

This is the main problem in many of such cases. See #314 also.