Resources
Troubleshooting
Known errors, likely causes, and fixes for judge testing.| Error | Cause | Fix |
|---|---|---|
NoxValidateInputProofFailed | Proof expired (>1hr) or wrong contract address | Encrypt immediately before submit. Use DEAL_ROOM_ADDRESS not NOX_CONTRACT_ADDRESS |
NoxAddViewerFailed | Handle doesn't exist on-chain | Call validateInputProof first via createDeal. Deal may be from old contract deployment. |
InvalidDealState | Deal already countered/closed/rejected | Check deal.status before calling. Create a new deal. |
FounderCannotCounter | Same wallet as founder | Use a different wallet address for investor |
Gas not available in MetaMask | Contract will revert, estimation fails and returns MAX_UINT64 | Force gas: 1_500_000n to bypass estimation |
Handle not authorized to decrypt | Wallet not in ACL viewers list | counterDeal must be called first to trigger addViewer |
execution reverted on Arbiscan | Internal Nox call failed | Check custom error in Arbiscan logs tab |
ChainGPT returns score 50 / Manual review | API key invalid or credits empty | Check CHAINGPT_API_KEY. Get free credits from @vladnazarxyz on Telegram |