Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for PublicNode Sepolia Beaon APIs #2113

Merged
merged 11 commits into from
Nov 6, 2024
Prev Previous commit
update host container
  • Loading branch information
badgersrus committed Nov 6, 2024
commit 506e3c1a0748483bbbf9e6e1d0efea8671ea8806
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
Loading