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

Remove v1 algod dependencies from cucumber tests #249

Merged
merged 7 commits into from
Nov 23, 2022
Merged

Conversation

algochoi
Copy link
Contributor

@algochoi algochoi commented Nov 9, 2022

This PR makes changes to the cucumber steps so that v1 algod tests are removed and some v1 steps are changed to use v2 implementations.

Changes:

  • algod.feature: Only retains version agnostic endpoint tests (/versions and /health). The rest should be covered by v2algodclient_paths.feature tests.
  • Change the v1 txn waiting step the transaction should go through to the v2 waitForTransaction step I wait for the transaction to be confirmed.
SDK Link Link
Go algorand/go-algorand-sdk#434
Java algorand/java-algorand-sdk#425
Python algorand/py-algorand-sdk#400
JS algorand/js-algorand-sdk#693

Closes #247

Copy link
Contributor

@tzaffi tzaffi left a comment

Choose a reason for hiding this comment

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

This looks good so far. I'm holding off on final approval as I'd like to also review a companion SDK PR when it's ready to look at so I have a better sense of the impact.

@algochoi algochoi marked this pull request as ready for review November 17, 2022 15:09
@algochoi algochoi closed this Nov 17, 2022
@algochoi algochoi reopened this Nov 17, 2022
@algochoi algochoi requested review from tzaffi November 17, 2022 21:09
Copy link
Contributor

@tzaffi tzaffi left a comment

Choose a reason for hiding this comment

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

LGTM

@algochoi algochoi merged commit a59b19a into master Nov 23, 2022
@algochoi algochoi deleted the remove-v1-tests branch November 23, 2022 16:56
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.

SDKs: Migrate tests from algod v1 to v2 APIs
3 participants