Open angelol opened 5 years ago
Addendum: The process just freezes after this error. The only way to resolve it is to restart the process.
Thanks for following up, sorry this got dropped. I'll try to take a look at this when I have a few minutes.
I've been running for over 6 hours and haven't run into this issue. Do you happen to know of a block I could start at that might trigger this condition?
One thing to note, I have seen long periods of inactivity where if I hadn't added extra logging I would have assumed it was frozen.
It seems the only place where state
could be set to undefined
is here. That would mean that there is no block history at the given index, which means there's probably something wrong with the toDelete
assignment right above. I'll get to this eventually, but since this is a problem with just the example, it is low priority. If anyone else wants to tackle it and make a PR it would be greatly appreciated!
When running the unmodified eos-transfers example, after a while I get the following error:
I suspect it has something to do with fork handling because it usually comes immediately after a fork has been handled, but not always. Sometimes it handles a dozen forks fine and then suddenly, the error pops up.
The Jungle testnet seems to have conditions that provoke this error more often than then mainnet.