diff --git a/chainio/clients/elcontracts/builder.go b/chainio/clients/elcontracts/builder.go index 2c568517..957d3ec0 100644 --- a/chainio/clients/elcontracts/builder.go +++ b/chainio/clients/elcontracts/builder.go @@ -38,6 +38,7 @@ func BuildClients( elContractBindings.DelegationManager, elContractBindings.StrategyManager, elContractBindings.RewardsCoordinator, + elContractBindings.AvsDirectory, elContractBindings.StrategyManagerAddr, elChainReader, client, diff --git a/chainio/clients/elcontracts/writer.go b/chainio/clients/elcontracts/writer.go index acfa03d5..2ad7afcc 100644 --- a/chainio/clients/elcontracts/writer.go +++ b/chainio/clients/elcontracts/writer.go @@ -49,6 +49,7 @@ func NewChainWriter( delegationManager *delegationmanager.ContractDelegationManager, strategyManager *strategymanager.ContractStrategyManager, rewardsCoordinator *rewardscoordinator.ContractIRewardsCoordinator, + avsDirectory *avsdirectory.ContractIAVSDirectory, strategyManagerAddr gethcommon.Address, elChainReader Reader, ethClient eth.HttpBackend, @@ -64,6 +65,7 @@ func NewChainWriter( strategyManager: strategyManager, strategyManagerAddr: strategyManagerAddr, rewardsCoordinator: rewardsCoordinator, + avsDirectory: avsDirectory, elChainReader: elChainReader, logger: logger, ethClient: ethClient, @@ -104,6 +106,7 @@ func BuildELChainWriter( elContractBindings.DelegationManager, elContractBindings.StrategyManager, elContractBindings.RewardsCoordinator, + elContractBindings.AvsDirectory, elContractBindings.StrategyManagerAddr, elChainReader, ethClient, @@ -142,6 +145,7 @@ func NewWriterFromConfig( elContractBindings.DelegationManager, elContractBindings.StrategyManager, elContractBindings.RewardsCoordinator, + elContractBindings.AvsDirectory, elContractBindings.StrategyManagerAddr, elChainReader, ethClient,