Summary or problem description
Some contracts require initialization before their first real use and we have _deploy method now to run at deployment/update stage. But some contracts need to get an additional data for proper initialization (hashes of other contracts, addresses of admins, other data, https://github.com/nspcc-dev/neofs-contract/blob/c6fd4dc77c3aab3795057eb3fae2a7946285f3c5/alphabet/alphabet_contract.go#L59 for example) and we can't pass it at the moment to the _deploy thus an additional initialization transaction is still needed.
Do you have any solution you want to propose?
Add an additional StackItem data parameter to Deploy (and Update?) method of ManagementContract and pass it to _deploy callback.
Neo Version
Where in the software does this update applies to?
- Other: ManagementContract
Summary or problem description
Some contracts require initialization before their first real use and we have
_deploymethod now to run at deployment/update stage. But some contracts need to get an additional data for proper initialization (hashes of other contracts, addresses of admins, other data, https://github.com/nspcc-dev/neofs-contract/blob/c6fd4dc77c3aab3795057eb3fae2a7946285f3c5/alphabet/alphabet_contract.go#L59 for example) and we can't pass it at the moment to the_deploythus an additional initialization transaction is still needed.Do you have any solution you want to propose?
Add an additional
StackItem dataparameter toDeploy(andUpdate?) method ofManagementContractand pass it to_deploycallback.Neo Version
Where in the software does this update applies to?