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
db-synthesizer: relax check whether a dir "looks like a ChainDB" (#1221)
db-synthesizer has a sanity check when (over)writing a directory to
check whether it actually plausibly contains a ChainDB. Previously, this
check was only succeeding when the directory would contain exactly three
entries named `immutable`/`ledger`/`volatile`. This is somewhat
annoying, as ChainDBs usually contain the folder `gsm` as well as files
like `clean`/`lock`/`protocolMagicId` in addition.
This PR relaxes the check, as discussed with @mgmeier: We now only check
whether the subdirectories are a subset of
`immutable`/`ledger`/`volatile`/`gsm`, and fail if any other
subdirectories are present.
Follow-up to #1206
0 commit comments