algorand-python-testing 1.2.0b8__tar.gz → 1.2.0b10__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.
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/CHANGELOG.md +18 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/PKG-INFO +1 -1
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/coverage.md +2 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/concepts.md +1 -1
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/pyproject.toml +1 -1
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/arc4.py +76 -8
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/context.py +17 -8
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/logicsig.py +13 -5
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/misc.py +1 -1
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/array.py +32 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/serialize.py +3 -3
- algorand_python_testing-1.2.0b10/tests/arc4/test_encode_decode.py +331 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4PrimitiveOps/contract.py +247 -1
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.approval.teal +143 -137
- algorand_python_testing-1.2.0b10/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc56.json +1591 -0
- algorand_python_testing-1.2.0b10/tests/artifacts/LogicSignature/data/args_complex.teal +715 -0
- algorand_python_testing-1.2.0b10/tests/artifacts/LogicSignature/data/args_complex_no_validation.teal +664 -0
- algorand_python_testing-1.2.0b10/tests/artifacts/LogicSignature/data/args_simple.teal +92 -0
- algorand_python_testing-1.2.0b10/tests/artifacts/LogicSignature/lsig_args_complex.py +269 -0
- algorand_python_testing-1.2.0b10/tests/artifacts/LogicSignature/lsig_args_simple.py +24 -0
- algorand_python_testing-1.2.0b10/tests/logic_signature/test_lsig_args_complex.py +92 -0
- algorand_python_testing-1.2.0b10/tests/logic_signature/test_lsig_args_simple.py +30 -0
- algorand_python_testing-1.2.0b10/tests/utilities/__init__.py +0 -0
- algorand_python_testing-1.2.0b10/tests/value_generators/__init__.py +0 -0
- algorand_python_testing-1.2.0b8/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc56.json +0 -1575
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.coveragerc +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.editorconfig +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/dependabot.yml +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/pull_request_template.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/workflows/cd.yaml +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/workflows/ci.yaml +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.github/workflows/gh-pages.yaml +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.gitignore +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.pre-commit-config.yaml +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.vscode/extensions.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.vscode/launch.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/.vscode/settings.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/CONTRIBUTING.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/LICENSE +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/README.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/Makefile +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/_static/custom.css +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/algopy.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/api.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/conf.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/examples.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/faq.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/index.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/make.bat +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/arc4-types.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/avm-types.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/contract-testing.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/index.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/opcodes.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/signature-testing.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/state-management.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/subroutines.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/transactions.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/README.md +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/auction/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/auction/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/auction/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/htlc_logicsig/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/htlc_logicsig/signature.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/htlc_logicsig/test_signature.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/marketplace/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/marketplace/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/marketplace/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/proof_of_attendance/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/proof_of_attendance/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/proof_of_attendance/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/scratch_storage/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/scratch_storage/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/scratch_storage/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/simple_voting/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/simple_voting/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/simple_voting/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/zk_whitelist/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/zk_whitelist/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/examples/zk_whitelist/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/scripts/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/scripts/check_stubs_cov.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/scripts/refresh_test_artifacts.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/scripts/validate_examples.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/compiled.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/constants.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/context_helpers/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/context_helpers/context_storage.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/context_helpers/ledger_context.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/context_helpers/txn_context.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/decorators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/decorators/arc4.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/decorators/subroutine.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/enums.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/gtxn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/itxn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/itxn_loader.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/account.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/application.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/asset.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/template_variable.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/txn_fields.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/models/unsigned_builtins.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/mutable.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/block.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/constants.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/crypto.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/global_values.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/itxn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/pure.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/op/txn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/biguint.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/bytes.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/fixed_bytes.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/string.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/primitives/uint64.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/protocols.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/py.typed +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/box.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/global_map.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/global_state.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/local_map.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/local_state.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/state/utils.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/utilities/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/utilities/budget.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/utilities/log.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/utilities/size_of.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/utils.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/value_generators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/value_generators/arc4.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/value_generators/avm.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/value_generators/txn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy/arc4.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy/gtxn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy/itxn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy/op.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy/py.typed +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy_testing/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/algopy_testing/py.typed +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/templates/.macros.j2 +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/templates/.release_notes.md.j2 +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/templates/CHANGELOG.md.j2 +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/conftest.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_abi_call.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_address.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_arc4_method_signature.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_bool.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_dynamic_array.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_dynamic_bytes.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_emit.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_static_array.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_string.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_struct.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_tuple.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_ufixednxm.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/arc4/test_uintn.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/Contract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/ContractV0.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/ContractV0.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/ContractV0.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/ContractV1.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/ContractV1.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/AVM12/data/ContractV1.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4ABIMethod/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4ABIMethod/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4InnerTxns/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4InnerTxns/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4PrimitiveOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/Contract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/Contract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/DynamicArrayInitContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/DynamicArrayInitContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/DynamicArrayInitContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/StaticSizeContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/StaticSizeContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/StaticSizeContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/data/StaticSizeContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/immutable.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/static_size.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Arrays/uint64.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/BoxContract/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/BoxContract/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/BoxContract/data/BoxContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/BoxContract/data/BoxContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/BoxContract/data/BoxContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/BoxContract/data/BoxContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Contains/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Contains/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Contains/data/MyContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Contains/data/MyContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppCall.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppCall.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppCall.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppCall.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CreatedAppAsset/other.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CryptoOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CryptoOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CryptoOps/data/CryptoOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/CryptoOps/data/CryptoOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/data/VerifierContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/data/VerifierContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/data/VerifierContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/DynamicITxnGroup/verifier.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/GlobalStateValidator/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/GlobalStateValidator/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8/tests/artifacts/MiscellaneousOps → algorand_python_testing-1.2.0b10/tests/artifacts/LogicSignature}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/artifacts/PrimitiveOps → algorand_python_testing-1.2.0b10/tests/artifacts/MiscellaneousOps}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/MiscellaneousOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8/tests/artifacts/StateMutations → algorand_python_testing-1.2.0b10/tests/artifacts/PrimitiveOps}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/PrimitiveOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8/tests/artifacts/StateOps → algorand_python_testing-1.2.0b10/tests/artifacts/StateMutations}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/Contract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/StateMutations.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/StateMutations.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/StateMutations.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/data/StateMutations.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateMutations/statemutations.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/artifacts/Tuples → algorand_python_testing-1.2.0b10/tests/artifacts/StateOps}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalMapContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalMapContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalMapContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalStateContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalStateContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalStateContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/GlobalStateContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/ITxnOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/ITxnOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/ITxnOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalMapContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalMapContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalMapContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalStateContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalStateContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalStateContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/LocalStateContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGet.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGet.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGet.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalExContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppGlobalExContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalExContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppLocalExContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppParamsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppParamsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppParamsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAppParamsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetHoldingContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetHoldingContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetParamsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/StateOps/data/StateAssetParamsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8/tests/artifacts → algorand_python_testing-1.2.0b10/tests/artifacts/Tuples}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Tuples/contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Tuples/data/TuplesContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Tuples/data/TuplesContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Tuples/data/TuplesContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/artifacts/Tuples/data/TuplesContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b8/tests/avm12 → algorand_python_testing-1.2.0b10/tests/artifacts}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/contexts → algorand_python_testing-1.2.0b10/tests/avm12}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/avm12/conftest.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/avm12/test_avm12.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/common.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/conftest.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/dynamic_itxn_group → algorand_python_testing-1.2.0b10/tests/contexts}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/models → algorand_python_testing-1.2.0b10/tests/dynamic_itxn_group}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/dynamic_itxn_group/test_dynamic_itxn_group.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/primitives → algorand_python_testing-1.2.0b10/tests/logic_signature}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/state → algorand_python_testing-1.2.0b10/tests/models}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_asset.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_box.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_box_map.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_box_ref.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_uenumerate.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/models/test_urange.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/utilities → algorand_python_testing-1.2.0b10/tests/primitives}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/primitives/conftest.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/primitives/test_biguint.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/primitives/test_bytes.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/primitives/test_fixed_bytes.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/primitives/test_string.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/primitives/test_uint64.py +0 -0
- {algorand_python_testing-1.2.0b8/tests/value_generators → algorand_python_testing-1.2.0b10/tests/state}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/state/conftest.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/state/test_global_map.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/state/test_global_state.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/state/test_local_map.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/state/test_local_state.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/state/test_mutations.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/test_array.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/test_context.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/test_miscellaneous_op.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/test_op.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/util.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/utilities/conftest.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/utilities/test_log.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/utilities/test_size_of.py +0 -0
- {algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/tests/value_generators/test_avm.py +0 -0
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
+
## v1.2.0-beta.10 (2026-04-14)
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* support native-typed fields in arc4.Struct ([`6ec0127`](https://github.com/algorandfoundation/algorand-python-testing/commit/6ec0127d096f4c2972a6ce844d8a196c384828f6))
|
|
7
|
+
|
|
8
|
+
This unblocks `arc4.encode`/`arc4.decode` of structs with mixed field annotations and lets the AVM parity test invoke the contract directly in-process alongside the AVM check, exercising `test_native_struct` on both paths instead of AVM only.
|
|
9
|
+
|
|
10
|
+
* add support for arc4.encode and arc4.decode functions ([`032b2a8`](https://github.com/algorandfoundation/algorand-python-testing/commit/032b2a826338bc3ff92bca774f3361b39e3afc6e))
|
|
11
|
+
|
|
12
|
+
also migrate `UInt64Backed` serializer off the deprecated `.native` accessor
|
|
13
|
+
|
|
14
|
+
## v1.2.0-beta.9 (2026-04-10)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add arguments to logicsig ([`74ac11e`](https://github.com/algorandfoundation/algorand-python-testing/commit/74ac11e74af79cf50c9b64de74221ef8f8d5bae4))
|
|
19
|
+
|
|
2
20
|
## v1.2.0-beta.8 (2026-04-09)
|
|
3
21
|
|
|
4
22
|
## v1.2.0-beta.7 (2026-04-09)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: algorand-python-testing
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.0b10
|
|
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
|
|
@@ -74,7 +74,9 @@ See which `algorand-python` stubs are implemented by the `algorand-python-testin
|
|
|
74
74
|
| algopy.arc4.abimethod | Emulated |
|
|
75
75
|
| algopy.arc4.arc4_signature | Native |
|
|
76
76
|
| algopy.arc4.baremethod | Emulated |
|
|
77
|
+
| algopy.arc4.decode | Emulated |
|
|
77
78
|
| algopy.arc4.emit | Emulated |
|
|
79
|
+
| algopy.arc4.encode | Emulated |
|
|
78
80
|
| algopy.arc4.abi_call | Mockable |
|
|
79
81
|
| algopy.arc4.arc4_create | Mockable |
|
|
80
82
|
| algopy.arc4.arc4_update | Mockable |
|
{algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/docs/testing-guide/concepts.md
RENAMED
|
@@ -61,5 +61,5 @@ For a full list of all public `algopy` types and their corresponding implementat
|
|
|
61
61
|
|
|
62
62
|
## Data Validation
|
|
63
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 (or its alias, `algopy.public`)
|
|
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 (or its alias, `algopy.public`), `.validate()` methods, and the `validate` parameter of `arc4.decode(...)`.
|
|
65
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.
|
{algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/arc4.py
RENAMED
|
@@ -26,7 +26,7 @@ from _algopy_testing.mutable import (
|
|
|
26
26
|
)
|
|
27
27
|
from _algopy_testing.primitives import Bytes
|
|
28
28
|
from _algopy_testing.protocols import BytesBacked
|
|
29
|
-
from _algopy_testing.serialize import get_native_to_arc4_serializer
|
|
29
|
+
from _algopy_testing.serialize import get_native_to_arc4_serializer, native_to_arc4
|
|
30
30
|
from _algopy_testing.utils import (
|
|
31
31
|
as_bytes,
|
|
32
32
|
as_int,
|
|
@@ -73,7 +73,9 @@ __all__ = [
|
|
|
73
73
|
"arc4_create",
|
|
74
74
|
"arc4_signature",
|
|
75
75
|
"arc4_update",
|
|
76
|
+
"decode",
|
|
76
77
|
"emit",
|
|
78
|
+
"encode",
|
|
77
79
|
]
|
|
78
80
|
|
|
79
81
|
_ABI_LENGTH_SIZE = 2
|
|
@@ -1152,9 +1154,40 @@ class _StructMeta(type):
|
|
|
1152
1154
|
pass
|
|
1153
1155
|
|
|
1154
1156
|
|
|
1157
|
+
def _is_arc4_type(field_type: typing.Any) -> bool:
|
|
1158
|
+
return isinstance(field_type, type) and issubclass(field_type, _ABIEncoded)
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
def _arc4_type_for_field(field_type: typing.Any) -> type[_ABIEncoded]:
|
|
1162
|
+
"""Resolve a struct field's declared type to its ARC-4 equivalent.
|
|
1163
|
+
|
|
1164
|
+
Fields annotated with ARC-4 types are returned as-is; native/algopy types
|
|
1165
|
+
are mapped via the serializer registry so `arc4.Struct` accepts either.
|
|
1166
|
+
"""
|
|
1167
|
+
if _is_arc4_type(field_type):
|
|
1168
|
+
return field_type # type: ignore[no-any-return]
|
|
1169
|
+
return get_native_to_arc4_serializer(field_type).arc4_type
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
def _encode_to_arc4(value: object) -> _ABIEncoded:
|
|
1173
|
+
"""Wrap a struct field value for encoding — ARC-4 instances pass through, native
|
|
1174
|
+
values are converted via the serializer registry."""
|
|
1175
|
+
if isinstance(value, _ABIEncoded):
|
|
1176
|
+
return value
|
|
1177
|
+
return native_to_arc4(value)
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
def _to_native_type(field_type: typing.Any, arc4_value: _ABIEncoded) -> object:
|
|
1181
|
+
"""Convert a decoded ARC-4 value back to the declared field type — ARC-4 annotations
|
|
1182
|
+
pass through, native annotations go through `arc4_to_native`."""
|
|
1183
|
+
if _is_arc4_type(field_type):
|
|
1184
|
+
return arc4_value
|
|
1185
|
+
return get_native_to_arc4_serializer(field_type).arc4_to_native(arc4_value)
|
|
1186
|
+
|
|
1187
|
+
|
|
1155
1188
|
def _tuple_type_from_struct(struct: type[Struct]) -> type[Tuple]: # type: ignore[type-arg]
|
|
1156
|
-
field_types = [f.type for f in struct._type_info.fields]
|
|
1157
|
-
return parameterize_type(Tuple, *field_types)
|
|
1189
|
+
field_types = [_arc4_type_for_field(f.type) for f in struct._type_info.fields]
|
|
1190
|
+
return parameterize_type(Tuple, *field_types)
|
|
1158
1191
|
|
|
1159
1192
|
|
|
1160
1193
|
class Struct(MutableBytes, _ABIEncoded, metaclass=_StructMeta):
|
|
@@ -1198,7 +1231,13 @@ class Struct(MutableBytes, _ABIEncoded, metaclass=_StructMeta):
|
|
|
1198
1231
|
tuple_value = tuple_type.from_bytes(value)
|
|
1199
1232
|
if not tuple_value:
|
|
1200
1233
|
return typing.cast("typing.Self", tuple_value)
|
|
1201
|
-
|
|
1234
|
+
# convert each decoded ARC-4 item to the declared field type (ARC-4
|
|
1235
|
+
# annotations pass through, native annotations go through arc4_to_native)
|
|
1236
|
+
items = [
|
|
1237
|
+
_to_native_type(field.type, arc4_item)
|
|
1238
|
+
for arc4_item, field in zip(tuple_value.native, cls._type_info.fields, strict=True)
|
|
1239
|
+
]
|
|
1240
|
+
return cls(*items)
|
|
1202
1241
|
|
|
1203
1242
|
@property
|
|
1204
1243
|
def bytes(self) -> algopy.Bytes:
|
|
@@ -1208,8 +1247,10 @@ class Struct(MutableBytes, _ABIEncoded, metaclass=_StructMeta):
|
|
|
1208
1247
|
@property
|
|
1209
1248
|
def _as_tuple(self) -> Tuple: # type: ignore[type-arg]
|
|
1210
1249
|
# can't use dataclass.astuple here as that processes all dataclasses
|
|
1211
|
-
# in the object graph, not just immediate fields
|
|
1212
|
-
tuple_items = tuple(
|
|
1250
|
+
# in the object graph, not just immediate fields.
|
|
1251
|
+
tuple_items = tuple(
|
|
1252
|
+
_encode_to_arc4(getattr(self, field.name)) for field in dataclasses.fields(self)
|
|
1253
|
+
)
|
|
1213
1254
|
return Tuple(tuple_items)
|
|
1214
1255
|
|
|
1215
1256
|
def _replace(self, **kwargs: typing.Any) -> typing.Self:
|
|
@@ -1270,9 +1311,36 @@ def emit(event: str | Struct, /, *args: object) -> None:
|
|
|
1270
1311
|
log(event_hash[:4] + event_data.value)
|
|
1271
1312
|
|
|
1272
1313
|
|
|
1273
|
-
def
|
|
1274
|
-
|
|
1314
|
+
def encode(value: object, /) -> algopy.Bytes:
|
|
1315
|
+
return _encode_to_arc4(value).bytes
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
_TDecode = typing.TypeVar("_TDecode")
|
|
1319
|
+
|
|
1275
1320
|
|
|
1321
|
+
def decode(
|
|
1322
|
+
typ: type[_TDecode],
|
|
1323
|
+
value: algopy.Bytes | bytes,
|
|
1324
|
+
/,
|
|
1325
|
+
*,
|
|
1326
|
+
validate: typing.Literal[True, False] = True,
|
|
1327
|
+
) -> _TDecode:
|
|
1328
|
+
raw = value.value if isinstance(value, Bytes) else value
|
|
1329
|
+
|
|
1330
|
+
if isinstance(typ, type) and issubclass(typ, _ABIEncoded):
|
|
1331
|
+
arc4_value = typ.from_bytes(raw)
|
|
1332
|
+
if validate:
|
|
1333
|
+
arc4_value.validate()
|
|
1334
|
+
return arc4_value
|
|
1335
|
+
|
|
1336
|
+
serializer = get_native_to_arc4_serializer(typ)
|
|
1337
|
+
arc4_value = serializer.arc4_type.from_bytes(raw)
|
|
1338
|
+
if validate:
|
|
1339
|
+
arc4_value.validate()
|
|
1340
|
+
return serializer.arc4_to_native(arc4_value) # type: ignore[no-any-return]
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
def _cast_arg_as_arc4(arg: object) -> _ABIEncoded:
|
|
1276
1344
|
if isinstance(arg, int) and not isinstance(arg, bool):
|
|
1277
1345
|
return UInt64(arg) if arg <= MAX_UINT64 else UInt512(arg)
|
|
1278
1346
|
if isinstance(arg, bytes):
|
{algorand_python_testing-1.2.0b8 → algorand_python_testing-1.2.0b10}/src/_algopy_testing/context.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import inspect
|
|
3
4
|
import typing
|
|
4
5
|
|
|
5
6
|
from _algopy_testing.context_helpers import LedgerContext, TransactionContext
|
|
7
|
+
from _algopy_testing.state.utils import cast_to_bytes
|
|
6
8
|
from _algopy_testing.utils import generate_random_account
|
|
7
9
|
from _algopy_testing.value_generators import AlgopyValueGenerator
|
|
8
10
|
|
|
9
11
|
if typing.TYPE_CHECKING:
|
|
10
|
-
from collections.abc import Sequence
|
|
11
|
-
|
|
12
12
|
import algopy
|
|
13
13
|
|
|
14
14
|
|
|
@@ -35,7 +35,7 @@ class AlgopyTestContext:
|
|
|
35
35
|
self._default_sender = algopy.Account(default_sender or generate_random_account().addr)
|
|
36
36
|
self._template_vars: dict[str, typing.Any] = template_vars or {}
|
|
37
37
|
|
|
38
|
-
self._active_lsig_args
|
|
38
|
+
self._active_lsig_args = list[bytes]()
|
|
39
39
|
self._ledger_context = LedgerContext()
|
|
40
40
|
self._txn_context = TransactionContext()
|
|
41
41
|
self._value_generator = AlgopyValueGenerator()
|
|
@@ -84,14 +84,23 @@ class AlgopyTestContext:
|
|
|
84
84
|
"""
|
|
85
85
|
self._template_vars[name] = value
|
|
86
86
|
|
|
87
|
-
def execute_logicsig(
|
|
88
|
-
|
|
87
|
+
def execute_logicsig(
|
|
88
|
+
self, lsig: algopy.LogicSig, /, *args: typing.Any
|
|
89
|
+
) -> bool | algopy.UInt64:
|
|
90
|
+
"""Execute a logic signature.
|
|
89
91
|
|
|
90
|
-
|
|
92
|
+
If the logicsig's wrapped function accepts parameters, args are passed directly.
|
|
93
|
+
args are also available via algopy.op.arg().
|
|
94
|
+
"""
|
|
95
|
+
sig = inspect.signature(lsig.func)
|
|
96
|
+
self._active_lsig_args = [cast_to_bytes(a) for a in args]
|
|
91
97
|
try:
|
|
92
|
-
|
|
98
|
+
if sig.parameters:
|
|
99
|
+
return lsig.func(*args)
|
|
100
|
+
else:
|
|
101
|
+
return lsig.func()
|
|
93
102
|
finally:
|
|
94
|
-
self._active_lsig_args =
|
|
103
|
+
self._active_lsig_args = []
|
|
95
104
|
|
|
96
105
|
def clear_transaction_context(self) -> None:
|
|
97
106
|
"""Clear the transaction context."""
|
|
@@ -9,25 +9,33 @@ if typing.TYPE_CHECKING:
|
|
|
9
9
|
import algopy
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
_P = typing.ParamSpec("_P")
|
|
13
|
+
|
|
14
|
+
|
|
12
15
|
class LogicSig:
|
|
13
16
|
"""A logic signature."""
|
|
14
17
|
|
|
15
|
-
def __init__(self, func: Callable[
|
|
18
|
+
def __init__(self, func: Callable[..., bool | algopy.UInt64], name: str):
|
|
16
19
|
self.func = func
|
|
17
20
|
self.name = name
|
|
18
21
|
|
|
19
22
|
|
|
20
23
|
@typing.overload
|
|
21
|
-
def logicsig(sub: Callable[
|
|
24
|
+
def logicsig(sub: Callable[_P, bool | algopy.UInt64], /) -> LogicSig: ...
|
|
22
25
|
|
|
23
26
|
|
|
24
27
|
@typing.overload
|
|
25
|
-
def logicsig(
|
|
28
|
+
def logicsig(
|
|
29
|
+
*, name: str, **kwargs: typing.Any
|
|
30
|
+
) -> Callable[[Callable[_P, bool | algopy.UInt64]], LogicSig]: ...
|
|
26
31
|
|
|
27
32
|
|
|
28
33
|
def logicsig(
|
|
29
|
-
sub: Callable[
|
|
30
|
-
|
|
34
|
+
sub: Callable[_P, bool | algopy.UInt64] | None = None,
|
|
35
|
+
*,
|
|
36
|
+
name: str | None = None,
|
|
37
|
+
**_kwargs: typing.Any,
|
|
38
|
+
) -> algopy.LogicSig | Callable[[Callable[_P, bool | algopy.UInt64]], LogicSig]:
|
|
31
39
|
"""Decorator to indicate a function is a logic signature."""
|
|
32
40
|
if sub is None:
|
|
33
41
|
return functools.partial(
|
|
@@ -206,6 +206,18 @@ class FixedArray(
|
|
|
206
206
|
self._items = list(items)
|
|
207
207
|
self._value = serialize_to_bytes(self)
|
|
208
208
|
|
|
209
|
+
def __eq__(self, other: object) -> bool:
|
|
210
|
+
if isinstance(other, self.__class__):
|
|
211
|
+
return (
|
|
212
|
+
self._element_type == other._element_type
|
|
213
|
+
and self._length == other._length
|
|
214
|
+
and self.serialize() == other.serialize()
|
|
215
|
+
)
|
|
216
|
+
return NotImplemented
|
|
217
|
+
|
|
218
|
+
def __hash__(self) -> int:
|
|
219
|
+
return hash(self.serialize())
|
|
220
|
+
|
|
209
221
|
@classmethod
|
|
210
222
|
def full(cls, item: _TArrayItem) -> typing.Self:
|
|
211
223
|
return cls([item] * cls._length)
|
|
@@ -358,6 +370,16 @@ class ImmutableArray(Serializable, typing.Generic[_TArrayItem], metaclass=_Immut
|
|
|
358
370
|
typ = ImmutableArray[el_type] # type: ignore[valid-type]
|
|
359
371
|
return typ(items)
|
|
360
372
|
|
|
373
|
+
def __eq__(self, other: object) -> bool:
|
|
374
|
+
if isinstance(other, self.__class__):
|
|
375
|
+
return (
|
|
376
|
+
self._element_type == other._element_type and self.serialize() == other.serialize()
|
|
377
|
+
)
|
|
378
|
+
return NotImplemented
|
|
379
|
+
|
|
380
|
+
def __hash__(self) -> int:
|
|
381
|
+
return hash(self.serialize())
|
|
382
|
+
|
|
361
383
|
def __bool__(self) -> bool:
|
|
362
384
|
return bool(self._items)
|
|
363
385
|
|
|
@@ -509,6 +531,16 @@ class Array(Serializable, MutableBytes, typing.Generic[_TArrayItem], metaclass=_
|
|
|
509
531
|
typ = Array[el_type] # type: ignore[valid-type]
|
|
510
532
|
return typ(items)
|
|
511
533
|
|
|
534
|
+
def __eq__(self, other: object) -> bool:
|
|
535
|
+
if isinstance(other, self.__class__):
|
|
536
|
+
return (
|
|
537
|
+
self._element_type == other._element_type and self.serialize() == other.serialize()
|
|
538
|
+
)
|
|
539
|
+
return NotImplemented
|
|
540
|
+
|
|
541
|
+
def __hash__(self) -> int:
|
|
542
|
+
return hash(self.serialize())
|
|
543
|
+
|
|
512
544
|
def __bool__(self) -> bool:
|
|
513
545
|
return bool(self._items)
|
|
514
546
|
|
|
@@ -61,7 +61,7 @@ def get_native_to_arc4_serializer( # noqa: PLR0911
|
|
|
61
61
|
return _Serializer(
|
|
62
62
|
arc4_type=arc4.UInt64,
|
|
63
63
|
native_to_arc4=lambda n: arc4.UInt64(n.int_),
|
|
64
|
-
arc4_to_native=lambda a: typ.from_int(a.
|
|
64
|
+
arc4_to_native=lambda a: typ.from_int(a.as_uint64()),
|
|
65
65
|
)
|
|
66
66
|
if issubclass(typ, FixedBytes):
|
|
67
67
|
length_type = get_type_generic_from_int_literal(typ._length)
|
|
@@ -89,8 +89,8 @@ def get_native_to_arc4_serializer( # noqa: PLR0911
|
|
|
89
89
|
native_to_arc4=lambda arr: arc4_type(
|
|
90
90
|
*[element_serializer.native_to_arc4(e) for e in arr]
|
|
91
91
|
),
|
|
92
|
-
arc4_to_native=lambda arr: (
|
|
93
|
-
|
|
92
|
+
arc4_to_native=lambda arr: typ(
|
|
93
|
+
[element_serializer.arc4_to_native(e) for e in arr]
|
|
94
94
|
),
|
|
95
95
|
)
|
|
96
96
|
if issubclass(typ, FixedArray | ImmutableFixedArray):
|