Skip to content

Commit

Permalink
disable blob reader for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Mar 7, 2024
1 parent acf6013 commit 5d07318
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,17 +372,17 @@ func mainImpl() int {
if err != nil {
log.Crit("failed to get L1 headerreader", "err", err)
}
if !l1Reader.IsParentChainArbitrum() && !nodeConfig.Node.Dangerous.DisableBlobReader {
if nodeConfig.ParentChain.BlobClient.BeaconUrl == "" {
flag.Usage()
log.Crit("a beacon chain RPC URL is required to read batches, but it was not configured (CLI argument: --parent-chain.blob-client.beacon-url [URL])")
}
blobClient, err := headerreader.NewBlobClient(nodeConfig.ParentChain.BlobClient, l1Client)
if err != nil {
log.Crit("failed to initialize blob client", "err", err)
}
blobReader = blobClient
}
// if !l1Reader.IsParentChainArbitrum() && !nodeConfig.Node.Dangerous.DisableBlobReader {
// if nodeConfig.ParentChain.BlobClient.BeaconUrl == "" {
// flag.Usage()
// log.Crit("a beacon chain RPC URL is required to read batches, but it was not configured (CLI argument: --parent-chain.blob-client.beacon-url [URL])")
// }
// blobClient, err := headerreader.NewBlobClient(nodeConfig.ParentChain.BlobClient, l1Client)
// if err != nil {
// log.Crit("failed to initialize blob client", "err", err)
// }
// blobReader = blobClient
// }
}

if nodeConfig.Node.Staker.OnlyCreateWalletContract {
Expand Down

0 comments on commit 5d07318

Please sign in to comment.