-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract configuration constraints #314
Comments
Generic SetConfig/Config/ListConfig things are just a bad interface. Can easily be misused, impossible to track compatibility/migrations at the contract level. Of course you don't have a lot of options at |
Another side-effect of the current approach, BTW:
It's a number in fact. |
Not a solution, but a practical relief: defining global defaults. In many cases, this will reduce the amount of data stored and the burden on the administrator. |
#372 will solve it. Then |
The common pattern of storing the contract configuration is to use the set of key-value records. Given the neofs contract as an example, function
neofs-contract/neofs/neofs_contract.go
Line 511 in dc89137
Ref. #304.
The text was updated successfully, but these errors were encountered: