2K network cannot be restarted #11876
Replies: 5 comments
-
Hey @Vladmair! Based on the error Try to clean-up/remove/rename the different lotus paths you have used earlier, and then retry:
|
Beta Was this translation helpful? Give feedback.
-
Hi @rjan90 |
Beta Was this translation helpful? Give feedback.
-
Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 24 hours. |
Beta Was this translation helpful? Give feedback.
-
Hey @Vladmair! If you want to restart the local devnet from where you stopped it you do not have to setup a new genesis, etc. All you need is to stop lotus-miner and lotus daemon running the devnet, and restart them. If you want to start from a fresh devnet you need to remove the old genesis, .lotus-devnet folders, etc. And then just follow the outlined steps in the tutorial. Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
-
I will close/convert this issue-ticket to a discussion, since I´m unable to repro and there does not seem to be a bug here. I´m happy to troubleshoot more with you in the discussion, so you can get this sorted |
Beta Was this translation helpful? Give feedback.
-
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
git clone https://github.com/ipfs-force-community/lotus.git
git checkout v1.26.2
rm -rf ~/.genesis-sectors
make 2k
make lotus-shed
./lotus-seed pre-seal --sector-size 2KiB --num-sectors 2
./lotus-seed genesis new localnet.json
./lotus-seed genesis set-vrk --account $ localnet.json
./lotus-seed genesis add-miner localnet.json ~/.genesis-sectors/pre-seal-t01000.json
./lotus daemon --lotus-make-genesis=devgen.car --genesis-template=localnet.json --bootstrap=false
open new window:
./lotus wallet import --as-default $ private key
./lotus wallet import --as-default ~/.genesis-sectors/pre-seal-t01000.key
restart lotus
./lotus daemon --lotus-make-genesis=devgen.car --genesis-template=localnet.json --bootstrap=false
Describe the Bug
Follow the steps to reproduce the problem
Logging Information
Beta Was this translation helpful? Give feedback.
All reactions