Skip to content

Conversation

@aorumbayev
Copy link
Contributor

@aorumbayev aorumbayev commented Jul 12, 2024

Proposed Changes

Now that the repo is migrated, below are the remaining abstractions left to implement prior to shifting to final refactor/polishing efforts

  • - AssetParamsGet
  • - AssetHoldingGet
  • - AppParamsGet
  • - AppLocal
  • - AppGlobal
  • - AcctParamsGet

MISC

  • Adding a script to validate examples folder (specifically the contract.py files to ensure those are indeed valid puya code that can be compiled + exported). The tests for those contracts are 'validated' by running them in pytest in previous steps.

@aorumbayev aorumbayev requested a review from daniel-makerx July 12, 2024 16:45
@aorumbayev aorumbayev requested a review from daniel-makerx July 25, 2024 23:32
@aorumbayev aorumbayev marked this pull request as ready for review July 26, 2024 15:06
"access the context manager."
)

active_txn = context.get_active_transaction()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting the active transaction could also have another method that returns a non None value.

Is there anywhere currently where returning non active context or transaction is allowed?

daniel-makerx and others added 9 commits August 9, 2024 15:42
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: 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
aorumbayev added a commit that referenced this pull request Aug 12, 2024
Note that this patch is going to be reverted after the following PRs are merged (introducing final batch of changes)

https://github.com/algorandfoundation/algorand-python-testing/pulls

#4
@aorumbayev aorumbayev changed the title feat: work in progress on asset, application related state ops feat: initial stable release of algorand-python-testing Aug 12, 2024
@aorumbayev aorumbayev changed the title feat: initial stable release of algorand-python-testing feat: deferred app calls, modular test context, refined access to value generators, numerous fixes/improvements Aug 13, 2024
@aorumbayev aorumbayev merged commit 85dd58a into main Aug 13, 2024
@aorumbayev aorumbayev deleted the feat/state_ops branch August 13, 2024 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants