Skip to content

Conversation

@cmwaters
Copy link
Contributor

Description
Tested this using the single-node.sh script in celestia-app. Note that the moniker should stay as it's set in the init and sometimes used by the CLI

Closes: #1518

@evan-forbes
Copy link
Member

does this break the overriding of configs from app, where now we have to modify things here?

https://github.com/celestiaorg/celestia-app/blob/be15966a34b2e29861e0a31f528438ffd6c7d1a2/app/default_overrides.go#L267-L291

@cmwaters
Copy link
Contributor Author

does this break the overriding of configs from app, where now we have to modify things here?

https://github.com/celestiaorg/celestia-app/blob/be15966a34b2e29861e0a31f528438ffd6c7d1a2/app/default_overrides.go#L267-L291

It shouldn't. If a field is empty the default is used which I believe should be the default we override with unless we force write the new default values

@evan-forbes
Copy link
Member

don't think we should merge this into v0.38 (originally made sense to target ofc but we've since switched)

@evan-forbes
Copy link
Member

I think this could break some validator setup scripts, and people use sed to change configs

@cmwaters
Copy link
Contributor Author

I think this could break some validator setup scripts, and people use sed to change configs

Yes I can imagine it will (for example setting up state sync with the trusted height and hash). If we don't want this feature, I can close the PR. It just makes it difficult to tweak defaults (which we've done a couple times in the past)

Copy link
Member

@ninabarbakadze ninabarbakadze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still want this? @cmwaters

@cmwaters
Copy link
Contributor Author

cmwaters commented Nov 6, 2025

It's not relevant for now. I think we have update-config and the overrides in the short term. I think longer term requires more of a discussion

@evan-forbes evan-forbes added the WS: v7 issues related to v7 label Dec 1, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in core/app Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WS: v7 issues related to v7

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

Allow to change defaults in config.toml

4 participants