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

Pritam/light hotspot json rpc is back #185

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

pritamghanghas
Copy link
Contributor

Issue

How
Brought back json rpc client.

Screenshots

References

Checklist

  • Tests added
  • Cleaned up commit history (rebase!)
  • Documentation added
  • Thought about variable and method names

@pritamghanghas pritamghanghas requested a review from a team as a code owner August 25, 2022 11:55
url = "https://fake_url"
responses.add(responses.POST, url, json=data, status=status)
resp = requests.post(url)
print(resp.json())
Copy link
Contributor

Choose a reason for hiding this comment

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

remove print

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is in test code. Probably can be left as debug statement.

* bring back json rpc client so that pyhelper remains compatible
with both miner and gateway client API during transition.
@pritamghanghas pritamghanghas force-pushed the pritam/light-hotspot-json-rpc-is-back branch from 7fed19a to d638625 Compare August 26, 2022 08:23
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pritamghanghas pritamghanghas merged commit 19255b0 into light-hotspot Aug 26, 2022
@pritamghanghas pritamghanghas deleted the pritam/light-hotspot-json-rpc-is-back branch August 26, 2022 12:25
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.

2 participants