Closed jeapostrophe closed 4 years ago
if you have txn object, you can create a dryrun request object with something like this:
goal clerk dryrun -t signout.stxn --dryrun-dump -o dr.msgp
where signout.stxn
is a signed (or not) txn or group.
Plus, what version of Chrome do you use?
goal
is not helpful here, because I exclusively use the JS SDK to generate transactions, since I am writing an interactive DApp, and not a terminal script.
This was on Version 85.0.4183.121 (Official Build) (64-bit)
How did you run the debugger? Command line example would be great. Were both txn in the same txn group? In the code, this loop can happen when CDT adapter (listens for event from the evaluator) is alive but the debugging core (runs eval and dispatches events from it) quited.
I ran the debugger by running tealdbg
, then submitted the txns in sequence in different groups with the JS SDK.
I am no longer relying on the debugger, because I just made my own simple thing that logs all of the requests and I just read the JSON directly. My fake server is this --- https://github.com/reach-sh/reach-lang/blob/master/scripts/algorand-devnet/server.rkt --- and I start it like this --- https://github.com/reach-sh/reach-lang/blob/master/scripts/algorand-devnet/start.sh#L13-L19
@algorandskiy can you take another look at this issue? If you can't reproduce, let's close for now. Otherwise, we can mark it as a TEAL bug that we can prioritize. @jeapostrophe let us know if you have any additional information that would be helpful in replicating this issue. Thanks to you both.
I can't replicate it. I'm happy closing this and I'll reopen if I hit it again.
I ran tealdbg last night and sent an application create txn. I visited the debugged once and everything worked but then the debugger was stuck afterwards printing out this infinitely:
I can't tell if the loop was caused by trying to debug one txn and then another or if the details of these transactions are the culprit.
Here's a base64 of the first:
and a base64 of the second:
I don't have a good way of just testing these because I don't have a way of exporting the state from the running algod (i.e. they reference application and accounts).