Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: config overwrite ignores app.toml values #7233

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented Jan 2, 2024

Closes: #XXX

What is the purpose of the change

Previous PR that created config overwrite caused app.toml values being dropped when starting up osmosisd. This PR fixes the issue by creating a new viper copy that loads the config.toml values while preserving the original contents.

Testing and Verifying

Tested locally

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

  • Specification (x/{module}/README.md)
  • Osmosis documentation site
  • Code comments?
  • N/A

@p0mvn p0mvn added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v21.x backport patches to v21.x branch labels Jan 2, 2024
@p0mvn p0mvn force-pushed the roman/fix-config-overwrite branch from 592d7a8 to 06cf429 Compare January 2, 2024 22:11
@p0mvn p0mvn marked this pull request as ready for review January 2, 2024 22:19
Copy link
Member

@czarcas7ic czarcas7ic left a comment

Choose a reason for hiding this comment

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

ACK

@p0mvn p0mvn merged commit 759eaf2 into main Jan 3, 2024
1 check passed
@p0mvn p0mvn deleted the roman/fix-config-overwrite branch January 3, 2024 01:59
@p0mvn p0mvn restored the roman/fix-config-overwrite branch January 3, 2024 03:21
@p0mvn p0mvn added A:backport/v21.x backport patches to v21.x branch and removed A:backport/v21.x backport patches to v21.x branch labels Jan 3, 2024
@p0mvn p0mvn added A:backport/v21.x backport patches to v21.x branch and removed A:backport/v21.x backport patches to v21.x branch labels Jan 3, 2024
mergify bot pushed a commit that referenced this pull request Jan 3, 2024
@github-actions github-actions bot mentioned this pull request Apr 15, 2024
@github-actions github-actions bot mentioned this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v21.x backport patches to v21.x branch V:state/compatible/backport State machine compatible PR, should be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants