interchaintest

package module
v0.0.0-...-cd747c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SedaDenom     = "aseda"
	SedaChainName = "seda"

	SedaRepo = "ghcr.io/sedaprotocol/seda-chain"

	SedaCfg = ibc.ChainConfig{
		Type:                "cosmos",
		Name:                SedaChainName,
		ChainID:             "seda-local-1",
		Images:              []ibc.DockerImage{dockerImage},
		Bin:                 "sedad",
		Bech32Prefix:        "seda",
		Denom:               SedaDenom,
		CoinType:            coinType,
		GasPrices:           fmt.Sprintf("0%s", SedaDenom),
		GasAdjustment:       2.0,
		TrustingPeriod:      "112h",
		NoHostMount:         false,
		SkipGenTx:           false,
		PreGenesis:          nil,
		EncodingConfig:      sedaEncoding(),
		ModifyGenesis:       nil,
		ConfigFileOverrides: nil,
	}

	/* =================================================== */
	/*                   RELAYER CONFIG                    */
	/* =================================================== */
	RlyConfig = types.RelayerConfig{
		Type:    ibc.CosmosRly,
		Name:    "relay",
		Image:   "ghcr.io/cosmos/relayer",
		Version: "main",
	}

	/* =================================================== */
	/*                     GOV CONFIG                      */
	/* =================================================== */
	VotingPeriod     = "15s"
	MaxDepositPeriod = "10s"

	/* =================================================== */
	/*                    WALLET CONFIG                    */
	/* =================================================== */
	GenesisWalletAmount = math.NewInt(10_000_000_000)
)

Functions

func BuildAllChains

func BuildAllChains(t *testing.T, chains []ibc.Chain) (*interchaintest.Interchain, context.Context, *client.Client, string)

func CreateChains

func CreateChains(t *testing.T, numVals, numFullNodes int) []ibc.Chain

CreateChains generates this branch's chain (ex: from the commit)

func CreateChainsWithCustomConfig

func CreateChainsWithCustomConfig(t *testing.T, numVals, numFullNodes int, config ibc.ChainConfig) []ibc.Chain

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL