-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: miner: Don't require db config when it's not used #11420
Conversation
Please benefit from the fix-sturdy-tests branch to see if anything has broken. |
When running with all settings default, the
I played a little bit around with setting the different config.HarmonyDB in builder_miner.go: Lines 107 to 109 in 57f5760
Lines 242 to 243 in 57f5760
to only be set if EnableSectorIndexDB is true, but I still encounter errors like this when trying to
|
55c86f2
to
c538731
Compare
c538731
to
d82da79
Compare
It appears that Can you add to their constructor helpers the config it needs for the database to be reachable? |
Related Issues
This fixes the issue where default config lotus-miner requires database configuration even though nothing is using it
Proposed Changes
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps