Closed nicbus closed 9 months ago
The purpose of this eprint is to make sure that we do not do something wrong with bulletproof while they are not working here. It helps to control how many times this method is called (and it must not be called any time except the validation).
I mean if we would ever try to store something containing bulletproof we will instantly see this eprint.
So while it is inconvenient, I think before releasing v0.11 it's better to keep it there.
Ok, I came up with a better solution: https://github.com/RGB-WG/rgb-core/pull/210
I agree that's a better solution.
The output from the following
eprint
appears on the console:This is inconvenient and I think this output should be suppressed.
I propose to protect the
eprint
behind a feature flag (e.g.log
).