If you encounter a crash, halt, or "apphash" error on your Sei node and can collect data, please follow these guidelines based on the specific issue.
For app hash mismatches, we must capture the state to compare with a known "good" version:
- State Dump:
- Legacy IAVL DB:
seid debug dump-iavl <latest height> - SeiDB (most non-archive nodes):
Follow these steps to perform a state dump:git clone https://github.com/sei-protocol/sei-db.git cd sei-db/tools make install systemctl stop seid seidb dump-iavl -d ~/.sei/data/committer.db -o /home/ubuntu/iavl-dump systemctl restart seid
- Legacy IAVL DB:
- State Hashes:
Include the app hash, commit hash, and block height from logs.
For most other incidents/issues:
- Stack Trace or Error Logs:
Capture the full stack trace or error logs at the time of the crash.- Provide at least 1,000 lines of logs leading up to the crash or 15 minutes of log data, whichever is more useful.
- Logs or files under 10 MB: Upload to GitHub Gist and share the link.
- Larger files (e.g., state dumps): Contact the support team for alternative upload methods.
Thank you for your efforts to assist with debugging! Your contributions help speed up issue resolution.