Skip to content

Commit

Permalink
bug: fix avs directory init
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Aug 6, 2024
1 parent 66c0054 commit b86879d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions chainio/clients/elcontracts/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func BuildClients(
elContractBindings.DelegationManager,
elContractBindings.StrategyManager,
elContractBindings.RewardsCoordinator,
elContractBindings.AvsDirectory,
elContractBindings.StrategyManagerAddr,
elChainReader,
client,
Expand Down
4 changes: 4 additions & 0 deletions chainio/clients/elcontracts/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -64,6 +65,7 @@ func NewChainWriter(
strategyManager: strategyManager,
strategyManagerAddr: strategyManagerAddr,
rewardsCoordinator: rewardsCoordinator,
avsDirectory: avsDirectory,
elChainReader: elChainReader,
logger: logger,
ethClient: ethClient,
Expand Down Expand Up @@ -104,6 +106,7 @@ func BuildELChainWriter(
elContractBindings.DelegationManager,
elContractBindings.StrategyManager,
elContractBindings.RewardsCoordinator,
elContractBindings.AvsDirectory,
elContractBindings.StrategyManagerAddr,
elChainReader,
ethClient,
Expand Down Expand Up @@ -142,6 +145,7 @@ func NewWriterFromConfig(
elContractBindings.DelegationManager,
elContractBindings.StrategyManager,
elContractBindings.RewardsCoordinator,
elContractBindings.AvsDirectory,
elContractBindings.StrategyManagerAddr,
elChainReader,
ethClient,
Expand Down

0 comments on commit b86879d

Please sign in to comment.