Skip to content

Commit

Permalink
change func name
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Dec 18, 2024
1 parent 347a775 commit 207a6bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/ccip/changeset/cs_prerequisites.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func WithUSDCEnabled() PrerequisiteOpt {
}
}

func WithMulticall3() PrerequisiteOpt {
func WithMultiCall3Enabled() PrerequisiteOpt {
return func(o *DeployPrerequisiteContractsOpts) {
o.Multicall3Enabled = true
}
Expand Down
3 changes: 2 additions & 1 deletion deployment/ccip/changeset/test_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/smartcontractkit/chainlink-common/pkg/logger"
jobv1 "github.com/smartcontractkit/chainlink-protos/job-distributor/v1/job"
"github.com/smartcontractkit/chainlink-testing-framework/lib/utils/testcontext"

"github.com/smartcontractkit/chainlink/deployment/ccip/changeset/internal"
"github.com/smartcontractkit/chainlink/v2/core/capabilities/ccip/types"

Expand Down Expand Up @@ -330,7 +331,7 @@ func NewEnvironmentWithJobsAndContracts(t *testing.T, tc *TestConfigs, tEnv Test
opts = append(opts, WithUSDCEnabled())
}
if tc.IsMultiCall3 {
opts = append(opts, WithMulticall3())
opts = append(opts, WithMultiCall3Enabled())
}
}
prereqCfg = append(prereqCfg, DeployPrerequisiteConfigPerChain{
Expand Down
2 changes: 1 addition & 1 deletion deployment/ccip/changeset/v1_5/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func NewEnvironment(t *testing.T, tc *changeset.TestConfigs, tEnv changeset.Test
opts = append(opts, changeset.WithUSDCEnabled())
}
if tc.IsMultiCall3 {
opts = append(opts, changeset.WithMulticall3())
opts = append(opts, changeset.WithMultiCall3Enabled())
}
}
opts = append(opts, changeset.WithLegacyDeployment(changeset.LegacyDeploymentConfig{
Expand Down

0 comments on commit 207a6bc

Please sign in to comment.