Activity - jannotti - Algorand
Which protocol steps have TEAL execution?
I’ll try to answer, but I’m not sure I follow your questions precisely. First, there are two kinds of TEAL execution: 1) programs executed in logicsigs, and 2) programs executed in ApplicationCall (“appl”) transaction.
Case #1 Logicsigs - These are explicitly designed to be stateless with respect …
Rekeying an address back to itself?
Yes, you must be explicit with the rekey-to, rather than set it to null, because there’s no encoding of a null value at the txn msgpack level. The closest thing is simply not setting a field. But if you don’t set it, you don’t rekey it, which was your original intent!
Why have both txn.sender() and txn.asset_sender() in PyTEAL?
They are different. The Sender is the sender of the transaction and, often, the account the assets will come from. But not for clawback. In a clawback transaction, AssetSender is set (normally it’s zero). The Sender is the account with clawback authority. But the assets move from AssetSender …
Asset URL max length (how to link IPFS)
You could weigh in here: TEAL 4 Epic · Issue #1950 · algorand/go-algorand · GitHub But honestly, there isn’t a lot of nuance to this particular conversation - I think everyone has come to realize that 32 bytes is too small. The current intention is to expand the limit to 96 bytes. That seems to a…