neo-project / neo

NEO Smart Economy
MIT License
3.46k stars 1.03k forks source link

Should native contracts be destroyable? #3363

Open AnnaShaleva opened 3 months ago

AnnaShaleva commented 3 months ago

Summary or problem description The last part of https://github.com/neo-project/neo/issues/3210 that requires additional discussion. It's proposed to add destroy mechanism to native contracts so that native contracts management become very similar to the ordinary contracts. In future we may need native contracts to be destroyable, for example to replace one native contract with another new one.

The question is: should we support this functionality?

Where in the software does this update applies to?

shargon commented 3 months ago

I think that is not required, we can make it possible in a future when it's needed

vncoelho commented 3 months ago

I think that it is an important requirement, we can make it possible in a future when it's needed