Skip to content

Commit

Permalink
fix node funding
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier committed Aug 15, 2024
1 parent af3eb42 commit f91a18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/testsetups/keeper_benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (k *KeeperBenchmarkTest) Setup(env *environment.Environment, config tt.Keep
for index := range keysToFund {
// Fund chainlink nodes
nodesToFund := k.chainlinkNodes
if inputs.RegistryVersions[index] == ethereum.RegistryVersion_2_0 || inputs.RegistryVersions[index] == ethereum.RegistryVersion_2_1 || inputs.RegistryVersions[index] == ethereum.RegistryVersion_2_2 {
if inputs.RegistryVersions[index] >= ethereum.RegistryVersion_2_0 {
nodesToFund = k.chainlinkNodes[1:]
}
err = actions.FundChainlinkNodesAtKeyIndexFromRootAddress(k.log, k.chainClient, contracts.ChainlinkK8sClientToChainlinkNodeWithKeysAndAddress(nodesToFund), k.Inputs.ChainlinkNodeFunding, index)
Expand Down

0 comments on commit f91a18d

Please sign in to comment.