refactor(bank): move bank balances to use collections (#15327)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user