Debugging rejected transaction: Possible approach

Hi algoranders.

Suppose that I dont have the possibility to trigger a Dry-run for a specific TX and I find the node is rejecting some transaction e.g: due to a seemingly ApprovalProgram logic behavior.

What are the possibilities for debugging this if I have access to a node instance?

Thanks.

What is preventing you from doing a dry-run if you have access to a node instance?

I don’t think there is really another solution… apart from running the code in your head to find the issue.

1 Like

Well, a dry-run may fail due to some bug Panic in TEAL Eval: overflowed account balance when applying rewards · Issue #2896 · algorand/go-algorand · GitHub.