Update e2e_convert_cosmos_coins_test.go

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

View File

@ -39,10 +39,10 @@ func setupConvertToCoinTest(
context.Background(),
&evmutiltypes.QueryParamsRequest{},
)
suite.NoError(err)
suite.GreaterOrEqual(
suite.Require().NoError(err, "failed to query evmutil params")
suite.Require().GreaterOrEqual(
len(params.Params.AllowedCosmosDenoms), 1,
"0g-chain expected to have at least one AllowedCosmosDenom for ERC20 conversion",
"0g-chain must have at least one AllowedCosmosDenom for ERC20 conversion",
)
tokenInfo := params.Params.AllowedCosmosDenoms[0]