Better namespacing + clean functionality
norswap opened this issue · comments
Right now, we store node databases directly under the db
directory.
As a result, a checkout of the roll-op
repo can only be used to manage a single rollup.
Instead, we should namespace databases under db
by using the deployment name (--name
flag).
This will also greatly improve the functionality of clean
and --clean
, which will now only clean stuff related to the named deployment, which will now match how it clean deploy artifacts (list of L1 addresses that the rollup contracts are deployed to).
The same treatment should also be applied to log files!