Closed roysc closed 2 years ago
I've added signal handlers so the recovery file is dumped on SIGINT - I'm guessing we'll want that. Should we also handle SIGTERM, SIGKILL?
Nice @roysc thanks, yeah I think we should handle SIGTERM. SIGKILL is so forceful that I think it's fair to expect it to quit without dumping.
Implements https://github.com/vulcanize/ipld-eth-state-snapshot/issues/17
Also includes corrections for edge cases, cleans up the logic some, and expands tests. Depends on https://github.com/vulcanize/go-eth-state-node-iterator/pull/10, will update go.mod after that is merged.