algorand-python-testing 1.0.0b8__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/CHANGELOG.md +16 -0
  2. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/PKG-INFO +1 -1
  3. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/coverage.md +7 -1
  4. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/concepts.md +5 -0
  5. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/pyproject.toml +4 -4
  6. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/scripts/refresh_test_artifacts.py +4 -0
  7. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/scripts/validate_examples.py +3 -1
  8. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/arc4.py +3 -0
  9. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/decorators/arc4.py +1 -0
  10. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/account.py +3 -0
  11. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/primitives/array.py +15 -0
  12. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/Contract.approval.teal +15 -13
  13. algorand_python_testing-1.1.0/tests/artifacts/AVM12/data/Contract.arc56.json +131 -0
  14. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/ContractV0.approval.teal +10 -2
  15. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/ContractV0.arc56.json +5 -5
  16. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/ContractV1.approval.teal +10 -2
  17. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/ContractV1.arc56.json +5 -5
  18. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4ABIMethod/contract.py +3 -1
  19. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.approval.teal +53 -33
  20. algorand_python_testing-1.1.0/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc56.json +498 -0
  21. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.approval.teal +3 -1
  22. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc56.json +4 -4
  23. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.approval.teal +3 -1
  24. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc56.json +68 -68
  25. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/Contract.approval.teal +7 -3
  26. algorand_python_testing-1.1.0/tests/artifacts/Arrays/data/Contract.arc56.json +379 -0
  27. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/DynamicArrayInitContract.approval.teal +40 -38
  28. algorand_python_testing-1.1.0/tests/artifacts/Arrays/data/DynamicArrayInitContract.arc56.json +144 -0
  29. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/ImmutableArrayContract.approval.teal +304 -302
  30. algorand_python_testing-1.1.0/tests/artifacts/Arrays/data/ImmutableArrayContract.arc56.json +840 -0
  31. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/StaticSizeContract.approval.teal +5 -3
  32. algorand_python_testing-1.1.0/tests/artifacts/Arrays/data/StaticSizeContract.arc56.json +334 -0
  33. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/immutable.py +1 -0
  34. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/BoxContract/data/BoxContract.approval.teal +3 -1
  35. algorand_python_testing-1.1.0/tests/artifacts/BoxContract/data/BoxContract.arc56.json +780 -0
  36. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Contains/data/MyContract.approval.teal +3 -1
  37. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppCall.approval.teal +3 -1
  38. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppCall.arc56.json +4 -4
  39. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.approval.teal +3 -1
  40. algorand_python_testing-1.1.0/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc56.json +181 -0
  41. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CryptoOps/data/CryptoOpsContract.approval.teal +3 -1
  42. algorand_python_testing-1.1.0/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc56.json +450 -0
  43. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.approval.teal +3 -1
  44. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc56.json +5 -5
  45. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.approval.teal +3 -1
  46. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc56.json +4 -4
  47. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.approval.teal +3 -1
  48. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc56.json +4 -4
  49. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/data/StateMutations.approval.teal +9 -7
  50. algorand_python_testing-1.1.0/tests/artifacts/StateMutations/data/StateMutations.arc56.json +276 -0
  51. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/GlobalStateContract.approval.teal +3 -1
  52. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/GlobalStateContract.arc56.json +19 -19
  53. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/ITxnOpsContract.approval.teal +3 -1
  54. algorand_python_testing-1.1.0/tests/artifacts/StateOps/data/ITxnOpsContract.arc56.json +96 -0
  55. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/LocalStateContract.approval.teal +3 -1
  56. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/LocalStateContract.arc56.json +19 -19
  57. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.approval.teal +3 -1
  58. algorand_python_testing-1.1.0/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +478 -0
  59. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.approval.teal +3 -1
  60. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc56.json +4 -4
  61. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.approval.teal +3 -1
  62. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc56.json +4 -4
  63. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalContract.approval.teal +3 -1
  64. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalContract.arc56.json +4 -4
  65. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.approval.teal +3 -1
  66. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc56.json +4 -4
  67. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppParamsContract.approval.teal +3 -1
  68. algorand_python_testing-1.1.0/tests/artifacts/StateOps/data/StateAppParamsContract.arc56.json +297 -0
  69. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.approval.teal +3 -1
  70. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc56.json +4 -4
  71. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetParamsContract.approval.teal +3 -1
  72. algorand_python_testing-1.1.0/tests/artifacts/StateOps/data/StateAssetParamsContract.arc56.json +366 -0
  73. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Tuples/data/TuplesContract.approval.teal +3 -1
  74. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Tuples/data/TuplesContract.arc56.json +4 -4
  75. algorand_python_testing-1.0.0b8/tests/artifacts/AVM12/data/Contract.arc56.json +0 -131
  76. algorand_python_testing-1.0.0b8/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc56.json +0 -480
  77. algorand_python_testing-1.0.0b8/tests/artifacts/Arrays/data/Contract.arc56.json +0 -373
  78. algorand_python_testing-1.0.0b8/tests/artifacts/Arrays/data/DynamicArrayInitContract.arc56.json +0 -144
  79. algorand_python_testing-1.0.0b8/tests/artifacts/Arrays/data/ImmutableArrayContract.arc56.json +0 -804
  80. algorand_python_testing-1.0.0b8/tests/artifacts/Arrays/data/StaticSizeContract.arc56.json +0 -327
  81. algorand_python_testing-1.0.0b8/tests/artifacts/BoxContract/data/BoxContract.arc56.json +0 -780
  82. algorand_python_testing-1.0.0b8/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc56.json +0 -181
  83. algorand_python_testing-1.0.0b8/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc56.json +0 -450
  84. algorand_python_testing-1.0.0b8/tests/artifacts/StateMutations/data/StateMutations.arc56.json +0 -265
  85. algorand_python_testing-1.0.0b8/tests/artifacts/StateOps/data/ITxnOpsContract.arc56.json +0 -96
  86. algorand_python_testing-1.0.0b8/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +0 -478
  87. algorand_python_testing-1.0.0b8/tests/artifacts/StateOps/data/StateAppParamsContract.arc56.json +0 -297
  88. algorand_python_testing-1.0.0b8/tests/artifacts/StateOps/data/StateAssetParamsContract.arc56.json +0 -366
  89. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.coveragerc +0 -0
  90. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.editorconfig +0 -0
  91. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  92. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  93. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/dependabot.yml +0 -0
  94. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/pull_request_template.md +0 -0
  95. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/workflows/cd.yaml +0 -0
  96. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/workflows/ci.yaml +0 -0
  97. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.github/workflows/gh-pages.yaml +0 -0
  98. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.gitignore +0 -0
  99. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.pre-commit-config.yaml +0 -0
  100. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.vscode/extensions.json +0 -0
  101. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.vscode/launch.json +0 -0
  102. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/.vscode/settings.json +0 -0
  103. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/CONTRIBUTING.md +0 -0
  104. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/LICENSE +0 -0
  105. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/README.md +0 -0
  106. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/Makefile +0 -0
  107. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/__init__.py +0 -0
  108. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/_static/custom.css +0 -0
  109. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/algopy.md +0 -0
  110. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/api.md +0 -0
  111. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/conf.py +0 -0
  112. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/examples.md +0 -0
  113. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/faq.md +0 -0
  114. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/index.md +0 -0
  115. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/make.bat +0 -0
  116. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/arc4-types.md +0 -0
  117. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/avm-types.md +0 -0
  118. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/contract-testing.md +0 -0
  119. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/index.md +0 -0
  120. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/opcodes.md +0 -0
  121. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/signature-testing.md +0 -0
  122. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/state-management.md +0 -0
  123. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/subroutines.md +0 -0
  124. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/docs/testing-guide/transactions.md +0 -0
  125. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/README.md +0 -0
  126. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/__init__.py +0 -0
  127. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/auction/__init__.py +0 -0
  128. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/auction/contract.py +0 -0
  129. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/auction/test_contract.py +0 -0
  130. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/htlc_logicsig/__init__.py +0 -0
  131. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/htlc_logicsig/signature.py +0 -0
  132. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/htlc_logicsig/test_signature.py +0 -0
  133. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/marketplace/__init__.py +0 -0
  134. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/marketplace/contract.py +0 -0
  135. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/marketplace/test_contract.py +0 -0
  136. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/proof_of_attendance/__init__.py +0 -0
  137. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/proof_of_attendance/contract.py +0 -0
  138. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/proof_of_attendance/test_contract.py +0 -0
  139. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/scratch_storage/__init__.py +0 -0
  140. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/scratch_storage/contract.py +0 -0
  141. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/scratch_storage/test_contract.py +0 -0
  142. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/simple_voting/__init__.py +0 -0
  143. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/simple_voting/contract.py +0 -0
  144. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/simple_voting/test_contract.py +0 -0
  145. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/zk_whitelist/__init__.py +0 -0
  146. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/zk_whitelist/contract.py +0 -0
  147. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/examples/zk_whitelist/test_contract.py +0 -0
  148. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/scripts/__init__.py +0 -0
  149. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/scripts/check_stubs_cov.py +0 -0
  150. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/__init__.py +0 -0
  151. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/compiled.py +0 -0
  152. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/constants.py +0 -0
  153. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/context.py +0 -0
  154. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/context_helpers/__init__.py +0 -0
  155. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/context_helpers/context_storage.py +0 -0
  156. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/context_helpers/ledger_context.py +0 -0
  157. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/context_helpers/txn_context.py +0 -0
  158. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/decorators/__init__.py +0 -0
  159. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/decorators/subroutine.py +0 -0
  160. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/enums.py +0 -0
  161. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/gtxn.py +0 -0
  162. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/itxn.py +0 -0
  163. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/itxn_loader.py +0 -0
  164. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/__init__.py +0 -0
  165. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/application.py +0 -0
  166. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/asset.py +0 -0
  167. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/contract.py +0 -0
  168. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/logicsig.py +0 -0
  169. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/template_variable.py +0 -0
  170. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/txn_fields.py +0 -0
  171. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/models/unsigned_builtins.py +0 -0
  172. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/mutable.py +0 -0
  173. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/__init__.py +0 -0
  174. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/block.py +0 -0
  175. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/constants.py +0 -0
  176. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/crypto.py +0 -0
  177. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/global_values.py +0 -0
  178. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/itxn.py +0 -0
  179. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/misc.py +0 -0
  180. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/pure.py +0 -0
  181. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/op/txn.py +0 -0
  182. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/primitives/__init__.py +0 -0
  183. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/primitives/biguint.py +0 -0
  184. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/primitives/bytes.py +0 -0
  185. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/primitives/string.py +0 -0
  186. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/primitives/uint64.py +0 -0
  187. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/protocols.py +0 -0
  188. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/py.typed +0 -0
  189. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/serialize.py +0 -0
  190. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/state/__init__.py +0 -0
  191. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/state/box.py +0 -0
  192. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/state/global_state.py +0 -0
  193. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/state/local_state.py +0 -0
  194. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/state/utils.py +0 -0
  195. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/utilities/__init__.py +0 -0
  196. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/utilities/budget.py +0 -0
  197. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/utilities/log.py +0 -0
  198. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/utilities/size_of.py +0 -0
  199. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/utils.py +0 -0
  200. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/value_generators/__init__.py +0 -0
  201. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/value_generators/arc4.py +0 -0
  202. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/value_generators/avm.py +0 -0
  203. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/_algopy_testing/value_generators/txn.py +0 -0
  204. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy/__init__.py +0 -0
  205. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy/arc4.py +0 -0
  206. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy/gtxn.py +0 -0
  207. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy/itxn.py +0 -0
  208. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy/op.py +0 -0
  209. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy/py.typed +0 -0
  210. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy_testing/__init__.py +0 -0
  211. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/src/algopy_testing/py.typed +0 -0
  212. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/templates/.macros.j2 +0 -0
  213. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/templates/.release_notes.md.j2 +0 -0
  214. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/templates/CHANGELOG.md.j2 +0 -0
  215. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/__init__.py +0 -0
  216. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/__init__.py +0 -0
  217. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/conftest.py +0 -0
  218. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_abi_call.py +0 -0
  219. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_address.py +0 -0
  220. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_arc4_method_signature.py +0 -0
  221. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_bool.py +0 -0
  222. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_dynamic_array.py +0 -0
  223. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_dynamic_bytes.py +0 -0
  224. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_emit.py +0 -0
  225. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_static_array.py +0 -0
  226. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_string.py +0 -0
  227. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_struct.py +0 -0
  228. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_tuple.py +0 -0
  229. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_ufixednxm.py +0 -0
  230. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/arc4/test_uintn.py +0 -0
  231. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/__init__.py +0 -0
  232. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/contract.py +0 -0
  233. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/Contract.clear.teal +0 -0
  234. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/ContractV0.clear.teal +0 -0
  235. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/AVM12/data/ContractV1.clear.teal +0 -0
  236. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4ABIMethod/__init__.py +0 -0
  237. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc32.json +0 -0
  238. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.clear.teal +0 -0
  239. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4InnerTxns/__init__.py +0 -0
  240. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4InnerTxns/contract.py +0 -0
  241. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc32.json +0 -0
  242. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.clear.teal +0 -0
  243. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4PrimitiveOps/__init__.py +0 -0
  244. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4PrimitiveOps/contract.py +0 -0
  245. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc32.json +0 -0
  246. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.clear.teal +0 -0
  247. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/__init__.py +0 -0
  248. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/Contract.arc32.json +0 -0
  249. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/Contract.clear.teal +0 -0
  250. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/DynamicArrayInitContract.clear.teal +0 -0
  251. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc32.json +0 -0
  252. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/ImmutableArrayContract.clear.teal +0 -0
  253. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.approval.teal +0 -0
  254. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.arc56.json +0 -0
  255. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.clear.teal +0 -0
  256. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/StaticSizeContract.arc32.json +0 -0
  257. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/data/StaticSizeContract.clear.teal +0 -0
  258. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/static_size.py +0 -0
  259. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Arrays/uint64.py +0 -0
  260. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/BoxContract/__init__.py +0 -0
  261. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/BoxContract/contract.py +0 -0
  262. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/BoxContract/data/BoxContract.arc32.json +0 -0
  263. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/BoxContract/data/BoxContract.clear.teal +0 -0
  264. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Contains/__init__.py +0 -0
  265. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Contains/contract.py +0 -0
  266. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Contains/data/MyContract.clear.teal +0 -0
  267. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/__init__.py +0 -0
  268. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/contract.py +0 -0
  269. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppCall.arc32.json +0 -0
  270. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppCall.clear.teal +0 -0
  271. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc32.json +0 -0
  272. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.clear.teal +0 -0
  273. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CreatedAppAsset/other.py +0 -0
  274. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CryptoOps/__init__.py +0 -0
  275. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CryptoOps/contract.py +0 -0
  276. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc32.json +0 -0
  277. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/CryptoOps/data/CryptoOpsContract.clear.teal +0 -0
  278. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/GlobalStateValidator/__init__.py +0 -0
  279. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/GlobalStateValidator/contract.py +0 -0
  280. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc32.json +0 -0
  281. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.clear.teal +0 -0
  282. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/MiscellaneousOps/__init__.py +0 -0
  283. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/MiscellaneousOps/contract.py +0 -0
  284. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc32.json +0 -0
  285. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.clear.teal +0 -0
  286. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/PrimitiveOps/__init__.py +0 -0
  287. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/PrimitiveOps/contract.py +0 -0
  288. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc32.json +0 -0
  289. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.clear.teal +0 -0
  290. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/__init__.py +0 -0
  291. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/data/Contract.approval.teal +0 -0
  292. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/data/Contract.arc32.json +0 -0
  293. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/data/Contract.clear.teal +0 -0
  294. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/data/StateMutations.arc32.json +0 -0
  295. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/data/StateMutations.clear.teal +0 -0
  296. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateMutations/statemutations.py +0 -0
  297. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/__init__.py +0 -0
  298. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/contract.py +0 -0
  299. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/GlobalStateContract.arc32.json +0 -0
  300. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/GlobalStateContract.clear.teal +0 -0
  301. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/ITxnOpsContract.arc32.json +0 -0
  302. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal +0 -0
  303. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/LocalStateContract.arc32.json +0 -0
  304. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/LocalStateContract.clear.teal +0 -0
  305. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAcctParamsGet.approval.teal +0 -0
  306. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAcctParamsGet.arc32.json +0 -0
  307. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAcctParamsGet.clear.teal +0 -0
  308. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc32.json +0 -0
  309. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.clear.teal +0 -0
  310. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc32.json +0 -0
  311. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.clear.teal +0 -0
  312. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc32.json +0 -0
  313. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.clear.teal +0 -0
  314. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalContract.arc32.json +0 -0
  315. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalContract.clear.teal +0 -0
  316. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc32.json +0 -0
  317. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.clear.teal +0 -0
  318. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppParamsContract.arc32.json +0 -0
  319. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAppParamsContract.clear.teal +0 -0
  320. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc32.json +0 -0
  321. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.clear.teal +0 -0
  322. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc32.json +0 -0
  323. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/StateOps/data/StateAssetParamsContract.clear.teal +0 -0
  324. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Tuples/__init__.py +0 -0
  325. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Tuples/contract.py +0 -0
  326. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Tuples/data/TuplesContract.arc32.json +0 -0
  327. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/Tuples/data/TuplesContract.clear.teal +0 -0
  328. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/artifacts/__init__.py +0 -0
  329. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/avm12/__init__.py +0 -0
  330. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/avm12/conftest.py +0 -0
  331. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/avm12/test_avm12.py +0 -0
  332. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/common.py +0 -0
  333. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/conftest.py +0 -0
  334. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/contexts/__init__.py +0 -0
  335. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/__init__.py +0 -0
  336. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_asset.py +0 -0
  337. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_box.py +0 -0
  338. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_box_map.py +0 -0
  339. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_box_ref.py +0 -0
  340. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_contract.py +0 -0
  341. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_uenumerate.py +0 -0
  342. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/models/test_urange.py +0 -0
  343. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/primitives/__init__.py +0 -0
  344. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/primitives/conftest.py +0 -0
  345. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/primitives/test_biguint.py +0 -0
  346. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/primitives/test_bytes.py +0 -0
  347. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/primitives/test_string.py +0 -0
  348. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/primitives/test_uint64.py +0 -0
  349. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/state/__init__.py +0 -0
  350. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/state/conftest.py +0 -0
  351. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/state/test_global_state.py +0 -0
  352. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/state/test_local_state.py +0 -0
  353. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/state/test_mutations.py +0 -0
  354. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/test_array.py +0 -0
  355. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/test_context.py +0 -0
  356. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/test_miscellaneous_op.py +0 -0
  357. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/test_op.py +0 -0
  358. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/util.py +0 -0
  359. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/utilities/__init__.py +0 -0
  360. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/utilities/conftest.py +0 -0
  361. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/utilities/test_log.py +0 -0
  362. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/utilities/test_size_of.py +0 -0
  363. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/value_generators/__init__.py +0 -0
  364. {algorand_python_testing-1.0.0b8 → algorand_python_testing-1.1.0}/tests/value_generators/test_avm.py +0 -0
@@ -1,4 +1,20 @@
1
1
  # CHANGELOG
2
+ ## v1.1.0 (2025-10-20)
3
+
4
+ ## v1.1.0-beta.1 (2025-10-20)
5
+
6
+ ### Features
7
+
8
+ * add mock implementations for validation functionality ([`ccde074`](https://github.com/algorandfoundation/algorand-python-testing/commit/ccde0740889bd68ef0fba418182d71ac0fc9f76a))
9
+
10
+ ### Documentation
11
+
12
+ * add note about data validation in the testing library ([`bc47a68`](https://github.com/algorandfoundation/algorand-python-testing/commit/bc47a6838cf00907f2a718ddb8cb45fe97947d77))
13
+
14
+ * add missing native types in coverage table ([`a95116c`](https://github.com/algorandfoundation/algorand-python-testing/commit/a95116c567dc77cfcf4f7ec517df60bb3d9d1eb5))
15
+
16
+ ## v1.0.0 (2025-10-06)
17
+
2
18
  ## v1.0.0-beta.8 (2025-10-06)
3
19
 
4
20
  ### Documentation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: algorand-python-testing
3
- Version: 1.0.0b8
3
+ Version: 1.1.0
4
4
  Summary: Algorand Python testing library
5
5
  Project-URL: Documentation, https://github.com/algorandfoundation/puya/tree/main/algopy_testing#README.md
6
6
  Project-URL: Issues, https://github.com/algorandfoundation/puya/issues
@@ -3,10 +3,11 @@
3
3
  See which `algorand-python` stubs are implemented by the `algorand-python-testing` library. See the [Concepts](testing-guide/concepts.md#types-of-algopy-stub-implementations) section for more details on the implementation categories. Refer to the [`algorand-python` stubs API](api.md) for the full list of stubs for which the `algorand-python-testing` library provides implementations referenced in the table below.
4
4
 
5
5
  | Name | Implementation type |
6
- | ------------------------------------------- | ------------------- |
6
+ |---------------------------------------------|---------------------|
7
7
  | algopy.Account | Emulated |
8
8
  | algopy.Application | Emulated |
9
9
  | algopy.Asset | Emulated |
10
+ | algopy.Array | Native |
10
11
  | algopy.BigUInt | Native |
11
12
  | algopy.Box | Emulated |
12
13
  | algopy.BoxMap | Emulated |
@@ -16,14 +17,19 @@ See which `algorand-python` stubs are implemented by the `algorand-python-testin
16
17
  | algopy.CompiledContract | Mockable |
17
18
  | algopy.CompiledLogicSig | Mockable |
18
19
  | algopy.Contract | Emulated |
20
+ | algopy.FixedArray | Native |
19
21
  | algopy.Global | Emulated |
20
22
  | algopy.GlobalState | Emulated |
23
+ | algopy.ImmutableArray | Native |
24
+ | algopy.ImmutableFixedArray | Native |
21
25
  | algopy.LocalState | Emulated |
22
26
  | algopy.LogicSig | Emulated |
23
27
  | algopy.OnCompleteAction | Native |
24
28
  | algopy.OpUpFeeSource | Native |
29
+ | algopy.ReferenceArray | Native |
25
30
  | algopy.StateTotals | Emulated |
26
31
  | algopy.String | Native |
32
+ | algopy.Struct | Native |
27
33
  | algopy.TemplateVar | Emulated |
28
34
  | algopy.TransactionType | Native |
29
35
  | algopy.Txn | Emulated |
@@ -58,3 +58,8 @@ As explained in the [introduction](index.md), `algorand-python-testing` _injects
58
58
  3. **Mockable**: Not implemented, but can be mocked or patched. For example, `algopy.abi_call` can be mocked to return specific values or behaviours; otherwise, it raises a `NotImplementedError`. This category covers cases where native or emulated implementation in a unit test context is impractical or overly complex.
59
59
 
60
60
  For a full list of all public `algopy` types and their corresponding implementation category, refer to the [Coverage](../coverage.md) section.
61
+
62
+ ## Data Validation
63
+
64
+ Algorand Python and the puya compiler have functionality to perform validation of transaction inputs via the `--validate-abi-args`, `--validate-abi-return` CLI arguments, `arc4.abimethod(validate_encoding=...)` decorator and `.validate()` methods.
65
+ The Algorand Python Testing library does *NOT* implement this validation behaviour, as you should test invalid inputs using an integrated test against a real Algorand network.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "algorand-python-testing"
7
- version = "1.0.0-beta.8"
7
+ version = "1.1.0"
8
8
  description = 'Algorand Python testing library'
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -55,7 +55,7 @@ dependencies = [
55
55
  "pytest-mock>=3.10.0",
56
56
  "pytest-xdist[psutil]>=3.3",
57
57
  "py-algorand-sdk>=2.4.0",
58
- "algokit-utils>=3.0.0",
58
+ "algokit-utils>=4.0.0",
59
59
  "pytest-cov>=4.1.0",
60
60
  "prettytable>=3.9.0",
61
61
  "mypy==1.10",
@@ -131,7 +131,7 @@ dependencies = [
131
131
  "pytest-xdist[psutil]>=3.3",
132
132
  "pytest-cov>=4.1.0",
133
133
  "py-algorand-sdk>=2.4.0",
134
- "algokit-utils>=3.0.0",
134
+ "algokit-utils>=4.0.0",
135
135
  "puyapy>=5",
136
136
  ]
137
137
 
@@ -188,7 +188,7 @@ dependencies = [
188
188
  "pytest-mock>=3.10.0",
189
189
  "pytest-xdist[psutil]>=3.3",
190
190
  "py-algorand-sdk>=2.4.0",
191
- "algokit-utils>=3.0.0",
191
+ "algokit-utils>=4.0.0",
192
192
  "pytest-cov>=4.1.0",
193
193
  "mypy==1.10",
194
194
  ]
@@ -31,6 +31,10 @@ def compile_contract(folder: Path) -> None:
31
31
  str(contract_path),
32
32
  "--out-dir",
33
33
  "data",
34
+ # testing library does not perform ABI validation
35
+ # so ensure compiled contracts also do not, so behaviour matches
36
+ "--no-validate-abi-args",
37
+ "--no-validate-abi-return",
34
38
  ]
35
39
  subprocess.run(
36
40
  compile_cmd,
@@ -70,9 +70,11 @@ def generate_client(folder: Path) -> None:
70
70
  text=True,
71
71
  )
72
72
  except subprocess.CalledProcessError as e:
73
- if "No app specs" in e.stderr:
73
+ output = e.stdout + e.stderr
74
+ if "No app specs" in output:
74
75
  logger.warning(f"No app spec found for: {folder}, skipping...")
75
76
  else:
77
+ logger.exception(output)
76
78
  raise
77
79
 
78
80
 
@@ -158,6 +158,9 @@ class _ABIEncoded(BytesBacked):
158
158
 
159
159
  return algopy.Bytes(self._value)
160
160
 
161
+ def validate(self) -> None:
162
+ pass
163
+
161
164
  def __eq__(self, other: object) -> bool:
162
165
  if isinstance(other, _ABIEncoded):
163
166
  return self._type_info == other._type_info and self.bytes == other.bytes
@@ -151,6 +151,7 @@ def abimethod( # noqa: PLR0913
151
151
  resource_encoding: _ResourceEncoding = "value",
152
152
  readonly: bool = False,
153
153
  default_args: Mapping[str, str | object] | None = None,
154
+ validate_encoding: typing.Literal["unsafe_disabled", "args"] = "args", # noqa: ARG001
154
155
  ) -> Callable[[Callable[_P, _R]], Callable[_P, _R]] | Callable[_P, _R]:
155
156
  from _algopy_testing.utilities.log import log
156
157
 
@@ -128,6 +128,9 @@ class Account(BytesBacked):
128
128
  def public_key(self) -> str:
129
129
  return algosdk.encoding.encode_address(self._public_key) # type: ignore[no-any-return]
130
130
 
131
+ def validate(self) -> None:
132
+ pass
133
+
131
134
  def __getattr__(self, name: str) -> typing.Any:
132
135
  try:
133
136
  return self.data.fields[name] # type: ignore[literal-required]
@@ -144,6 +144,9 @@ class ImmutableFixedArray(
144
144
  def from_bytes(cls, value: bytes, /) -> typing.Self:
145
145
  return deserialize_from_bytes(cls, value)
146
146
 
147
+ def validate(self) -> None:
148
+ pass
149
+
147
150
 
148
151
  class _FixedArrayMeta(type, typing.Generic[_TArrayItem, _TArrayLength]):
149
152
  __concrete__: typing.ClassVar[dict[tuple[type, type], type]] = {}
@@ -255,6 +258,9 @@ class FixedArray(
255
258
  def from_bytes(cls, value: bytes, /) -> typing.Self:
256
259
  return deserialize_from_bytes(cls, value)
257
260
 
261
+ def validate(self) -> None:
262
+ pass
263
+
258
264
 
259
265
  class _ImmutableArrayMeta(type):
260
266
  __concrete__: typing.ClassVar[dict[type, type]] = {}
@@ -362,6 +368,9 @@ class ImmutableArray(Serializable, typing.Generic[_TArrayItem], metaclass=_Immut
362
368
  def from_bytes(cls, value: bytes, /) -> typing.Self:
363
369
  return deserialize_from_bytes(cls, value)
364
370
 
371
+ def validate(self) -> None:
372
+ pass
373
+
365
374
 
366
375
  class ReferenceArray(Reversible[_TArrayItem]):
367
376
  def __init__(self, values: Iterable[_TArrayItem] = ()):
@@ -510,6 +519,9 @@ class Array(Serializable, MutableBytes, typing.Generic[_TArrayItem], metaclass=_
510
519
  def from_bytes(cls, value: bytes, /) -> typing.Self:
511
520
  return deserialize_from_bytes(cls, value)
512
521
 
522
+ def validate(self) -> None:
523
+ pass
524
+
513
525
 
514
526
  @typing.dataclass_transform()
515
527
  class Struct(Serializable, MutableBytes):
@@ -558,6 +570,9 @@ class Struct(Serializable, MutableBytes):
558
570
  def _update_backing_value(self) -> None:
559
571
  self._value = serialize_to_bytes(self)
560
572
 
573
+ def validate(self) -> None:
574
+ pass
575
+
561
576
 
562
577
  def zero_bytes(typ: type[_T]) -> _T:
563
578
  # Get the static size of the type
@@ -3,7 +3,7 @@
3
3
 
4
4
  // algopy.arc4.ARC4Contract.approval_program() -> uint64:
5
5
  main:
6
- intcblock 6 0 1
6
+ intcblock 1 6 0
7
7
  bytecblock base64(DIEBQw==)
8
8
  // tests/artifacts/AVM12/contract.py:4
9
9
  // class Contract(ARC4Contract, avm_version=12):
@@ -25,7 +25,9 @@ main___algopy_default_create@9:
25
25
  txn ApplicationID
26
26
  !
27
27
  &&
28
- return // on error: OnCompletion must be NoOp && can only call when creating
28
+ assert // OnCompletion must be NoOp && can only call when creating
29
+ intc_0 // 1
30
+ return
29
31
 
30
32
 
31
33
  // tests.artifacts.AVM12.contract.Contract.test_falcon_verify[routing]() -> void:
@@ -51,11 +53,11 @@ test_reject_version:
51
53
  itxn_begin
52
54
  bytec_0 // base64(DIEBQw==)
53
55
  itxn_field ClearStateProgramPages
54
- pushbytes base64(DDEbQQAagASg6BhyNhoAjgEAAQAxGYEEEjEYEERCAAgxGRQxGBQQQzFEgQESQw==)
56
+ pushbytes base64(DDEbQQAagASg6BhyNhoAjgEAAQAxGYEEEjEYEERCAAsxGRQxGBQQRIEBQzFEgQESRIEBQw==)
55
57
  itxn_field ApprovalProgramPages
56
- intc_0 // appl
58
+ intc_1 // appl
57
59
  itxn_field TypeEnum
58
- intc_1 // 0
60
+ intc_2 // 0
59
61
  itxn_field Fee
60
62
  itxn_submit
61
63
  itxn CreatedApplicationID
@@ -75,7 +77,7 @@ test_reject_version:
75
77
  // ContractV0.update, app_id=app, reject_version=1, compiled=compile_contract(ContractV1)
76
78
  bytec_0 // base64(DIEBQw==)
77
79
  itxn_field ClearStateProgramPages
78
- pushbytes base64(DDEbQQAagAQkN408NhoAjgEAAQAxGYEFEjEYEERCAAgxGRQxGBQQQzFEgQISQw==)
80
+ pushbytes base64(DDEbQQAagAQkN408NhoAjgEAAQAxGYEFEjEYEERCAAsxGRQxGBQQRIEBQzFEgQISRIEBQw==)
79
81
  itxn_field ApprovalProgramPages
80
82
  // tests/artifacts/AVM12/contract.py:15-17
81
83
  // arc4.arc4_update(
@@ -85,7 +87,7 @@ test_reject_version:
85
87
  itxn_field OnCompletion
86
88
  // tests/artifacts/AVM12/contract.py:16
87
89
  // ContractV0.update, app_id=app, reject_version=1, compiled=compile_contract(ContractV1)
88
- intc_2 // 1
90
+ intc_0 // 1
89
91
  itxn_field RejectVersion
90
92
  dup
91
93
  itxn_field ApplicationID
@@ -95,9 +97,9 @@ test_reject_version:
95
97
  // )
96
98
  pushbytes 0xa0e81872 // method "update()void"
97
99
  itxn_field ApplicationArgs
98
- intc_0 // appl
100
+ intc_1 // appl
99
101
  itxn_field TypeEnum
100
- intc_1 // 0
102
+ intc_2 // 0
101
103
  itxn_field Fee
102
104
  itxn_submit
103
105
  // tests/artifacts/AVM12/contract.py:18
@@ -105,7 +107,7 @@ test_reject_version:
105
107
  dup
106
108
  app_params_get AppVersion
107
109
  assert // application exists
108
- intc_2 // 1
110
+ intc_0 // 1
109
111
  ==
110
112
  assert // should be version 1
111
113
  // tests/artifacts/AVM12/contract.py:20-29
@@ -137,9 +139,9 @@ test_reject_version:
137
139
  itxn_field ApplicationArgs
138
140
  // tests/artifacts/AVM12/contract.py:20
139
141
  // itxn.ApplicationCall(
140
- intc_0 // appl
142
+ intc_1 // appl
141
143
  itxn_field TypeEnum
142
- intc_1 // 0
144
+ intc_2 // 0
143
145
  itxn_field Fee
144
146
  // tests/artifacts/AVM12/contract.py:20-29
145
147
  // itxn.ApplicationCall(
@@ -155,5 +157,5 @@ test_reject_version:
155
157
  itxn_submit
156
158
  // tests/artifacts/AVM12/contract.py:9
157
159
  // @arc4.abimethod
158
- intc_2 // 1
160
+ intc_0 // 1
159
161
  return
@@ -0,0 +1,131 @@
1
+ {
2
+ "name": "Contract",
3
+ "structs": {},
4
+ "methods": [
5
+ {
6
+ "name": "test_falcon_verify",
7
+ "args": [],
8
+ "returns": {
9
+ "type": "void"
10
+ },
11
+ "actions": {
12
+ "create": [],
13
+ "call": [
14
+ "NoOp"
15
+ ]
16
+ },
17
+ "readonly": false,
18
+ "events": [],
19
+ "recommendations": {}
20
+ },
21
+ {
22
+ "name": "test_reject_version",
23
+ "args": [],
24
+ "returns": {
25
+ "type": "void"
26
+ },
27
+ "actions": {
28
+ "create": [],
29
+ "call": [
30
+ "NoOp"
31
+ ]
32
+ },
33
+ "readonly": false,
34
+ "events": [],
35
+ "recommendations": {}
36
+ }
37
+ ],
38
+ "arcs": [
39
+ 22,
40
+ 28
41
+ ],
42
+ "networks": {},
43
+ "state": {
44
+ "schema": {
45
+ "global": {
46
+ "ints": 0,
47
+ "bytes": 0
48
+ },
49
+ "local": {
50
+ "ints": 0,
51
+ "bytes": 0
52
+ }
53
+ },
54
+ "keys": {
55
+ "global": {},
56
+ "local": {},
57
+ "box": {}
58
+ },
59
+ "maps": {
60
+ "global": {},
61
+ "local": {},
62
+ "box": {}
63
+ }
64
+ },
65
+ "bareActions": {
66
+ "create": [
67
+ "NoOp"
68
+ ],
69
+ "call": []
70
+ },
71
+ "sourceInfo": {
72
+ "approval": {
73
+ "sourceInfo": [
74
+ {
75
+ "pc": [
76
+ 21
77
+ ],
78
+ "errorMessage": "OnCompletion must be NoOp"
79
+ },
80
+ {
81
+ "pc": [
82
+ 54
83
+ ],
84
+ "errorMessage": "OnCompletion must be NoOp && can only call when creating"
85
+ },
86
+ {
87
+ "pc": [
88
+ 141,
89
+ 232
90
+ ],
91
+ "errorMessage": "application exists"
92
+ },
93
+ {
94
+ "pc": [
95
+ 143
96
+ ],
97
+ "errorMessage": "should be version 0"
98
+ },
99
+ {
100
+ "pc": [
101
+ 235
102
+ ],
103
+ "errorMessage": "should be version 1"
104
+ }
105
+ ],
106
+ "pcOffsetMethod": "none"
107
+ },
108
+ "clear": {
109
+ "sourceInfo": [],
110
+ "pcOffsetMethod": "none"
111
+ }
112
+ },
113
+ "source": {
114
+ "approval": "I3ByYWdtYSB2ZXJzaW9uIDEyCiNwcmFnbWEgdHlwZXRyYWNrIGZhbHNlCgovLyBhbGdvcHkuYXJjNC5BUkM0Q29udHJhY3QuYXBwcm92YWxfcHJvZ3JhbSgpIC0+IHVpbnQ2NDoKbW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udHJhY3QuY2xlYXJfc3RhdGVfcHJvZ3JhbSgpIC0+IHVpbnQ2NDoKbWFpbjoKICAgIHB1c2hpbnQgMSAvLyAxCiAgICByZXR1cm4K"
116
+ },
117
+ "byteCode": {
118
+ "approval": "DCADAQYAJgEEDIEBQzEbQQAdMRkURDEYRIICBL5WSZwErIqrQjYaAI4CAAsAFwAxGRQxGBQQRCJDgYEOr4AASU8ChRRDsSiyQoA0DDEbQQAagASg6BhyNhoAjgEAAQAxGYEEEjEYEERCAAsxGRQxGBQQRIEBQzFEgQESRIEBQ7JAI7IQJLIBs7Q9SXIJRBREsSiyQoA0DDEbQQAagAQkN408NhoAjgEAAQAxGYEFEjEYEERCAAsxGRQxGBQQRIEBQzFEgQISRIEBQ7JAgQSyGSKyREmyGIAEoOgYcrIaI7IQJLIBs0lyCUQiEkSxgQKyRLIYgQWyGYAEJDeNPLIaI7IQJLIBsyJD",
119
+ "clear": "DIEBQw=="
120
+ },
121
+ "compilerInfo": {
122
+ "compiler": "puya",
123
+ "compilerVersion": {
124
+ "major": 5,
125
+ "minor": 3,
126
+ "patch": 1
127
+ }
128
+ },
129
+ "events": [],
130
+ "templateVariables": {}
131
+ }
@@ -29,7 +29,9 @@ main___algopy_default_create@5:
29
29
  txn ApplicationID
30
30
  !
31
31
  &&
32
- return // on error: OnCompletion must be NoOp && can only call when creating
32
+ assert // OnCompletion must be NoOp && can only call when creating
33
+ pushint 1 // 1
34
+ return
33
35
 
34
36
 
35
37
  // tests.artifacts.AVM12.contract.ContractV0.update[routing]() -> void:
@@ -39,6 +41,12 @@ update:
39
41
  txn RejectVersion
40
42
  pushint 1 // 1
41
43
  ==
44
+ // tests/artifacts/AVM12/contract.py:35-37
45
+ // assert (
46
+ // Txn.reject_version == 1
47
+ // ), "can only update if caller expects this to be currently be v0"
48
+ assert // can only update if caller expects this to be currently be v0
42
49
  // tests/artifacts/AVM12/contract.py:33
43
50
  // @arc4.abimethod(allow_actions=("UpdateApplication",))
44
- return // on error: can only update if caller expects this to be currently be v0
51
+ pushint 1 // 1
52
+ return
@@ -69,7 +69,7 @@
69
69
  },
70
70
  {
71
71
  "pc": [
72
- 45
72
+ 48
73
73
  ],
74
74
  "errorMessage": "can only update if caller expects this to be currently be v0"
75
75
  }
@@ -82,19 +82,19 @@
82
82
  }
83
83
  },
84
84
  "source": {
85
- "approval": "I3ByYWdtYSB2ZXJzaW9uIDEyCiNwcmFnbWEgdHlwZXRyYWNrIGZhbHNlCgovLyBhbGdvcHkuYXJjNC5BUkM0Q29udHJhY3QuYXBwcm92YWxfcHJvZ3JhbSgpIC0+IHVpbnQ2NDoKbWFpbjoKICAgIC8vIHRlc3RzL2FydGlmYWN0cy9BVk0xMi9jb250cmFjdC5weTozMgogICAgLy8gY2xhc3MgQ29udHJhY3RWMChBUkM0Q29udHJhY3QsIGF2bV92ZXJzaW9uPTEyKToKICAgIHR4biBOdW1BcHBBcmdzCiAgICBieiBtYWluX19fYWxnb3B5X2RlZmF1bHRfY3JlYXRlQDUKICAgIHB1c2hieXRlcyAweGEwZTgxODcyIC8vIG1ldGhvZCAidXBkYXRlKCl2b2lkIgogICAgdHhuYSBBcHBsaWNhdGlvbkFyZ3MgMAogICAgbWF0Y2ggbWFpbl91cGRhdGVfcm91dGVAMwogICAgZXJyCgptYWluX3VwZGF0ZV9yb3V0ZUAzOgogICAgLy8gdGVzdHMvYXJ0aWZhY3RzL0FWTTEyL2NvbnRyYWN0LnB5OjMzCiAgICAvLyBAYXJjNC5hYmltZXRob2QoYWxsb3dfYWN0aW9ucz0oIlVwZGF0ZUFwcGxpY2F0aW9uIiwpKQogICAgdHhuIE9uQ29tcGxldGlvbgogICAgcHVzaGludCA0IC8vIFVwZGF0ZUFwcGxpY2F0aW9uCiAgICA9PQogICAgdHhuIEFwcGxpY2F0aW9uSUQKICAgICYmCiAgICBhc3NlcnQgLy8gT25Db21wbGV0aW9uIG11c3QgYmUgVXBkYXRlQXBwbGljYXRpb24gJiYgY2FuIG9ubHkgY2FsbCB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eG4ucmVqZWN0X3ZlcnNpb24gPT0gMQogICAgdHhuIFJlamVjdFZlcnNpb24KICAgIHB1c2hpbnQgMSAvLyAxCiAgICA9PQogICAgLy8gdGVzdHMvYXJ0aWZhY3RzL0FWTTEyL2NvbnRyYWN0LnB5OjM1LTM3CiAgICAvLyBhc3NlcnQgKAogICAgLy8gICAgIFR4bi5yZWplY3RfdmVyc2lvbiA9PSAxCiAgICAvLyApLCAiY2FuIG9ubHkgdXBkYXRlIGlmIGNhbGxlciBleHBlY3RzIHRoaXMgdG8gYmUgY3VycmVudGx5IGJlIHYwIgogICAgYXNzZXJ0IC8vIGNhbiBvbmx5IHVwZGF0ZSBpZiBjYWxsZXIgZXhwZWN0cyB0aGlzIHRvIGJlIGN1cnJlbnRseSBiZSB2MAogICAgLy8gdGVzdHMvYXJ0aWZhY3RzL0FWTTEyL2NvbnRyYWN0LnB5OjMzCiAgICAvLyBAYXJjNC5hYmltZXRob2QoYWxsb3dfYWN0aW9ucz0oIlVwZGF0ZUFwcGxpY2F0aW9uIiwpKQogICAgcHVzaGludCAxIC8vIDEKICAgIHJldHVybgo=",
86
86
  "clear": "I3ByYWdtYSB2ZXJzaW9uIDEyCiNwcmFnbWEgdHlwZXRyYWNrIGZhbHNlCgovLyBhbGdvcHkuYXJjNC5BUkM0Q29udHJhY3QuY2xlYXJfc3RhdGVfcHJvZ3JhbSgpIC0+IHVpbnQ2NDoKbWFpbjoKICAgIHB1c2hpbnQgMSAvLyAxCiAgICByZXR1cm4K"
87
87
  },
88
88
  "byteCode": {
89
- "approval": "DDEbQQAagASg6BhyNhoAjgEAAQAxGYEEEjEYEERCAAgxGRQxGBQQQzFEgQESQw==",
89
+ "approval": "DDEbQQAagASg6BhyNhoAjgEAAQAxGYEEEjEYEERCAAsxGRQxGBQQRIEBQzFEgQESRIEBQw==",
90
90
  "clear": "DIEBQw=="
91
91
  },
92
92
  "compilerInfo": {
93
93
  "compiler": "puya",
94
94
  "compilerVersion": {
95
95
  "major": 5,
96
- "minor": 0,
97
- "patch": 0
96
+ "minor": 3,
97
+ "patch": 1
98
98
  }
99
99
  },
100
100
  "events": [],
@@ -29,7 +29,9 @@ main___algopy_default_create@5:
29
29
  txn ApplicationID
30
30
  !
31
31
  &&
32
- return // on error: OnCompletion must be NoOp && can only call when creating
32
+ assert // OnCompletion must be NoOp && can only call when creating
33
+ pushint 1 // 1
34
+ return
33
35
 
34
36
 
35
37
  // tests.artifacts.AVM12.contract.ContractV1.delete[routing]() -> void:
@@ -39,6 +41,12 @@ delete:
39
41
  txn RejectVersion
40
42
  pushint 2 // 2
41
43
  ==
44
+ // tests/artifacts/AVM12/contract.py:43-45
45
+ // assert (
46
+ // Txn.reject_version == 2
47
+ // ), "can only update if caller expects this to be currently be v1"
48
+ assert // can only update if caller expects this to be currently be v1
42
49
  // tests/artifacts/AVM12/contract.py:41
43
50
  // @arc4.abimethod(allow_actions=("DeleteApplication",))
44
- return // on error: can only update if caller expects this to be currently be v1
51
+ pushint 1 // 1
52
+ return
@@ -69,7 +69,7 @@
69
69
  },
70
70
  {
71
71
  "pc": [
72
- 45
72
+ 48
73
73
  ],
74
74
  "errorMessage": "can only update if caller expects this to be currently be v1"
75
75
  }
@@ -82,19 +82,19 @@
82
82
  }
83
83
  },
84
84
  "source": {
85
- "approval": "I3ByYWdtYSB2ZXJzaW9uIDEyCiNwcmFnbWEgdHlwZXRyYWNrIGZhbHNlCgovLyBhbGdvcHkuYXJjNC5BUkM0Q29udHJhY3QuYXBwcm92YWxfcHJvZ3JhbSgpIC0+IHVpbnQ2NDoKbWFpbjoKICAgIC8vIHRlc3RzL2FydGlmYWN0cy9BVk0xMi9jb250cmFjdC5weTo0MAogICAgLy8gY2xhc3MgQ29udHJhY3RWMShBUkM0Q29udHJhY3QsIGF2bV92ZXJzaW9uPTEyKToKICAgIHR4biBOdW1BcHBBcmdzCiAgICBieiBtYWluX19fYWxnb3B5X2RlZmF1bHRfY3JlYXRlQDUKICAgIHB1c2hieXRlcyAweDI0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0aW9uIiwpKQogICAgcHVzaGludCAxIC8vIDEKICAgIHJldHVybgo=",
86
86
  "clear": "I3ByYWdtYSB2ZXJzaW9uIDEyCiNwcmFnbWEgdHlwZXRyYWNrIGZhbHNlCgovLyBhbGdvcHkuYXJjNC5BUkM0Q29udHJhY3QuY2xlYXJfc3RhdGVfcHJvZ3JhbSgpIC0+IHVpbnQ2NDoKbWFpbjoKICAgIHB1c2hpbnQgMSAvLyAxCiAgICByZXR1cm4K"
87
87
  },
88
88
  "byteCode": {
89
- "approval": "DDEbQQAagAQkN408NhoAjgEAAQAxGYEFEjEYEERCAAgxGRQxGBQQQzFEgQISQw==",
89
+ "approval": "DDEbQQAagAQkN408NhoAjgEAAQAxGYEFEjEYEERCAAsxGRQxGBQQRIEBQzFEgQISRIEBQw==",
90
90
  "clear": "DIEBQw=="
91
91
  },
92
92
  "compilerInfo": {
93
93
  "compiler": "puya",
94
94
  "compilerVersion": {
95
95
  "major": 5,
96
- "minor": 0,
97
- "patch": 0
96
+ "minor": 3,
97
+ "patch": 1
98
98
  }
99
99
  },
100
100
  "events": [],
@@ -33,7 +33,7 @@ class SignaturesContract(ARC4Contract):
33
33
  assert app_txn.app_id == 0, "expected txn to have 0"
34
34
  assert Txn.application_id == 0, "expected txn to have 0"
35
35
 
36
- @arc4.abimethod
36
+ @arc4.abimethod(validate_encoding="unsafe_disabled")
37
37
  def sink(self, value: arc4.String, arr: UInt8Array) -> None:
38
38
  assert value
39
39
  assert arr
@@ -84,6 +84,7 @@ class SignaturesContract(ARC4Contract):
84
84
  def complex_sig(
85
85
  self, struct1: MyStruct, txn: algopy.gtxn.Transaction, acc: Account, five: UInt8Array
86
86
  ) -> tuple[MyStructAlias, MyStruct]:
87
+ five.validate()
87
88
  assert Txn.num_app_args == 4
88
89
  # struct
89
90
  assert struct1.another_struct.one == 1
@@ -123,6 +124,7 @@ class SignaturesContract(ARC4Contract):
123
124
  def echo_resource_by_value(
124
125
  self, asset: Asset, app: Application, acc: Account
125
126
  ) -> tuple[Asset, Application, Account]:
127
+ acc.validate()
126
128
  asset_id = op.btoi(Txn.application_args(1))
127
129
  assert asset.id == asset_id, "expected asset to be passed by value"
128
130
  app_id = op.btoi(Txn.application_args(2))