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 CL Genesis Reduction Bug #5675

Closed
wants to merge 2 commits into from
Closed

Fix CL Genesis Reduction Bug #5675

wants to merge 2 commits into from

Conversation

mattverse
Copy link
Member

Closes: #XXX

What is the purpose of the change

Reverts the revert that happened in #5631, also apply fix to the initial bug

Testing and Verifying

Testing in progress, thus keeping this as draft

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

Comment on lines +84 to +88
if len(tick.UptimeTrackers.List) != 0 {
newTickInfo.UptimeTrackers = tick.UptimeTrackers
}

return genesis.FullTick{
PoolId: poolId,
TickIndex: tickIndex,
Info: tickValue,
}, nil
return newTickInfo, nil
Copy link
Member Author

Choose a reason for hiding this comment

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

New fix that has been applied for the export process

Comment on lines +38 to +41
// due to how proto marshalling / unmarshalling works, we need to initialize the list
// with nil values.
if len(tick.Info.UptimeTrackers.List) == 0 {
tick.Info = InitializeTickUptimeTrackers(tick.Info)
Copy link
Member Author

Choose a reason for hiding this comment

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

new logic that has been added for the init process

@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you!

@github-actions github-actions bot added the Stale label Jul 14, 2023
@mattverse mattverse removed the Stale label Jul 15, 2023
@mattverse
Copy link
Member Author

Now that we have the major version up, we can continue working on this.
Fix is applied and node testing remains, I will continue node testing

@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you!

@github-actions github-actions bot added the Stale label Jul 30, 2023
@github-actions github-actions bot closed this Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant