Skip to content

Commit

Permalink
Merge pull request #1996 from OffchainLabs/chaininfo-dac-default
Browse files Browse the repository at this point in the history
Enable data availability if chaininfo dac is enabled
  • Loading branch information
joshuacolvin0 authored Dec 5, 2023
2 parents 4a3cbe2 + 4230e61 commit f5211ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,8 @@ func applyChainParameters(ctx context.Context, k *koanf.Koanf, chainId uint64, c
chainDefaults["node.data-availability.enable"] = true
chainDefaults["node.data-availability.rest-aggregator.enable"] = true
chainDefaults["node.data-availability.rest-aggregator.online-url-list"] = chainInfo.DasIndexUrl
} else if chainInfo.ChainConfig.ArbitrumChainParams.DataAvailabilityCommittee {
chainDefaults["node.data-availability.enable"] = true
}
if !chainInfo.HasGenesisState {
chainDefaults["init.empty"] = true
Expand Down

0 comments on commit f5211ab

Please sign in to comment.