Update e2e_convert_cosmos_coins_test.go

This commit is contained in:
Volodymyr Buhai 2025-01-03 20:03:41 +02:00 committed by GitHub
parent 1f7139a41d
commit 1f9de5eaa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,9 @@ func setupConvertToCoinTest(
tokenInfo := params.Params.AllowedCosmosDenoms[0]
denom = tokenInfo.CosmosDenom
suite.Require().NotEmpty(denom, "cosmos denom cannot be empty")
// Setup initial funds with both staking denom (for gas) and conversion denom
initialFunds = sdk.NewCoins(
sdk.NewInt64Coin(suite.ZgChain.StakingDenom, 1e5), // gas money
sdk.NewInt64Coin(denom, initialCosmosCoinConversionDenomFunds), // conversion-enabled cosmos coin