mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-02 14:55:17 +00:00
Update e2e_convert_cosmos_coins_test.go
This commit is contained in:
parent
559d1beb03
commit
85c221c3a1
@ -20,6 +20,17 @@ import (
|
||||
|
||||
const initialCosmosCoinConversionDenomFunds = int64(1e4)
|
||||
|
||||
// setupConvertToCoinTest prepares a test environment for cosmos coin conversion tests.
|
||||
// It retrieves allowed cosmos denoms from parameters, sets up initial funds, and creates a funded test account.
|
||||
//
|
||||
// Parameters:
|
||||
// - suite: The test suite instance
|
||||
// - accountName: Name of the test account to be created
|
||||
//
|
||||
// Returns:
|
||||
// - denom: The cosmos denom used for testing
|
||||
// - initialFunds: Initial funds allocated to the test account
|
||||
// - user: The created and funded test account
|
||||
func setupConvertToCoinTest(
|
||||
suite *IntegrationTestSuite, accountName string,
|
||||
) (denom string, initialFunds sdk.Coins, user *testutil.SigningAccount) {
|
||||
|
Loading…
Reference in New Issue
Block a user