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

removed bad casts in RPC methods[AKI-409] #994

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Conversation

dev-dennis-guye
Copy link

Description

Removes casts from the generic Block type to the POW AionBlock type which caused failures in several RPC methods

Fixes Issue # AKI-409

Type of change

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

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

Testing

Ran from the command line curl localhost:8545 -H 'Content-Type: application/json' -s -d '{"json-Mc":"2.0","method":"eth_getBlockByNumber","params": {"block":82707}}' | jq

@dev-dennis-guye dev-dennis-guye force-pushed the AKI-409 branch 3 times, most recently from f628629 to 3ed054e Compare September 26, 2019 19:25
 -returned last pow block in stratum_getMiningInfo
 -ignored pos case in stratum_getHeaderByBlockNumber
@dev-dennis-guye dev-dennis-guye merged commit 3285971 into master Oct 1, 2019
@AionJayT AionJayT deleted the AKI-409 branch October 1, 2019 21:29
@AionJayT AionJayT added this to the 0.4.2 milestone Oct 7, 2019
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