neo-modules icon indicating copy to clipboard operation
neo-modules copied to clipboard

[RpcNep5Tracker] Using contract id instead of contract scriptHash.

Open nicolegys opened this issue 4 years ago • 3 comments

Now the plugin uses contract scriptHash to creat a key in storage. image Shall we use contract id instead? Since now we support migrating/destroying a contract, the scriptHash could be changed/deleted. Maybe we also need to handle notifications other than transfer, to handle the migration/destroy scenes.

nicolegys avatar Mar 18 '20 09:03 nicolegys

Yes, we should do it

shargon avatar Mar 18 '20 16:03 shargon

This can be reopened? the scriptHash could not be changed if contract migrated. @Tommo-L

ProDog avatar Jul 08 '20 03:07 ProDog

Yes, plz reopen it.

Tommo-L avatar Jul 08 '20 03:07 Tommo-L