You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am doing teal = compileTeal(pyteal, mode=Mode.Application, version=MAX_PROGRAM_VERSION) in my PyTEAL, probably as many other people do.
PyTEAL recently updated MAX_PROGRAM_VERSION to 7. It makes Alogbuilder runtime fail with errors like:
TypeError: Cannot read properties of undefined (reading 'has')
at setInnerTxField (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/lib/itxn.ts:152:33)
at ITxnField.execute (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/interpreter/opcode-list.ts:4191:38)
This particular error occurs because uintTxtFields doesn't have a key 7.
I understand that TEAL 7 is not yet implemented neither in Algobuilder nor Algorand mainnet, but I think it should be run the same as TEAL 6 for now instead of throwing slightly mysterious errors.
The text was updated successfully, but these errors were encountered:
we are slowly adding Teal v7 support.
Could you share your PyTeal code (or part of it)? This way we can prioritize the parts which are failing related to your code?
I am doing
teal = compileTeal(pyteal, mode=Mode.Application, version=MAX_PROGRAM_VERSION)
in my PyTEAL, probably as many other people do.PyTEAL recently updated
MAX_PROGRAM_VERSION
to 7. It makes Alogbuilder runtime fail with errors like:This particular error occurs because
uintTxtFields
doesn't have a key 7.I understand that TEAL 7 is not yet implemented neither in Algobuilder nor Algorand mainnet, but I think it should be run the same as TEAL 6 for now instead of throwing slightly mysterious errors.
The text was updated successfully, but these errors were encountered: