- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1k
Description
Summary or problem description
Native contracts are deployed by ContractManagement's OnPersist method, but what this method does is just pushing contract state to the DB. For regular contracts we have events generated as well since #2150, while there are no such events for native contracts. Of course they're not critical as of now, we know these contracts well and they're only changed at the genesis block, however this makes native contracts somewhat inconsistent with the regular ones and also can be a problem if we're to ever use NativeUpdateHistory feature with updates made to native contracts at some non-zero blocks.
Do you have any solution you want to propose?
Emit "Deploy"/"Update" events for native contracts.
Neo Version
- Neo 3
Where in the software does this update applies to?
- ContractManagement native contract