Currently, we ignore note scripts if they already exist in the note_scripts table. This isn't necessarily wrong, but it makes it akward to debug notes because if you want to add a debug.stack instruction for example, the note script hash doesn't change and thus if you already had the note script on the db the change won't go through. Because of that, you end up needing to clear the db (or at least the existing row) on each change and it slows down the debug process
Currently, we ignore note scripts if they already exist in the
note_scripts
table. This isn't necessarily wrong, but it makes it akward to debug notes because if you want to add adebug.stack
instruction for example, the note script hash doesn't change and thus if you already had the note script on the db the change won't go through. Because of that, you end up needing to clear the db (or at least the existing row) on each change and it slows down the debug process