Skip to content

fix(blockchain): return get_total_supply rpc result + unit tests - #50

Closed
MikeGarciaAGM wants to merge 3 commits into
harmony-one:masterfrom
MikeGarciaAGM:fix-return-total-supply-result-1780233606754
Closed

fix(blockchain): return get_total_supply rpc result + unit tests#50
MikeGarciaAGM wants to merge 3 commits into
harmony-one:masterfrom
MikeGarciaAGM:fix-return-total-supply-result-1780233606754

Conversation

@MikeGarciaAGM

Copy link
Copy Markdown

Summary

  • Fix get_total_supply() to return the RPC result value.
  • Preserve existing behavior where result may be None.
  • Add focused unit tests for return-value behavior and missing-result error handling.

Notes

@MikeGarciaAGM

Copy link
Copy Markdown
Author

Closing this in favor of #51 to keep review focused on one PR with the same fix scope + focused tests. Please review #51.

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