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

feat: Add convenience method for constructing key to access account's balance for a given denom (backport #12674) #12745

Merged
merged 3 commits into from
Aug 2, 2022

Commits on Jul 27, 2022

  1. feat: Add convenience method for constructing key to access account's…

    … balance for a given denom (#12674)
    
    This PR adds a convenience method for constructing the key necessary to query for the account's balance of a given denom.
    
    I ran into this issue since we are using ABCI query now to perform balance requests because we are also requesting merkle proofs for the returned balance [here](https://github.com/celestiaorg/celestia-node/pull/911/files#diff-0ee31f5a7bd88e9f758e6bebdf3ee36365519e55a451098d9638c39afe5eac42R144).
    
    It would be nice to have a definitive convenience method for constructing the key.
    
    [Ref.](github.com/celestiaorg/celestia-node/pull/911)
    
    (cherry picked from commit a1777a8)
    
    # Conflicts:
    #	CHANGELOG.md
    #	x/bank/legacy/v043/store.go
    #	x/bank/types/keys.go
    renaynay authored and mergify[bot] committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    606a04c View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Update CHANGELOG.md

    tac0turtle committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    f0b7a21 View commit details
    Browse the repository at this point in the history
  2. fix conflict

    tac0turtle committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    17a86bd View commit details
    Browse the repository at this point in the history