Kindelia icon indicating copy to clipboard operation
Kindelia copied to clipboard

`kindelia publish` improvement

Open kings177 opened this issue 2 years ago • 4 comments

if a rollback happens when there is a publish in the mempool, that publish will be removed from the mempool, and so, you need to publish the file again. Since it's the same file, it's bound to add already published funs and ctrs to the mempool, which is a pain in the ass, considering the fact that the node will receive everything, including "repeated" things, returning a wall of ERRORs, wasting a lot of time, just to get another rollback, and the cycle repeats.

That being said, i think it would be pretty useful to have a command like:

kindelia node publish --nodebug

or

kindelia node republish

that ignores already published functions and only adds to the mempool those that "didn't fail"

kings177 avatar Nov 10 '22 19:11 kings177