Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding support for interacting with dispenser api on testnet via ensure_funded; api client class #51

Merged
merged 9 commits into from
Oct 3, 2023

Conversation

aorumbayev
Copy link
Contributor

@aorumbayev aorumbayev commented Sep 25, 2023

Proposed changes

  • Adding support to optionally interact with algokit dispenser api via ensure_funded method
  • Adding PR template
  • Replacing deprecated better toml vs code recommendation with tamasfe.even-better-toml
  • Adding dedicated API client class to interact with limit, fund and refund endpoints

@github-actions
Copy link

github-actions bot commented Sep 25, 2023

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/algokit_utils
   _ensure_funded.py69199%99
   _transfer.py62395%13, 76–77
   account.py851385%14–17, 61–65, 96, 109, 136, 139, 183
   application_client.py5519683%53–54, 111, 128, 179, 184, 213, 325, 330–331, 333, 335, 402, 411, 420, 470, 478, 487, 531, 539, 548, 592, 600, 609, 661, 669, 678, 720, 728, 737, 797, 812, 830–833, 909, 949, 961, 974, 1016, 1076–1082, 1086–1091, 1093, 1129, 1136, 1247, 1279, 1333–1335, 1337, 1347–1404, 1415–1420, 1440–1443
   application_specification.py971189%92, 94, 193–202, 206
   config.py17759%13–18, 21–22
   deploy.py4552395%30–33, 168, 172–173, 190, 246, 402, 413–421, 438–441, 451, 459, 652–653, 677
   dispenser_api.py821285%112–113, 117–120, 155–157, 176–178
   logic_error.py38295%6, 30
   models.py126894%45, 50–52, 57, 61–62, 125
   network_clients.py66395%89–90, 121
TOTAL165917989% 

Tests Skipped Failures Errors Time
183 0 💤 0 ❌ 0 🔥 1m 53s ⏱️

@aorumbayev aorumbayev force-pushed the feat/ensure_funded_api branch from 7a32d65 to 32c6226 Compare September 25, 2023 15:30
@aorumbayev aorumbayev changed the title feat: adding support for interacting with dispenser api on testnet feat: adding support for interacting with dispenser api on testnet via ensure_funded Sep 25, 2023
src/algokit_utils/_ensure_funded.py Outdated Show resolved Hide resolved
src/algokit_utils/_ensure_funded.py Outdated Show resolved Hide resolved
src/algokit_utils/_dispenser_api.py Outdated Show resolved Hide resolved
BREAKING CHANGE: Adding new client class for interacting with TestNet Dispenser API; Changing output type of ensure_funded method
@aorumbayev aorumbayev changed the title feat: adding support for interacting with dispenser api on testnet via ensure_funded feat: adding support for interacting with dispenser api on testnet via ensure_funded; api client class Oct 2, 2023
src/algokit_utils/dispenser_api.py Show resolved Hide resolved
docs/source/capabilities/dispenser-client.md Outdated Show resolved Hide resolved
docs/source/capabilities/dispenser-client.md Outdated Show resolved Hide resolved
docs/source/capabilities/dispenser-client.md Show resolved Hide resolved
docs/source/capabilities/transfer.md Show resolved Hide resolved
src/algokit_utils/_ensure_funded.py Outdated Show resolved Hide resolved
@aorumbayev aorumbayev merged commit 4f1f057 into main Oct 3, 2023
2 checks passed
@aorumbayev aorumbayev deleted the feat/ensure_funded_api branch October 3, 2023 12:06
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.

3 participants