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

api: Regenerate client interfaces for timestamp, ready, and simulate endpoints #513

Merged
merged 29 commits into from
Apr 28, 2023

Conversation

algochoi
Copy link
Contributor

@algochoi algochoi commented Apr 20, 2023

This PR mostly uses the generator to generate the timestamp offset, ready, and simulate endpoints.

Also implements tests for the timestamp and ready endpoint.

.test-env Outdated Show resolved Hide resolved
.test-env Outdated
@@ -1,6 +1,6 @@
# Configs for testing repo download:
SDK_TESTING_URL="https://github.com/algorand/algorand-sdk-testing"
SDK_TESTING_BRANCH="master"
SDK_TESTING_BRANCH="path-unit-tests"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

todo: revert back to master

@algochoi algochoi changed the title algod: Dev mode timestamp endpoint algod: Dev mode timestamp and ready endpoint Apr 25, 2023
Comment on lines 59 to 61
s.Step(`^we make a SetSyncRound call against round (\d+)$`, weMakeASetSyncRoundCallAgainstRound)
s.Step(`^we make a GetSyncRound call$`, weMakeAGetSyncRoundCall)
s.Step(`^we make a UnsetSyncRound call$`, weMakeAUnsetSyncRoundCall)
Copy link
Contributor

Choose a reason for hiding this comment

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

There they are. Should be able to add in unit.sync.

@winder
Copy link
Contributor

winder commented Apr 26, 2023

Did the simulate endpoint fail to generate?

@winder winder changed the title algod: Dev mode timestamp and ready endpoint api: Dev mode timestamp and ready endpoint Apr 26, 2023
@algochoi algochoi marked this pull request as ready for review April 27, 2023 19:03
@algochoi algochoi changed the title api: Dev mode timestamp and ready endpoint api: Regenerate client interfaces for timestamp, ready, and simulate endpoints Apr 28, 2023
@algochoi algochoi requested review from winder and ahangsu April 28, 2023 13:40
Copy link
Contributor

@ahangsu ahangsu left a comment

Choose a reason for hiding this comment

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

seems right on simulation part

@winder winder merged commit 74a4694 into develop Apr 28, 2023
@algochoi algochoi deleted the devmode-timestamp branch April 28, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants