Group TX failed in dryrun: costs insane

Hello guys, I’m getting the following report at a dryrun of several transactions in a group:

Group[4]: FAILED, cost: 18446744073709552000

This is possible due to some bug in TEAL code e.g uncontrolled loop or maybe some problem in our usage of the Dryrun facilities in the SDK?
Thanks.

This is an effect of a uint64 underflow.

The latest go-algorand has 2 new fields budget-added and budget-consumed where budget-consumed -budget-added should be equivalent to the cost

2 Likes