Timeline for Error with block built on XXX: Import failed: Unexpected epoch change
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 20, 2023 at 1:58 | comment | added | Yeou | @AurevoirXavier Hi, So we are facing some issue with our testnet for some time are blocks not being produced, I saw at least 5 of the validators got slashed and many peers got removed from the network all together (100+), we tried to get the chain back up but nothing worked yet, while testing on local I found this error "unexpected epoch change". so does this mean if this happen, the chain won't be able to recover and the only choice is to restart the network. Seems priority would be to update the code to latest substrate version. | |
Apr 7, 2023 at 3:20 | comment | added | aurexav♦ |
No, that's impossible. Unless you modify the consensus engine. BTW, you can use the latest version. No more unexpected epoch change in the future.
|
|
Apr 7, 2023 at 0:25 | comment | added | Syed Kamran | I have the same issue and I wanted to solve it without removing the data dir (for obvius reason). Is there any other solution possible? | |
Aug 4, 2022 at 5:58 | comment | added | aurexav♦ |
IMHO --dev is not a good choice, as he is on relaychain env. --dev will build a brand new genesis state. Which may cause some syncing issues. But if --chain could override the --dev 's default chain, that's fine.
|
|
Aug 4, 2022 at 5:55 | comment | added | Squirrel |
or run with --dev which will implicitly use --tmp flag to use a fresh db each time.
|
|
Aug 4, 2022 at 0:52 | comment | added | aurexav♦ |
Just remove the data dir. If you specify the --base-dir or -d then there it is. If not, on Linux it will be ~/.local/share/<chain name> , on Mac it will be ~/Library/Application Support/<chain name> .
|
|
Aug 3, 2022 at 8:18 | comment | added | Darian Foulds | How do I clean the DB? | |
Aug 2, 2022 at 13:22 | history | answered | aurexav♦ | CC BY-SA 4.0 |