algorand-python-testing 1.2.0b2__tar.gz → 1.2.0b4__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.0b2 → algorand_python_testing-1.2.0b4}/CHANGELOG.md +8 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/PKG-INFO +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/coverage.md +1 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/transactions.md +69 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/pyproject.toml +5 -5
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/arc4.py +3 -3
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/context_helpers/txn_context.py +4 -4
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/itxn.py +11 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/itxn_loader.py +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/account.py +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/array.py +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/serialize.py +2 -2
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/state/utils.py +3 -3
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/Contract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/ContractV0.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/ContractV1.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.approval.teal +6 -12
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc56.json +17 -17
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/Contract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/DynamicArrayInitContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/StaticSizeContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/BoxContract/data/BoxContract.approval.teal +18 -63
- algorand_python_testing-1.2.0b4/tests/artifacts/BoxContract/data/BoxContract.arc56.json +768 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppCall.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.approval.teal +1 -2
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc56.json +4 -4
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc56.json +1 -1
- algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/contract.py +63 -0
- algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.approval.teal +284 -0
- algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.arc56.json +161 -0
- algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/data/VerifierContract.approval.teal +66 -0
- algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/data/VerifierContract.arc56.json +90 -0
- algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/verifier.py +16 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/data/StateMutations.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/GlobalStateContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/ITxnOpsContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/LocalStateContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppLocalContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppParamsContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc56.json +1 -1
- algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAssetParamsContract.clear.teal +7 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Tuples/data/TuplesContract.arc56.json +1 -1
- algorand_python_testing-1.2.0b4/tests/artifacts/Tuples/data/TuplesContract.clear.teal +7 -0
- algorand_python_testing-1.2.0b4/tests/dynamic_itxn_group/test_dynamic_itxn_group.py +67 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_box.py +4 -4
- algorand_python_testing-1.2.0b4/tests/utilities/__init__.py +0 -0
- algorand_python_testing-1.2.0b4/tests/value_generators/__init__.py +0 -0
- algorand_python_testing-1.2.0b2/tests/artifacts/BoxContract/data/BoxContract.arc56.json +0 -768
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.coveragerc +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.editorconfig +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/dependabot.yml +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/pull_request_template.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/workflows/cd.yaml +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/workflows/ci.yaml +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.github/workflows/gh-pages.yaml +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.gitignore +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.pre-commit-config.yaml +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.vscode/extensions.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.vscode/launch.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/.vscode/settings.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/CONTRIBUTING.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/LICENSE +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/README.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/Makefile +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/_static/custom.css +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/algopy.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/api.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/conf.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/examples.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/faq.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/index.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/make.bat +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/arc4-types.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/avm-types.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/concepts.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/contract-testing.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/index.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/opcodes.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/signature-testing.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/state-management.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/docs/testing-guide/subroutines.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/README.md +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/auction/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/auction/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/auction/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/htlc_logicsig/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/htlc_logicsig/signature.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/htlc_logicsig/test_signature.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/marketplace/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/marketplace/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/marketplace/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/proof_of_attendance/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/proof_of_attendance/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/proof_of_attendance/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/scratch_storage/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/scratch_storage/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/scratch_storage/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/simple_voting/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/simple_voting/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/simple_voting/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/zk_whitelist/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/zk_whitelist/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/examples/zk_whitelist/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/scripts/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/scripts/check_stubs_cov.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/scripts/refresh_test_artifacts.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/scripts/validate_examples.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/compiled.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/constants.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/context.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/context_helpers/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/context_helpers/context_storage.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/context_helpers/ledger_context.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/decorators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/decorators/arc4.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/decorators/subroutine.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/enums.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/gtxn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/application.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/asset.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/logicsig.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/template_variable.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/txn_fields.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/models/unsigned_builtins.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/mutable.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/block.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/constants.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/crypto.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/global_values.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/itxn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/misc.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/pure.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/op/txn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/biguint.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/bytes.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/fixed_bytes.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/string.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/primitives/uint64.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/protocols.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/py.typed +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/state/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/state/box.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/state/global_state.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/state/local_state.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/utilities/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/utilities/budget.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/utilities/log.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/utilities/size_of.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/utils.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/value_generators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/value_generators/arc4.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/value_generators/avm.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/value_generators/txn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy/arc4.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy/gtxn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy/itxn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy/op.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy/py.typed +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy_testing/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/algopy_testing/py.typed +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/templates/.macros.j2 +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/templates/.release_notes.md.j2 +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/templates/CHANGELOG.md.j2 +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/conftest.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_abi_call.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_address.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_arc4_method_signature.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_bool.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_dynamic_array.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_dynamic_bytes.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_emit.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_static_array.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_string.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_struct.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_tuple.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_ufixednxm.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/arc4/test_uintn.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/ContractV0.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/ContractV0.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/ContractV1.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/AVM12/data/ContractV1.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4ABIMethod/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4ABIMethod/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4InnerTxns/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4InnerTxns/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4PrimitiveOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4PrimitiveOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/Contract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/DynamicArrayInitContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/DynamicArrayInitContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/StaticSizeContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/StaticSizeContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/data/StaticSizeContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/immutable.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/static_size.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Arrays/uint64.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/BoxContract/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/BoxContract/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/BoxContract/data/BoxContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/BoxContract/data/BoxContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Contains/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Contains/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Contains/data/MyContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Contains/data/MyContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppCall.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppCall.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppCall.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CreatedAppAsset/other.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CryptoOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CryptoOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CryptoOps/data/CryptoOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/CryptoOps/data/CryptoOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts/GlobalStateValidator → algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup}/__init__.py +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.clear.teal +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/DynamicITxnGroup/data/VerifierContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts/MiscellaneousOps → algorand_python_testing-1.2.0b4/tests/artifacts/GlobalStateValidator}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/GlobalStateValidator/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts/PrimitiveOps → algorand_python_testing-1.2.0b4/tests/artifacts/MiscellaneousOps}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/MiscellaneousOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateMutations/data/StateMutations.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts/StateMutations → algorand_python_testing-1.2.0b4/tests/artifacts/PrimitiveOps}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/PrimitiveOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/GlobalStateContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts/StateOps → algorand_python_testing-1.2.0b4/tests/artifacts/StateMutations}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/data/Contract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/data/StateMutations.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/data/StateMutations.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateMutations/data/StateMutations.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateMutations/statemutations.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts/Tuples → algorand_python_testing-1.2.0b4/tests/artifacts/StateOps}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/GlobalStateContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/GlobalStateContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/LocalStateContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/GlobalStateContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/ITxnOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/ITxnOpsContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAcctParamsGetContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/LocalStateContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/LocalStateContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAppGlobalContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/LocalStateContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAcctParamsGet.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAcctParamsGet.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAcctParamsGet.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAppGlobalExContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAcctParamsGetContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppGlobalContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAppLocalContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAppGlobalContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppGlobalExContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAppLocalExContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAppGlobalExContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppLocalContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppLocalContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAppParamsContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAppLocalContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppLocalExContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAssetHoldingContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAppLocalExContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppParamsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAppParamsContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/StateOps/data/StateAssetParamsContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAppParamsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAssetHoldingContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc32.json +0 -0
- /algorand_python_testing-1.2.0b2/tests/artifacts/Tuples/data/TuplesContract.clear.teal → /algorand_python_testing-1.2.0b4/tests/artifacts/StateOps/data/StateAssetHoldingContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAssetParamsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2/tests/artifacts → algorand_python_testing-1.2.0b4/tests/artifacts/Tuples}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Tuples/contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Tuples/data/TuplesContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/artifacts/Tuples/data/TuplesContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b2/tests/avm12 → algorand_python_testing-1.2.0b4/tests/artifacts}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/contexts → algorand_python_testing-1.2.0b4/tests/avm12}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/avm12/conftest.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/avm12/test_avm12.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/common.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/conftest.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/models → algorand_python_testing-1.2.0b4/tests/contexts}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/primitives → algorand_python_testing-1.2.0b4/tests/dynamic_itxn_group}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/state → algorand_python_testing-1.2.0b4/tests/models}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_asset.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_box_map.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_box_ref.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_uenumerate.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/models/test_urange.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/utilities → algorand_python_testing-1.2.0b4/tests/primitives}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/primitives/conftest.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/primitives/test_biguint.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/primitives/test_bytes.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/primitives/test_fixed_bytes.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/primitives/test_string.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/primitives/test_uint64.py +0 -0
- {algorand_python_testing-1.2.0b2/tests/value_generators → algorand_python_testing-1.2.0b4/tests/state}/__init__.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/state/conftest.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/state/test_global_state.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/state/test_local_state.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/state/test_mutations.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/test_array.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/test_context.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/test_miscellaneous_op.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/test_op.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/util.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/utilities/conftest.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/utilities/test_log.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/utilities/test_size_of.py +0 -0
- {algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/tests/value_generators/test_avm.py +0 -0
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
+
## v1.2.0-beta.4 (2026-03-16)
|
|
3
|
+
|
|
4
|
+
## v1.2.0-beta.3 (2025-12-08)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add stage and submit_staged functions to support submitting dynamic number of inner transactions in a group ([`84ad031`](https://github.com/algorandfoundation/algorand-python-testing/commit/84ad03166442dadc10c7c1fe70e4cd07a63600cc))
|
|
9
|
+
|
|
2
10
|
## v1.2.0-beta.2 (2025-12-08)
|
|
3
11
|
|
|
4
12
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: algorand-python-testing
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.0b4
|
|
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
|
|
@@ -96,6 +96,7 @@ See which `algorand-python` stubs are implemented by the `algorand-python-testin
|
|
|
96
96
|
| algopy.itxn.KeyRegistrationInnerTransaction | Emulated |
|
|
97
97
|
| algopy.itxn.Payment | Emulated |
|
|
98
98
|
| algopy.itxn.PaymentInnerTransaction | Emulated |
|
|
99
|
+
| algopy.itxn.submit_staged | Emulated |
|
|
99
100
|
| algopy.itxn.submit_txns | Emulated |
|
|
100
101
|
| algopy.op.Base64 | Native |
|
|
101
102
|
| algopy.op.EC | Native |
|
|
@@ -190,6 +190,75 @@ To access the submitted inner transactions:
|
|
|
190
190
|
|
|
191
191
|
These methods provide type validation and will raise an error if the requested transaction type doesn't match the actual type of the inner transaction.
|
|
192
192
|
|
|
193
|
+
### Submitting a group with dynamic number of inner transactions
|
|
194
|
+
|
|
195
|
+
`algorand-python` supports composing inner transaction groups with a dynamic number of transactions. To use this feature, call the `.stage()` method on inner transaction classes to queue transactions, then call `algopy.itxn.submit_staged()` to submit all staged transactions as a group.
|
|
196
|
+
|
|
197
|
+
The following example demonstrates how to test this functionality using the `algorand-python-testing` package.
|
|
198
|
+
|
|
199
|
+
```{testcode}
|
|
200
|
+
from algopy import Application, ARC4Contract, Array, Global, arc4, gtxn, itxn, TransactionType, Txn, UInt64, urange
|
|
201
|
+
|
|
202
|
+
class DynamicItxnGroup(ARC4Contract):
|
|
203
|
+
@arc4.abimethod
|
|
204
|
+
def distribute(
|
|
205
|
+
self, addresses: Array[arc4.Address], funds: gtxn.PaymentTransaction, verifier: Application
|
|
206
|
+
) -> None:
|
|
207
|
+
assert funds.receiver == Global.current_application_address, "Funds must be sent to app"
|
|
208
|
+
|
|
209
|
+
assert addresses.length, "must provide some accounts"
|
|
210
|
+
|
|
211
|
+
share = funds.amount // addresses.length
|
|
212
|
+
|
|
213
|
+
itxn.Payment(amount=share, receiver=addresses[0].native).stage(begin_group=True)
|
|
214
|
+
|
|
215
|
+
for i in urange(1, addresses.length):
|
|
216
|
+
addr = addresses[i]
|
|
217
|
+
itxn.Payment(amount=share, receiver=addr.native).stage()
|
|
218
|
+
|
|
219
|
+
itxn.ApplicationCall(
|
|
220
|
+
app_id=verifier.id, app_args=(arc4.arc4_signature("verify()void"),)
|
|
221
|
+
).stage()
|
|
222
|
+
|
|
223
|
+
itxn.AssetConfig(asset_name="abc").stage()
|
|
224
|
+
|
|
225
|
+
itxn.submit_staged()
|
|
226
|
+
|
|
227
|
+
class VerifierContract(ARC4Contract):
|
|
228
|
+
@arc4.abimethod
|
|
229
|
+
def verify(self) -> None:
|
|
230
|
+
for i in urange(Txn.group_index):
|
|
231
|
+
txn = gtxn.Transaction(i)
|
|
232
|
+
assert txn.type == TransactionType.Payment, "Txn must be pay"
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
# create contract instaces
|
|
236
|
+
verifier = VerifierContract()
|
|
237
|
+
dynamic_itxn_group = DynamicItxnGroup()
|
|
238
|
+
|
|
239
|
+
# get application id for contract instances
|
|
240
|
+
verifier_app = context.ledger.get_app(verifier)
|
|
241
|
+
dynamic_itxn_group_app = context.ledger.get_app(dynamic_itxn_group)
|
|
242
|
+
|
|
243
|
+
# create test accounts to distribute funds to and initial fund
|
|
244
|
+
addresses = Array([arc4.Address(context.any.account()) for _ in range(3)])
|
|
245
|
+
payment = context.any.txn.payment(
|
|
246
|
+
amount=UInt64(9),
|
|
247
|
+
receiver=dynamic_itxn_group_app.address,
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
# call contract method which creates inner transactions according to number of addresses passed in
|
|
251
|
+
dynamic_itxn_group.distribute(addresses, payment, verifier_app)
|
|
252
|
+
|
|
253
|
+
# get inner transaction group to assert the details
|
|
254
|
+
itxns = context.txn.last_group.get_itxn_group(-1)
|
|
255
|
+
assert len(itxns) == 5
|
|
256
|
+
for i in range(3):
|
|
257
|
+
assert itxns.payment(i).amount == 3
|
|
258
|
+
assert itxns.application_call(3).app_id == verifier_app
|
|
259
|
+
assert itxns.asset_config(4).asset_name == b"abc"
|
|
260
|
+
```
|
|
261
|
+
|
|
193
262
|
## References
|
|
194
263
|
|
|
195
264
|
- [API](../api.md) for more details on the test context manager and inner transactions related methods that perform implicit inner transaction type validation.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "algorand-python-testing"
|
|
7
|
-
version = "1.2.0-beta.
|
|
7
|
+
version = "1.2.0-beta.4"
|
|
8
8
|
description = 'Algorand Python testing library'
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -50,7 +50,7 @@ type = "virtual"
|
|
|
50
50
|
path = ".venv"
|
|
51
51
|
python = "3.12"
|
|
52
52
|
dependencies = [
|
|
53
|
-
"puyapy>=5",
|
|
53
|
+
"puyapy>=5.7.1",
|
|
54
54
|
"pytest>=7.4",
|
|
55
55
|
"pytest-mock>=3.10.0",
|
|
56
56
|
"pytest-xdist[psutil]>=3.3",
|
|
@@ -58,7 +58,7 @@ dependencies = [
|
|
|
58
58
|
"algokit-utils>=4.0.0",
|
|
59
59
|
"pytest-cov>=4.1.0",
|
|
60
60
|
"prettytable>=3.9.0",
|
|
61
|
-
"mypy==1.
|
|
61
|
+
"mypy==1.19.1",
|
|
62
62
|
]
|
|
63
63
|
|
|
64
64
|
[tool.hatch.envs.default.env-vars]
|
|
@@ -132,7 +132,7 @@ dependencies = [
|
|
|
132
132
|
"pytest-cov>=4.1.0",
|
|
133
133
|
"py-algorand-sdk>=2.4.0",
|
|
134
134
|
"algokit-utils>=4.0.0",
|
|
135
|
-
"puyapy>=5",
|
|
135
|
+
"puyapy>=5.7.1",
|
|
136
136
|
]
|
|
137
137
|
|
|
138
138
|
[tool.hatch.envs.test.scripts]
|
|
@@ -190,7 +190,7 @@ dependencies = [
|
|
|
190
190
|
"py-algorand-sdk>=2.4.0",
|
|
191
191
|
"algokit-utils>=4.0.0",
|
|
192
192
|
"pytest-cov>=4.1.0",
|
|
193
|
-
"mypy==1.
|
|
193
|
+
"mypy==1.19.1",
|
|
194
194
|
]
|
|
195
195
|
|
|
196
196
|
[tool.hatch.envs.examples.scripts]
|
{algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/arc4.py
RENAMED
|
@@ -1154,17 +1154,17 @@ class _StructMeta(type):
|
|
|
1154
1154
|
|
|
1155
1155
|
def _tuple_type_from_struct(struct: type[Struct]) -> type[Tuple]: # type: ignore[type-arg]
|
|
1156
1156
|
field_types = [f.type for f in struct._type_info.fields]
|
|
1157
|
-
return parameterize_type(Tuple, *field_types)
|
|
1157
|
+
return parameterize_type(Tuple, *field_types) # type: ignore[arg-type]
|
|
1158
1158
|
|
|
1159
1159
|
|
|
1160
|
-
class Struct(MutableBytes, _ABIEncoded, metaclass=_StructMeta):
|
|
1160
|
+
class Struct(MutableBytes, _ABIEncoded, metaclass=_StructMeta):
|
|
1161
1161
|
"""Base class for ARC4 Struct types."""
|
|
1162
1162
|
|
|
1163
1163
|
_type_info: typing.ClassVar[_StructTypeInfo] # type: ignore[misc]
|
|
1164
1164
|
|
|
1165
1165
|
def __init_subclass__(cls, *args: typing.Any, **kwargs: dict[str, typing.Any]) -> None:
|
|
1166
1166
|
# make implementation not frozen, so we can conditionally control behaviour
|
|
1167
|
-
dataclasses.dataclass(cls, *args, **{**kwargs, "frozen": False})
|
|
1167
|
+
dataclasses.dataclass(cls, *args, **{**kwargs, "frozen": False}) # type: ignore[call-overload]
|
|
1168
1168
|
frozen = kwargs.get("frozen", False)
|
|
1169
1169
|
assert isinstance(frozen, bool)
|
|
1170
1170
|
cls._type_info = _StructTypeInfo(cls, frozen=frozen)
|
|
@@ -326,19 +326,19 @@ class TransactionGroup:
|
|
|
326
326
|
except ValueError:
|
|
327
327
|
raise ValueError("Transaction is not part of this group") from None
|
|
328
328
|
|
|
329
|
-
def _begin_itxn_group(self) -> None:
|
|
329
|
+
def _begin_itxn_group(self, itxn: InnerTransaction | None = None) -> None:
|
|
330
330
|
if self._constructing_itxn_group:
|
|
331
331
|
raise RuntimeError("itxn begin without itxn submit")
|
|
332
332
|
|
|
333
333
|
if self.active_txn.on_completion == OnCompleteAction.ClearState:
|
|
334
334
|
raise RuntimeError("Cannot begin inner transaction group in a clear state call")
|
|
335
335
|
|
|
336
|
-
self._constructing_itxn_group.append(InnerTransaction())
|
|
336
|
+
self._constructing_itxn_group.append(itxn or InnerTransaction())
|
|
337
337
|
|
|
338
|
-
def _append_itxn_group(self) -> None:
|
|
338
|
+
def _append_itxn_group(self, itxn: InnerTransaction | None = None) -> None:
|
|
339
339
|
if not self._constructing_itxn_group:
|
|
340
340
|
raise RuntimeError("itxn next without itxn begin")
|
|
341
|
-
self._constructing_itxn_group.append(InnerTransaction())
|
|
341
|
+
self._constructing_itxn_group.append(itxn or InnerTransaction())
|
|
342
342
|
|
|
343
343
|
def _submit_itxn_group(self) -> None:
|
|
344
344
|
if not self._constructing_itxn_group:
|
{algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/itxn.py
RENAMED
|
@@ -33,6 +33,7 @@ __all__ = [
|
|
|
33
33
|
"KeyRegistrationInnerTransaction",
|
|
34
34
|
"Payment",
|
|
35
35
|
"PaymentInnerTransaction",
|
|
36
|
+
"submit_staged",
|
|
36
37
|
"submit_txns",
|
|
37
38
|
]
|
|
38
39
|
|
|
@@ -113,6 +114,12 @@ class _BaseInnerTransactionFields(typing.Protocol[_TResult_co]):
|
|
|
113
114
|
_narrow_covariant_types(fields)
|
|
114
115
|
self.fields.update(fields)
|
|
115
116
|
|
|
117
|
+
def stage(self, *, begin_group: bool = False) -> None:
|
|
118
|
+
if begin_group:
|
|
119
|
+
lazy_context.active_group._begin_itxn_group(self) # type: ignore[arg-type]
|
|
120
|
+
else:
|
|
121
|
+
lazy_context.active_group._append_itxn_group(self) # type: ignore[arg-type]
|
|
122
|
+
|
|
116
123
|
def submit(self) -> _TResult_co:
|
|
117
124
|
result = _get_itxn_result(self)
|
|
118
125
|
lazy_context.active_group._add_itxn_group([result]) # type: ignore[list-item]
|
|
@@ -170,6 +177,10 @@ def submit_txns(
|
|
|
170
177
|
return results
|
|
171
178
|
|
|
172
179
|
|
|
180
|
+
def submit_staged() -> None:
|
|
181
|
+
lazy_context.active_group._submit_itxn_group()
|
|
182
|
+
|
|
183
|
+
|
|
173
184
|
def _get_itxn_result(
|
|
174
185
|
itxn: _BaseInnerTransactionFields[_TResult_co],
|
|
175
186
|
) -> _BaseInnerTransactionResult:
|
|
@@ -48,7 +48,7 @@ class ITxnLoader:
|
|
|
48
48
|
def _get_itxn(self, txn_type: type[_T]) -> _T:
|
|
49
49
|
if (
|
|
50
50
|
not isinstance(self._inner_txn, txn_type)
|
|
51
|
-
and getattr(self._inner_txn, "type", None) != self._TXN_TYPE_MAP[txn_type]
|
|
51
|
+
and getattr(self._inner_txn, "type", None) != self._TXN_TYPE_MAP[txn_type] # type: ignore[index]
|
|
52
52
|
):
|
|
53
53
|
raise TypeError(f"transaction is not of type {txn_type.__name__}!")
|
|
54
54
|
return self._inner_txn # type: ignore[return-value]
|
|
@@ -75,7 +75,7 @@ class AccountContextData:
|
|
|
75
75
|
|
|
76
76
|
opted_assets: dict[int, AssetHolding] = dataclasses.field(default_factory=dict)
|
|
77
77
|
opted_apps: dict[int, algopy.Application] = dataclasses.field(default_factory=dict)
|
|
78
|
-
fields: AccountFields = dataclasses.field(default_factory=AccountFields)
|
|
78
|
+
fields: AccountFields = dataclasses.field(default_factory=AccountFields)
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
class Account(BytesBacked):
|
|
@@ -531,7 +531,7 @@ class Struct(Serializable, MutableBytes):
|
|
|
531
531
|
|
|
532
532
|
def __init_subclass__(cls, *args: typing.Any, **kwargs: dict[str, typing.Any]) -> None:
|
|
533
533
|
# make implementation not frozen, so we can conditionally control behaviour
|
|
534
|
-
dataclasses.dataclass(cls, *args, **{**kwargs, "frozen": False})
|
|
534
|
+
dataclasses.dataclass(cls, *args, **{**kwargs, "frozen": False}) # type: ignore[call-overload]
|
|
535
535
|
frozen = kwargs.get("frozen", False)
|
|
536
536
|
cls._field_names = [
|
|
537
537
|
f.name for f in dataclasses.fields(typing.cast("type[DataclassInstance]", cls))
|
{algorand_python_testing-1.2.0b2 → algorand_python_testing-1.2.0b4}/src/_algopy_testing/serialize.py
RENAMED
|
@@ -145,7 +145,7 @@ def _get_tuple_serializer(item_types: tuple[type, ...]) -> _Serializer[typing.An
|
|
|
145
145
|
return tuple(result)
|
|
146
146
|
|
|
147
147
|
return _Serializer(
|
|
148
|
-
arc4_type=arc4.Tuple[*(s.arc4_type for s in serializers)], # type: ignore[misc]
|
|
148
|
+
arc4_type=arc4.Tuple[*(s.arc4_type for s in serializers)], # type: ignore[misc,arg-type]
|
|
149
149
|
native_to_arc4=lambda t: arc4.Tuple(_items_to_arc4(t)),
|
|
150
150
|
arc4_to_native=lambda t: _items_to_native(t),
|
|
151
151
|
)
|
|
@@ -190,7 +190,7 @@ def type_of(value: object) -> type:
|
|
|
190
190
|
if it is a generic type."""
|
|
191
191
|
# get fully parametrized tuples
|
|
192
192
|
if isinstance(value, tuple) and type(value) is tuple:
|
|
193
|
-
return tuple[*(type_of(i) for i in value)] # type: ignore[misc,
|
|
193
|
+
return tuple[*(type_of(i) for i in value)] # type: ignore[misc,return-value]
|
|
194
194
|
else:
|
|
195
195
|
return type(value)
|
|
196
196
|
|
|
@@ -37,15 +37,15 @@ def deserialize(typ: type[_TValue], value: SerializableValue) -> _TValue:
|
|
|
37
37
|
elif issubclass(typ, bool):
|
|
38
38
|
return value != 0 # type: ignore[return-value]
|
|
39
39
|
elif issubclass(typ, UInt64 | Bytes):
|
|
40
|
-
return typ(value) # type: ignore[arg-type
|
|
40
|
+
return typ(value) # type: ignore[arg-type]
|
|
41
41
|
elif issubclass(typ, UInt64Backed):
|
|
42
42
|
if isinstance(value, bytes):
|
|
43
43
|
raise TypeError("expected int, received bytes")
|
|
44
|
-
return typ.from_int(value)
|
|
44
|
+
return typ.from_int(value)
|
|
45
45
|
elif issubclass(typ, BytesBacked | Serializable):
|
|
46
46
|
if isinstance(value, int):
|
|
47
47
|
raise TypeError("expected bytes, received int")
|
|
48
|
-
return typ.from_bytes(value)
|
|
48
|
+
return typ.from_bytes(value)
|
|
49
49
|
else:
|
|
50
50
|
raise TypeError(f"Unsupported type: {typ}")
|
|
51
51
|
|
|
@@ -1136,12 +1136,11 @@ verify_uintn_from_log:
|
|
|
1136
1136
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:171
|
|
1137
1137
|
// return arc4.UInt32.from_log(a)
|
|
1138
1138
|
dup
|
|
1139
|
-
extract 6 0
|
|
1140
|
-
swap
|
|
1141
1139
|
extract 2 4
|
|
1142
1140
|
bytec_0 // 0x151f7c75
|
|
1143
1141
|
==
|
|
1144
1142
|
assert // application log value is not the result of an ABI return
|
|
1143
|
+
extract 6 0
|
|
1145
1144
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:169
|
|
1146
1145
|
// @arc4.abimethod()
|
|
1147
1146
|
bytec_0 // 0x151f7c75
|
|
@@ -1160,12 +1159,11 @@ verify_biguintn_from_log:
|
|
|
1160
1159
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:175
|
|
1161
1160
|
// return arc4.UInt256.from_log(a)
|
|
1162
1161
|
dup
|
|
1163
|
-
extract 6 0
|
|
1164
|
-
swap
|
|
1165
1162
|
extract 2 4
|
|
1166
1163
|
bytec_0 // 0x151f7c75
|
|
1167
1164
|
==
|
|
1168
1165
|
assert // application log value is not the result of an ABI return
|
|
1166
|
+
extract 6 0
|
|
1169
1167
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:173
|
|
1170
1168
|
// @arc4.abimethod()
|
|
1171
1169
|
bytec_0 // 0x151f7c75
|
|
@@ -1381,12 +1379,11 @@ verify_ufixednxm_from_log:
|
|
|
1381
1379
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:225
|
|
1382
1380
|
// return arc4.UFixedNxM[typing.Literal[32], typing.Literal[8]].from_log(a)
|
|
1383
1381
|
dup
|
|
1384
|
-
extract 6 0
|
|
1385
|
-
swap
|
|
1386
1382
|
extract 2 4
|
|
1387
1383
|
bytec_0 // 0x151f7c75
|
|
1388
1384
|
==
|
|
1389
1385
|
assert // application log value is not the result of an ABI return
|
|
1386
|
+
extract 6 0
|
|
1390
1387
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:221
|
|
1391
1388
|
// @arc4.abimethod()
|
|
1392
1389
|
bytec_0 // 0x151f7c75
|
|
@@ -1405,12 +1402,11 @@ verify_bigufixednxm_from_log:
|
|
|
1405
1402
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:231
|
|
1406
1403
|
// return arc4.BigUFixedNxM[typing.Literal[256], typing.Literal[16]].from_log(a)
|
|
1407
1404
|
dup
|
|
1408
|
-
extract 6 0
|
|
1409
|
-
swap
|
|
1410
1405
|
extract 2 4
|
|
1411
1406
|
bytec_0 // 0x151f7c75
|
|
1412
1407
|
==
|
|
1413
1408
|
assert // application log value is not the result of an ABI return
|
|
1409
|
+
extract 6 0
|
|
1414
1410
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:227
|
|
1415
1411
|
// @arc4.abimethod()
|
|
1416
1412
|
bytec_0 // 0x151f7c75
|
|
@@ -1538,12 +1534,11 @@ verify_string_from_log:
|
|
|
1538
1534
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:258
|
|
1539
1535
|
// return arc4.String.from_log(a)
|
|
1540
1536
|
dup
|
|
1541
|
-
extract 6 0
|
|
1542
|
-
swap
|
|
1543
1537
|
extract 2 4
|
|
1544
1538
|
bytec_0 // 0x151f7c75
|
|
1545
1539
|
==
|
|
1546
1540
|
assert // application log value is not the result of an ABI return
|
|
1541
|
+
extract 6 0
|
|
1547
1542
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:256
|
|
1548
1543
|
// @arc4.abimethod()
|
|
1549
1544
|
bytec_0 // 0x151f7c75
|
|
@@ -1595,12 +1590,11 @@ verify_bool_from_log:
|
|
|
1595
1590
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:270
|
|
1596
1591
|
// return arc4.Bool.from_log(a)
|
|
1597
1592
|
dup
|
|
1598
|
-
extract 6 0
|
|
1599
|
-
swap
|
|
1600
1593
|
extract 2 4
|
|
1601
1594
|
bytec_0 // 0x151f7c75
|
|
1602
1595
|
==
|
|
1603
1596
|
assert // application log value is not the result of an ABI return
|
|
1597
|
+
extract 6 0
|
|
1604
1598
|
// tests/artifacts/Arc4PrimitiveOps/contract.py:268
|
|
1605
1599
|
// @arc4.abimethod()
|
|
1606
1600
|
bytec_0 // 0x151f7c75
|