Remove StatesDumper - Minor Refactor on StorageDumper#3281
Conversation
|
@superboyiii @roman-khimov, I suspect that you are the ones that use this plugin. In this case, I deleted StateDumper. |
My suggestion is DO NOT DELETE IT DIRECTLT, but mark it as [Obsolete], no matter there is someone using it or not, we should not just delete an existing thing without telling the eco-system and warn them. |
Both plugins are the same @Jim8y . |
|
I updated my last comment because I thought the message was from @superboyiii...aehuahea There is no sense in what you said @Jim8y, you should check the code first. |
I am not saying you should keep duplicate code, what I mean is you should not delete existing thing directly. Its duplicated, but its also a neo product, a product should not be removed all of a sudden, but give a warning first, then remove later. |
I understand your point of view. However, this is not the case now @Jim8y. Furthermore, it is COMPLETELLY SIMPLE TO MODIFY to the other plugin instead, if someone is currently using the |
|
You can still do the same, i just suggest to do it latter, after one release. But i am ok if other coredevs think its fine. |
|
I would suggest you write a readme to introduce the plugin. |
That a good idea. I will check how current Readme is. |
|
If they have the same functionally and one can be replaced with another then deletion is fine and it'd just be a release note --- "if you're using X, please use Y now". And it's not a very popular plugin, not RpcServer for sure. We have a |
Block dump files were renamed from dump-block-X.json to dump-block-X.dump in neo-project/neo#3281. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Problem: #3281 removes StatesDumper plugin, however, the output format of state dump files generated by StorageDumper is incompatible with StatesDumper format. We have a set of existing tools that rely on output format of StatesDumper. Solution: Get back to the old format of output dump files. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Problem: #3281 removes StatesDumper plugin, however, the output format of state dump files generated by StorageDumper is incompatible with StatesDumper format. We have a set of existing tools that rely on output format of StatesDumper. Solution: Get back to the old format of output dump files. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
close #3271