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

Add getNrgPrice Java API call. #24

Merged
merged 3 commits into from
May 22, 2018
Merged

Add getNrgPrice Java API call. #24

merged 3 commits into from
May 22, 2018

Conversation

aionick
Copy link
Contributor

@aionick aionick commented May 22, 2018

Description

Please include a brief summary of the change that this pull request proposes. Include any relevant motivation and context. List any dependencies required for this change.

  • The NrgOracle class provides a method to recommend a user an energy price to use, so far only web3 API gives access to this and not Java API. I've added a call to the Java API to access this value. See my other PR in the aion project for the rest of this functionality.

Fixes Issue # N/A.

Type of change

Insert x into the following checkboxes to confirm (eg. [x]):

  • Bug fix.
  • New feature.
  • Breaking change (a fix or feature that causes existing functionality to not work as expected).
  • Requires documentation update.

Testing

Please describe the tests you used to validate this pull request. Provide any relevant details for test configurations as well as any instructions to reproduce these results.

  • I added a test to the BaseAPITest. Ran through it in debugger a few times.

Verification

Insert x into the following checkboxes to confirm (eg. [x]):

  • I have self-reviewed my own code and conformed to the style guidelines of this project.
  • New and existing tests pass locally with my changes.
  • I have added tests for my fix or feature.
  • I have made appropriate changes to the corresponding documentation.
  • My code generates no new warnings.
  • Any dependent changes have been made.

@AionJayT AionJayT self-requested a review May 22, 2018 20:54
@AionJayT AionJayT merged commit fe02037 into aionnetwork:master May 22, 2018
@aionick aionick deleted the add_nrgPrice branch May 24, 2018 14: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