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
Describe the bug deploy and update methods of ContractManagement native contract internally call _deploy method of the deployed/updated contract (if it exists, of course). However, both methods are specified as requiring only CallFlags.States | CallFlags.AllowNotify flags which I think is not correct.
Expected behavior
Have them require CallFlags.All (similar to NEO or GAS transfer methods that also do internal invocations).
Describe the bug
deploy
andupdate
methods of ContractManagement native contract internally call_deploy
method of the deployed/updated contract (if it exists, of course). However, both methods are specified as requiring onlyCallFlags.States | CallFlags.AllowNotify
flags which I think is not correct.Expected behavior
Have them require
CallFlags.All
(similar to NEO or GAStransfer
methods that also do internal invocations).Platform:
(Optional) Additional context
Related to nspcc-dev/neo-go#1990.
The text was updated successfully, but these errors were encountered: