diff --git a/interchaintest/module_drip_test.go b/interchaintest/module_drip_test.go index 64bbf0dcb..3d468446a 100644 --- a/interchaintest/module_drip_test.go +++ b/interchaintest/module_drip_test.go @@ -27,7 +27,7 @@ func TestJunoDrip(t *testing.T) { }, }...)) - chains := CreateThisBranchChainWithCustomConfig(t, 1, 0, newCfg) + chains := CreateChainWithCustomConfig(t, 1, 0, newCfg) ic, ctx, _, _ := BuildInitialChain(t, chains) // Chains diff --git a/interchaintest/setup.go b/interchaintest/setup.go index 0cddb20cd..b2ec1f018 100644 --- a/interchaintest/setup.go +++ b/interchaintest/setup.go @@ -101,7 +101,7 @@ func junoEncoding() *testutil.TestEncodingConfig { func CreateChain(t *testing.T, numVals, numFull int, img ibc.DockerImage) []ibc.Chain { cfg := junoConfig cfg.Images = []ibc.DockerImage{img} - return CreateThisBranchChainWithCustomConfig(t, numVals, numFull, cfg) + return CreateChainWithCustomConfig(t, numVals, numFull, cfg) } // CreateThisBranchChain generates this branch's chain (ex: from the commit) @@ -109,12 +109,12 @@ func CreateThisBranchChain(t *testing.T, numVals, numFull int) []ibc.Chain { return CreateChain(t, numVals, numFull, JunoImage) } -func CreateThisBranchChainWithCustomConfig(t *testing.T, numVals, numFull int, config ibc.ChainConfig) []ibc.Chain { +func CreateChainWithCustomConfig(t *testing.T, numVals, numFull int, config ibc.ChainConfig) []ibc.Chain { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { Name: "juno", ChainName: "juno", - Version: junoVersion, + Version: config.Images[0].Version, ChainConfig: config, NumValidators: &numVals, NumFullNodes: &numFull,