You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe we need to refine this a little bit better.
We can always fetch the emitted logs, however it is a bit more cumbersome, since DsPause uses LibNote instead of plain events.
However, what should this script return exactly?
The proposal was to add a set of js functions + tests + a basic CLI wrapper to this repo to:
List all plotted spells based on the events emitted
Fetch all events emitted by DSPause
Parse event data and names
Display plotted but not-executed and not-dropped spells in a list
Execute a transaction to deploy drop spell (using parameters from the list above)
Why is this needed: deploying a drop spell is not a trivial operation, therefore the js script itself should also be audited.
It can potentially be exploited by non-compliant spell and a deployed who is not aware of this possibility
It currently requires engineering oversight to find, list and parse event data
If the end goal is the UI, in the future, the UI can simply import audited functions and call them – effectively reusing core functionality and ensuring security-crucial logic.
As decided here: #2 (comment)
The text was updated successfully, but these errors were encountered: