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

Refactor QueryClient and improve status checking #140

Merged
merged 2 commits into from
Mar 12, 2022

Conversation

tombeynon
Copy link
Contributor

Some nodes block the /status endpoint which is what REStake was using to check node availability. Cosmos.directory checks the latest block endpoint instead so this PR matches that behaviour.

Also refactors RestClient -> QueryClient inline with #88, I'm sorry this will probably cause merge issues (@jemrickrioux on #87 too) but needed tidying up.

@tombeynon
Copy link
Contributor Author

Also resolves #136 and speeds up autostake script for non-operator networks

@tombeynon tombeynon merged commit c7f1ac6 into master Mar 12, 2022
@tombeynon tombeynon deleted the refactor-rest-client branch March 12, 2022 19:44
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.

1 participant