Skip to content

revert wallet level historical balance call #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

lizard-boy
Copy link

What changed? Why?

revert wallet level historical balance call to avoid confusion

Qualified Impact

@lizard-boy
Copy link
Author

@greptileai

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This pull request reverts the addition of the listHistoricalBalances method at the wallet level to avoid confusion, as documented in the CHANGELOG.md file under the 'Unreleased' section.

  • Removed listHistoricalBalances method from Wallet class in src/coinbase/wallet.ts
  • Deleted corresponding test suite for listHistoricalBalances in src/tests/wallet_test.ts
  • Updated CHANGELOG.md to reflect the reversion under the 'Unreleased' section
  • This change may impact code that was using the wallet-level historical balance functionality

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

@@ -2,6 +2,10 @@

## Unreleased

### Reverted

- Remove `listHistoricalBalances` wallet method to avoid confusion.
Copy link

Choose a reason for hiding this comment

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

style: Consider adding a brief explanation of why this might cause confusion, e.g., '(historical balances are more accurately tracked at the address level)'

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