Documentation Index
Fetch the complete documentation index at: https://open-dbe26606.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Installation issues
command not found: opendev
Cause: CLI not installed globally or PATH not updated.
Solutions:
-
Verify npm install succeeded:
-
Re-install globally:
- Restart your terminal to pick up PATH changes.
-
Check npm prefix:
Module not found errors during build
Cause: Monorepo dependencies not installed. Solution:RPC and network issues
ECONNREFUSED / network timeout
Cause: RPC endpoint down or unreachable.
Solutions:
-
Check RPC status:
-
Try a different RPC:
-
Configure a persistent RPC:
Signature not found
Cause: Signature doesn’t exist, wrong network, or not finalized yet.
Solutions:
-
Confirm network:
- Check on Solscan: Visit solscan.io and paste the signature to verify.
- Wait for finalization: Transactions need a few seconds to finalize. Try again in 5 seconds.
Decoder and program issues
Unknown program in output
Cause: Program has no decoder registered.
Solutions:
-
Check coverage:
- Request a decoder: Open an issue on GitHub with the program pubkey.
- Use generic IDL decoder: If the program has an onchain IDL, opendev will try to decode generically.
IDL not found warning
Cause: Program lacks an IDL on chain.
Solutions:
- Provide the IDL manually: Some programs don’t publish IDLs. Check the program’s repo or docs.
-
Skip caching:
Simulation issues
EXECUTING USER CODE banner but no error
Cause: Script ran but didn’t output base64.
Solutions:
-
Verify output:
Run your script directly and check the last stdout line:
- Output format: Base64 must be on the last non-empty line, ≥100 characters.
-
Use intermediate file:
esbuild was installed for a different platform (WSL)
Cause: node_modules built on Windows but running in WSL (or vice versa).
Solution:
~/dev/...) when using WSL.
Top-level await is currently not supported with the "cjs" output format
Cause: TypeScript file uses top-level await with .ts extension.
Solutions (pick one):
-
Rename to
.mts: -
Wrap in
main(): -
Add
"type": "module"topackage.json(affects whole project).
exec timeout exceeded
Cause: Source file execution (cargo build, npm install, etc.) took too long.
Solution:
AI insights issues
No AI suggestions appearing
Cause: API key not configured or invalid. Solutions:-
Check what’s configured:
-
Set up AI:
- Verify key is active: Check the provider’s dashboard (console.groq.com / console.anthropic.com).
Invalid API key error
Cause: Key format wrong or expired.
Solutions:
-
Verify key format:
- Groq: should start with
gsk_... - Anthropic: should start with
sk-ant-...
- Groq: should start with
-
Regenerate key:
- Log into provider’s dashboard
- Delete old key
- Create a new one
- Update opendev:
Provider quota exceeded
Cause: Hit usage limits (common on Groq free tier). Solutions:-
Switch provider:
- Wait for quota reset: Groq’s free tier resets daily.
-
Use rule-based only:
Performance issues
Slow analysis (>5 seconds for single tx)
Cause: Large transaction, slow RPC, or network latency. Solutions:-
Check RPC latency:
-
Use faster RPC:
-
Enable cache:
By default, IDL cache is on. Verify:
-
Run batch analysis offline:
Cache IDLs once, then batch:
High memory usage
Cause: Large CPI trees or many accounts. Solution:Configuration issues
credentials.json permission error
Cause: File has wrong permissions.
Solution:
Wrong RPC being used
Cause: Multiple RPC sources in conflict. Debug order (highest to lowest precedence):-
CLI flag:
-
Environment variable:
-
Credentials file:
- Default: mainnet
General debugging
Enable verbose output
Check CLI version
Check installed packages
See all configuration
Still stuck?
- Search GitHub issues: OpenSubmissionn/Open_DevTool
- Check architecture docs: See Project Structure
- Enable verbose mode:
opendev --verbose - Open an issue: Include
opendev --version, full command, and output