Skip to content

Commit 9b950cc

Browse files
committed
fix: correct formatting of namespace fields in config and defaults
1 parent 992a9d6 commit 9b950cc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ type DAConfig struct {
153153
GasMultiplier float64 `mapstructure:"gas_multiplier" yaml:"gas_multiplier" comment:"Multiplier applied to gas price when retrying failed DA submissions. Values > 1 increase gas price on retries to improve chances of inclusion."`
154154
SubmitOptions string `mapstructure:"submit_options" yaml:"submit_options" comment:"Additional options passed to the DA layer when submitting data. Format depends on the specific DA implementation being used."`
155155
Namespace string `mapstructure:"namespace" yaml:"namespace" comment:"Namespace ID used when submitting blobs to the DA layer (deprecated, use HeaderNamespace and DataNamespace instead)."`
156-
HeaderNamespace string `mapstructure:"header_namespace" yaml:"header_namespace" comment:"Namespace ID for submitting headers to DA layer."`
157-
DataNamespace string `mapstructure:"data_namespace" yaml:"data_namespace" comment:"Namespace ID for submitting data toDA layer."`
156+
HeaderNamespace string `mapstructure:"header_namespace" yaml:"header_namespace" comment:"Namespace ID for submitting headers to DA layer."`
157+
DataNamespace string `mapstructure:"data_namespace" yaml:"data_namespace" comment:"Namespace ID for submitting data toDA layer."`
158158
BlockTime DurationWrapper `mapstructure:"block_time" yaml:"block_time" comment:"Average block time of the DA chain (duration). Determines frequency of DA layer syncing, maximum backoff time for retries, and is multiplied by MempoolTTL to calculate transaction expiration. Examples: \"15s\", \"30s\", \"1m\", \"2m30s\", \"10m\"."`
159159
StartHeight uint64 `mapstructure:"start_height" yaml:"start_height" comment:"Starting block height on the DA layer from which to begin syncing. Useful when deploying a new chain on an existing DA chain."`
160160
MempoolTTL uint64 `mapstructure:"mempool_ttl" yaml:"mempool_ttl" comment:"Number of DA blocks after which a transaction is considered expired and dropped from the mempool. Controls retry backoff timing."`

pkg/config/defaults.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ var DefaultConfig = Config{
5757
GasPrice: -1,
5858
GasMultiplier: 0,
5959
MaxSubmitAttempts: 30,
60-
Namespace: "",
61-
HeaderNamespace: "rollkit-headers",
62-
DataNamespace: "rollkit-data",
60+
Namespace: "",
61+
HeaderNamespace: "rollkit-headers",
62+
DataNamespace: "rollkit-data",
6363
},
6464
Instrumentation: DefaultInstrumentationConfig(),
6565
Log: LogConfig{

0 commit comments

Comments
 (0)