Skip to content

fix InitializeConsumerId() in UPGRADING.md #2576

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

Open
wants to merge 1 commit into
base: release/v6.4.x
Choose a base branch
from

Conversation

assafmo
Copy link

@assafmo assafmo commented Mar 13, 2025

GetParams() returns an empty stakingtypes.Params which SetParams() doesn't accept.

  • Replace GetParams() with GetConsumerParams()
  • Remove error check and error return value from function (no longer needed)

[GetParams() returns an empty stakingtypes.Params](https://github.com/cosmos/interchain-security/blob/v6.4.1/x/ccv/consumer/keeper/params.go#L31-L37) which SetParams() doesn't accept.

- Replace GetParams with GetConsumerParams
- Remove error check and error return value from function (no longer needed)
@assafmo assafmo requested review from a team March 13, 2025 13:03
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.

1 participant