Skip to content

Commit

Permalink
update host container
Browse files Browse the repository at this point in the history
  • Loading branch information
badgersrus committed Nov 6, 2024
1 parent 05ae7e7 commit 506e3c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions go/host/container/host_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,9 @@ func NewHostContainerFromConfig(parsedConfig *config.HostInputConfig, logger get
obscuroRelevantContracts := []gethcommon.Address{cfg.ManagementContractAddress, cfg.MessageBusAddress}
l1Repo := l1.NewL1Repository(l1Client, obscuroRelevantContracts, logger)
beaconClient := ethadapter.NewBeaconHTTPClient(new(http.Client), cfg.L1BeaconUrl)
beaconFallback := ethadapter.NewBeaconHTTPClient(new(http.Client), cfg.L1BeaconUrl)
beaconFallback := ethadapter.NewBeaconHTTPClient(new(http.Client), cfg.L1BlobArchiveUrl)
// we can add more fallback clients as they become available
fallback := ethadapter.NewArchivalHTTPClient(new(http.Client), cfg.L1BlobArchiveUrl)
blobResolver := l1.NewBlobResolver(ethadapter.NewL1BeaconClient(beaconClient, beaconFallback, fallback))
blobResolver := l1.NewBlobResolver(ethadapter.NewL1BeaconClient(beaconClient, beaconFallback))
return NewHostContainer(cfg, services, aggP2P, l1Client, l1Repo, enclaveClients, mgmtContractLib, ethWallet, rpcServer, logger, metricsService, blobResolver)
}

Expand Down

0 comments on commit 506e3c1

Please sign in to comment.