Skip to content

fix: config overwrite ignores app.toml values#7233

Merged
p0mvn merged 2 commits intomainfrom
roman/fix-config-overwrite
Jan 3, 2024
Merged

fix: config overwrite ignores app.toml values#7233
p0mvn merged 2 commits intomainfrom
roman/fix-config-overwrite

Conversation

@p0mvn
Copy link
Copy Markdown
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
Copy Markdown
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
@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