Skip to content

Commit

Permalink
compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Sep 28, 2023
1 parent ca6bcd9 commit f057105
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (

"github.com/smartcontractkit/chainlink-relay/pkg/loop"
ctfClient "github.com/smartcontractkit/chainlink/integration-tests/client"

"github.com/smartcontractkit/chainlink/v2/core/chains/evm"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/client"
v2 "github.com/smartcontractkit/chainlink/v2/core/chains/evm/config/toml"
Expand Down Expand Up @@ -274,10 +275,12 @@ func setupNodeCCIP(
}
c.Log.Level = &loglevel
c.Feature.CCIP = &trueRef
c.Feature.UICSAKeys = &trueRef
c.OCR.Enabled = &falseRef
c.OCR.DefaultTransactionQueueDepth = pointer.Uint32(200)
c.OCR2.Enabled = &trueRef
c.Feature.LogPoller = &trueRef
c.P2P.V1.Enabled = &falseRef
c.P2P.V2.Enabled = &trueRef
c.P2P.V2.DeltaDial = models.MustNewDuration(500 * time.Millisecond)
c.P2P.V2.DeltaReconcile = models.MustNewDuration(5 * time.Second)
Expand Down Expand Up @@ -317,7 +320,7 @@ func setupNodeCCIP(
}
mailMon := utils.NewMailboxMonitor("CCIP")
evmOpts := chainlink.EVMFactoryConfig{
RelayerConfig: &evm.RelayerConfig{
ChainOpts: evm.ChainOpts{
AppConfig: config,
EventBroadcaster: eventBroadcaster,
GenEthClient: func(chainID *big.Int) client.Client {
Expand All @@ -330,14 +333,13 @@ func setupNodeCCIP(
return nil
},
MailMon: mailMon,
DB: db,
},
CSAETHKeystore: simEthKeyStore,
}
loopRegistry := plugins.NewLoopRegistry(lggr.Named("LoopRegistry"))
relayerFactory := chainlink.RelayerFactory{
Logger: lggr,
DB: db,
QConfig: config.Database(),
LoopRegistry: loopRegistry,
GRPCOpts: loop.GRPCOpts{},
}
Expand All @@ -358,13 +360,12 @@ func setupNodeCCIP(
RelayerChainInteroperators: relayChainInterops,
Logger: lggr,
ExternalInitiatorManager: nil,
CloseLogger: func() error {
return nil
},
UnrestrictedHTTPClient: &http.Client{},
RestrictedHTTPClient: &http.Client{},
AuditLogger: audit.NoopLogger,
MailMon: mailMon,
CloseLogger: lggr.Sync,
UnrestrictedHTTPClient: &http.Client{},
RestrictedHTTPClient: &http.Client{},
AuditLogger: audit.NoopLogger,
MailMon: mailMon,
LoopRegistry: plugins.NewLoopRegistry(lggr),
})
require.NoError(t, err)
require.NoError(t, app.GetKeyStore().Unlock("password"))
Expand Down

0 comments on commit f057105

Please sign in to comment.