Failed to initialize genesis miner #10986
Replies: 2 comments 2 replies
-
Hey @HtopH! I suspect that you are seeing the above errors because you have potentially installed lotus/lotus-miner installs on different paths on your machine? With regards to the genesis-sectors/pre-seals they also need to be cleaned up on every reset of a local network. I would suggest to do a round of cleanup of the local dev-net repos:
And then start the local devnet tutorial from start again: https://lotus.filecoin.io/lotus/developers/local-network/#set-up-a-lotus-node |
Beta Was this translation helpful? Give feedback.
-
lotus-seed pre-seal --sector-size 2KiB --num-sectors 2 Suggest change it on lotus docs |
Beta Was this translation helpful? Give feedback.
-
when i use the command
./lotus-miner init --genesis-miner --actor=t01000 --sector-size=2KiB --pre-sealed-sectors=
/.genesis-sectors --pre-sealed-metadata=/.genesis- sectors/pre-seal-t01000.json --nosyncWhen initializing the miner, an error appears in the log:
ERROR miner miner/miner.go:473 completed mineOne {"tookMilliseconds": 28, "forRound": 1, "baseEpoch": 0, "baseDeltaSeconds": 1775, "nullRounds": 0, "lateStart": true, "beaconEpoch ": 3040259, "lookbackEpochs": 900, "networkPowerAtLookback": "40960", "minerPowerAtLookback": "40960", "isEligible": true, "isWinner": true, "error": "failed to compute winning post proof: faulty sectors [SectorId(1)]", "errorVerbose": "failed to compute winning post proof:\n github.com/filecoin-project/lotus/miner.(*Miner).mineOne\n /home/admin/Data /softWare/lotus-local-net/miner/miner.go:543\n - faulty sectors [SectorId(1)]"}
Then I found that
./lotus-miner sectors list returns empty, the miner is not located in the sealed sector,
but I have run
./lotus-seed pre-seal --sector-size 2KiB --num-sectors 2
Come to pre-seal 2 sectors
Beta Was this translation helpful? Give feedback.
All reactions