Skip to content

Commit

Permalink
fix docker env for live networks (#13409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel authored Jun 5, 2024
1 parent 59c74da commit f18e1d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion integration-tests/docker/test_env/test_env_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,11 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {

// Start Chainlink Nodes
if b.clNodesCount > 0 {
// needed for live networks
if len(b.te.EVMNetworks) == 0 {
b.te.EVMNetworks = append(b.te.EVMNetworks, &networkConfig)
}

dereferrencedEvms := make([]blockchain.EVMNetwork, 0)
for _, en := range b.te.EVMNetworks {
network := *en
Expand Down Expand Up @@ -559,7 +564,7 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {
b.defaultNodeCsaKeys = nodeCsaKeys
}

if len(b.privateEthereumNetworks) > 0 && b.clNodesCount > 0 && b.ETHFunds != nil {
if b.clNodesCount > 0 && b.ETHFunds != nil {
if b.hasEVMClient {
b.te.ParallelTransactions(true)
defer b.te.ParallelTransactions(false)
Expand Down

0 comments on commit f18e1d9

Please sign in to comment.