Skip to content

fix(x/liquid): set Params during InitGenesis#3759

Merged
Eric-Warehime merged 2 commits into
cosmos:mainfrom
arlai-mk:arlai/fix-liquid-params-not-set-at-genesis
May 19, 2025
Merged

fix(x/liquid): set Params during InitGenesis#3759
Eric-Warehime merged 2 commits into
cosmos:mainfrom
arlai-mk:arlai/fix-liquid-params-not-set-at-genesis

Conversation

@arlai-mk

@arlai-mk arlai-mk commented May 19, 2025

Copy link
Copy Markdown
Contributor

Description

Closes: #3757

The InitGenesis function did not set module parameters (Params), which caused the values to fall back to defaults even when custom values were provided in genesis.json.

This change ensures Params are properly initialized from the genesis state.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • Included the correct type prefix in the PR title
  • Targeted the correct branch (see PR Targeting)
  • Provided a link to the relevant issue or specification
  • Reviewed "Files changed" and left comments if necessary
  • Confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • Confirmed the correct type prefix in the PR title
  • Confirmed all author checklist items have been addressed
  • Confirmed that this PR does not change production code

@arlai-mk arlai-mk marked this pull request as ready for review May 19, 2025 04:13
@arlai-mk arlai-mk requested a review from a team as a code owner May 19, 2025 04:13
@Eric-Warehime Eric-Warehime merged commit c6b53f2 into cosmos:main May 19, 2025
14 checks passed
puneet2019 pushed a commit to persistenceOne/gaia that referenced this pull request Sep 17, 2025
* fix(x/liquid): set Params during InitGenesis

* Update Changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: x/liquid InitGenesis not setting Params

2 participants