refactor(bank): move bank balances to use collections (#15327)

This commit is contained in:
testinginprod
2023-04-11 13:06:04 +00:00
committed by GitHub
parent 3d1a0b8840
commit 7ab0dfc494
28 changed files with 230 additions and 354 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ package rpc_test
import (
"context"
"fmt"
"github.com/cosmos/cosmos-sdk/types/address"
"strconv"
"testing"
@@ -112,7 +113,7 @@ func (s *IntegrationTestSuite) TestQueryABCIHeight() {
req := abci.RequestQuery{
Path: fmt.Sprintf("store/%s/key", banktypes.StoreKey),
Height: tc.reqHeight,
Data: banktypes.CreateAccountBalancesPrefix(val.Address),
Data: address.MustLengthPrefix(val.Address),
Prove: true,
}