Skip to content

Commit

Permalink
fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
biemoh committed Dec 11, 2024
1 parent fe835d5 commit 7cb5f13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ func (s *E2ETestSuite) configureGenesisDebugExport() {
t.Setenv("EXPORT_GENESIS_CHAIN", genesisChainName)
}

// initalizeRelayerPool pre-loads the relayer pool with n relayers.
// initializeRelayerPool pre-loads the relayer pool with n relayers.
// this is a workaround due to the restriction on relayer creation during the test
// ref: https://github.com/strangelove-ventures/interchaintest/issues/1153
// if the above issue is resolved, it should be possible to lazily create relayers in each test.
func (s *E2ETestSuite) initalizeRelayerPool(n int) []ibc.Relayer {
func (s *E2ETestSuite) initializeRelayerPool(n int) []ibc.Relayer {
var relayers []ibc.Relayer
for i := 0; i < n; i++ {
relayers = append(relayers, relayer.New(s.T(), *LoadConfig().GetActiveRelayerConfig(), s.logger, s.DockerClient, s.network))
Expand All @@ -181,7 +181,7 @@ func (s *E2ETestSuite) SetupChains(ctx context.Context, channelOptionsModifier C

s.chains = s.createChains(chainOptions)

s.relayerPool = s.initalizeRelayerPool(chainOptions.RelayerCount)
s.relayerPool = s.initializeRelayerPool(chainOptions.RelayerCount)

ic := s.newInterchain(s.relayerPool, s.chains, channelOptionsModifier)

Expand Down

0 comments on commit 7cb5f13

Please sign in to comment.