Update e2e_convert_cosmos_coins_test.go

This commit is contained in:
Volodymyr Buhai 2025-01-03 20:00:51 +02:00 committed by GitHub
parent 85c221c3a1
commit 58a83caddc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,8 +34,7 @@ const initialCosmosCoinConversionDenomFunds = int64(1e4)
func setupConvertToCoinTest(
suite *IntegrationTestSuite, accountName string,
) (denom string, initialFunds sdk.Coins, user *testutil.SigningAccount) {
// we expect a denom to be registered to the allowed denoms param
// and for the funded account to have a balance for that denom
// Query for allowed denoms from parameters
params, err := suite.ZgChain.Grpc.Query.Evmutil.Params(
context.Background(),
&evmutiltypes.QueryParamsRequest{},