スキル一覧に戻る
gabrielkuettel

troubleshoot-errors

by gabrielkuettel

A 100% vibe coded NFT gallery

0🍴 0📅 2026年1月20日
GitHubで見るManusで実行

SKILL.md


Troubleshoot Errors

Diagnose and resolve common Algorand development errors.

Error Categories

CategoryCommon CausesReference
Contract ErrorsAssert failures, opcode budget, invalid operationscontract-errors.md
Transaction ErrorsOverspend, invalid params, group issuestransaction-errors.md

Quick Diagnosis Flow

  1. Identify the error type from the message
  2. Check the error code if present (e.g., pc=123)
  3. Find the root cause using the reference docs
  4. Apply the fix from the common solutions

Common Error Patterns

Logic Eval Error (Contract Failure)

logic eval error: assert failed pc=123

Cause: An assert statement in the smart contract evaluated to false.

Debug steps:

  1. The pc=123 indicates the program counter where failure occurred
  2. Use source maps to find the exact line in your code
  3. Check the assertion condition and input values

Transaction Rejected

TransactionPool.Remember: transaction TXID: overspend

Cause: Sender account has insufficient balance for amount + fee.

Fix: Fund the sender account or reduce the transaction amount.

Opcode Budget Exceeded

logic eval error: dynamic cost budget exceeded

Cause: Contract exceeded the 700 opcode budget per app call.

Fix:

  • Add more app calls to the group for additional budget (pooled)
  • Optimize contract logic to reduce operations
  • Split complex operations across multiple calls

Asset Not Opted In

asset ASSET_ID missing from ACCOUNT_ADDRESS

Cause: The receiving account hasn't opted into the asset.

Fix: Have the receiver opt in before transferring:

algorand.send.asset_opt_in(AssetOptInParams(
    sender=receiver_address,
    asset_id=asset_id,
))

How to Proceed

  1. Find your error in the category references below
  2. Understand the cause from the explanation
  3. Apply the solution from the code examples

References

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です