celestia-node icon indicating copy to clipboard operation
celestia-node copied to clipboard

refactor(daser): use functional options pattern to configure daser

Open derrandz opened this issue 2 years ago • 0 comments

Overview

The DAS module is currently reliant on default constant global variables acting as configuration variables.

This makes changing configuration values for the DAS module non-trivial, as it requires code changes and binary re-building.

In this PR, we refactor the global configuration variables used in the DAS module to use the functional options pattern, which will trivialize the process of configuring a Celestia node.

Reference Issue

#1063 #709

derrandz avatar Oct 12 '22 12:10 derrandz