Algorand-python-testing

Latest version: v0.4.1

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.3.0beta.4

Feature

* rename txn_op_fields to active_txn_overrides to better reflect purpose, add additional checks to ensure crate_group parameters are used correctly ([`973fc28`](https://github.com/algorandfoundation/algorand-python-testing/commit/973fc288836d09ba4657642c980ca9f916d38823))

Fix

* fix equality implementation for Account, to allow comparison with arc4.Address ([`6ec2dd4`](https://github.com/algorandfoundation/algorand-python-testing/commit/6ec2dd4f2b4119987a5ea7c3c670bdd554c4fe30))

* ensure new Account&39;s have field defaults populated ([`54432b0`](https://github.com/algorandfoundation/algorand-python-testing/commit/54432b03cef13008b16fab84dcc250824e2e2da1))

* ensure Global.current_application* properties match AVM ([`ae84ae2`](https://github.com/algorandfoundation/algorand-python-testing/commit/ae84ae27e49ef977babe7abb10d8994446d6b5f7))

* when generating app/asset id&39;s skip any that might already be reserved ([`0bb5eba`](https://github.com/algorandfoundation/algorand-python-testing/commit/0bb5eba3ec75ffdb16cfbac5b3c4837f64f8a58a))

Documentation

* integrating pydoclint; formatting docs; removing docs from stub implementation ([`d729bf9`](https://github.com/algorandfoundation/algorand-python-testing/commit/d729bf9b70ef885cd1b2ef705c4f5e2582d853ab))

0.3.0beta.3

0.3.0beta.2

0.3.0beta.1

Feature

* deferred app calls, modular test context, refined access to value generators, numerous fixes/improvements (4) ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))

* feat: work in progress on asset, application related state ops

* test: adding extra tests

* feat: extra tests and implementation wrappers around AppLocal

* chore: wip

* chore: update src/algopy_testing/op.py

Co-authored-by: Daniel McGregor <daniel.mcgregormakerx.com.au>

* feat: adding acctparamsget; extra tests; pr comments

* refactor: adding final bits around AcctParamsGet; unit tests and fixes

* refactor: adding lookup by index to acct/app/asset get ops; tweaking ci

* refactor: addressing pr comments

* chore: fixing failing test

* refactor: simplifying test_context validation

* use specific enum types in box example with latest puya version

* include box types in algopy_testing

* fix inconsistent usage of field names on application fields use state total overrides when determining state totals reduce usage of `import algopy` in implementations

* expose fields property on application to aid debugging

* added section to CONTRIBUTING.md describing relationship between `algopy` and `algopy_testing`

* remove lazy algopy imports from utils remove some unnecessary ignores add TODO

* simplify abimethod and add TODO&39;s

* add TODO for state totals

* add some tests (including currently failing ones) for app transactions

* feat: add arc4factory

* refactor: ensuring underlying _key is properly reflected on local/global states

* refactor: change guards for setting keys to explicitly check for None

* refactor: use implementation types in internal mappings

* refactor: remove usages of `import algopy` from op.py, remove explicit imports from typing module add TODO&39;s

* test: use non-abstract contract base

* allow empty box prefix

* refactor

* use immutable param defaults

* fix: handle populating foreign arrays correctly for abi method calls

* refactor: remove lazy import algopy

* remove irrelevant comment

* initialize accounts correctly

* build: adding post install command into examples venv in hatch settings

* refactor: refine arc4 factory; add corresponding tests

* chore: adding the missing clear methods

* chore: merging everything from docs branch except docs changes

* chore: merge conflicts

* refactor: simplify txn implementations provide default values for unspecified txn fields

* docs: adding pep257 formatter; using reST docstrings style for context.py

* test: adding tests for scratch slots

* refactor: renaming set_txn_fields -> scoped_txn_fields

* chore: adding `amount` field and open question under TODO;

also adding adding get_box_map that reuses get_box but appends the bytes box_map prefix

* chore: bumping ruff

* refactor: adding context manager for lsig args setup (similar to algopy.Txn)

also running latest ruff - some rules are updated

* refactor: move helper classes into their own file

* refactor: simplify itxn loader

* refactor: isolate get_test_context to reduce circular imports

* chore: using multiprocessing in refresh test artifacts script

* refactor: adding tests for ITxn, ITxnCreate and GITxn, fixing related bugs

* refactor: default_creator -> default_sender; setting creator as default_sender

* chore: parsing name to op name in ITxn

* chore: updating default extension for mypy to use ms-python

* test: remove incorrect test and replace with TODO

* chore: add TODO about subroutine support

* add stricter type checks for primitives

* track when contracts are in a &34;creating&34; state or not

* todos

* refactor: moving GITxn class to itxn.py

* refactor: generate arc4 signatures from types added more robust system for tracking arc4 types removed unneeded functions on StaticArray

* only support native tuples when handling generic aliases in arc4 tuples

* refactor: 1/2 adding paged access to clear state program in txn fields

* refactor: consolidating txn and itxn related context attributes/methods

* minor refactors

* support arc4 structs

* refactor: simplify logic sig implementation, and remove mapping

* refactor: fix itxn op behaviour with program pages, and other array like fields

* refactor: simplify account properties

* refactor: move crypto ops into their own module

* refactor: move pure ops into their own module

* refactor: move other misc ops

* refactor: consolidating value generators; ledger and txn contexts;

* refactor: add active group/txn properties change local/global state storage to store values against the app, not the contract instance add UInt64Backed type to simplify serialization to/from int/bytes

* refactor: remove nested private modules, replace usages of get_test_context with lazy_context

* refactor: move inner transactions onto transaction group

* refactor: remove scoped_lsig_args

* refactor: remove maybe_active_app_id

* refactor: include bool in test for uint64

* refactor: ensure arc4 values always have fully parametrized types

* refactor: use _paramatize_type

* refactor: addressing TODOs

refactor: removing txn from method names inside txn context manager prop

chore: restoring initial pre-commit

refactor: expanding scoped_execution

chore: remove redundant fields

chore: addressing minor todos and removing the ones already addressed

* refactor: adding unit tests for global/local state with implicit keys

* refactor: improving handling of initial value for implicit global/local state keys

* test: extra test cases for accessing implicit/explicit keyed local/global state

* refactor: wip adding txn_group_for method

* chore: fix linting errors

* feat: continue with txn_group_for and add a test

* chore: remove scoped_txn_fields methods

* add some additional TODO&39;s for scoped_execution

* remove TODO

* expand gaid TODO

* tweak op.exit implementation and add TODO

* remove arc4 property from AlgopyTestContext

* add more TODOs

* refactor: addressing TODOs; adding marketplace contract example (devrel bootcamps)

* test: fixing failing tests

0.2.2beta.5

Documentation

* patch urls in README.md (9) ([`eddf612`](https://github.com/algorandfoundation/algorand-python-testing/commit/eddf612b177a2acddf15d58be3f375e99fb6564b))

* chore: patch urls in README.md

* ci: relaxing rules around paths-ignore

* docs: patching old namespace name in readme

0.2.2beta.4

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.