diff --git a/integration-tests/load/vrfv2/vrfv2_test.go b/integration-tests/load/vrfv2/vrfv2_test.go index 6fce670bdb9..4fcf7da125b 100644 --- a/integration-tests/load/vrfv2/vrfv2_test.go +++ b/integration-tests/load/vrfv2/vrfv2_test.go @@ -120,7 +120,7 @@ func TestVRFV2Performance(t *testing.T) { require.NoError(t, err, vrfv2_actions.ErrWaitTXsComplete) } l.Info(). - Str("Coordinator", vrfv2Contracts.Coordinator.Address()). + Str("Coordinator", cfg.ExistingEnvConfig.CoordinatorAddress). Int("Number of Subs to create", vrfv2Config.NumberOfSubToCreate). Msg("Creating and funding subscriptions, deploying and adding consumers to subs") subIDs, err = vrfv2_actions.CreateFundSubsAndAddConsumers( diff --git a/integration-tests/load/vrfv2plus/vrfv2plus_test.go b/integration-tests/load/vrfv2plus/vrfv2plus_test.go index b74a8f1d01c..89f300ed396 100644 --- a/integration-tests/load/vrfv2plus/vrfv2plus_test.go +++ b/integration-tests/load/vrfv2plus/vrfv2plus_test.go @@ -8,7 +8,6 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/kelseyhightower/envconfig" "github.com/rs/zerolog" @@ -122,7 +121,7 @@ func TestVRFV2PlusPerformance(t *testing.T) { require.NoError(t, err, vrfv2plus.ErrWaitTXsComplete) } l.Info(). - Str("Coordinator", vrfv2PlusContracts.Coordinator.Address()). + Str("Coordinator", cfg.ExistingEnvConfig.CoordinatorAddress). Int("Number of Subs to create", vrfv2PlusConfig.NumberOfSubToCreate). Msg("Creating and funding subscriptions, deploying and adding consumers to subs") subIDs, err = vrfv2plus.CreateFundSubsAndAddConsumers( @@ -316,13 +315,7 @@ func FundNodesIfNeeded(cfg *PerformanceConfig, client blockchain.EVMClient, l ze Str("Should have at least", fundingAtLeast.String()). Str("Funding Amount in ETH", fundingToSendEth.String()). Msg("Funding Node's Sending Key") - gasEstimates, err := client.EstimateGas(ethereum.CallMsg{ - To: &address, - }) - if err != nil { - return err - } - err = client.Fund(sendingKey, fundingToSendEth, gasEstimates) + err := actions.FundAddress(client, sendingKey, fundingToSendEth) if err != nil { return err }