You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Neo 3
Where in the software does this update applies to?
Other: ManagementContract
The text was updated successfully, but these errors were encountered:
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 toDeploy
(andUpdate
?) method ofManagementContract
and pass it to_deploy
callback.Neo Version
Where in the software does this update applies to?
The text was updated successfully, but these errors were encountered: