-
Notifications
You must be signed in to change notification settings - Fork 589
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
Conversation
if len(tick.UptimeTrackers.List) != 0 { | ||
newTickInfo.UptimeTrackers = tick.UptimeTrackers | ||
} | ||
|
||
return genesis.FullTick{ | ||
PoolId: poolId, | ||
TickIndex: tickIndex, | ||
Info: tickValue, | ||
}, nil | ||
return newTickInfo, nil |
There was a problem hiding this comment.
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
// 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) |
There was a problem hiding this comment.
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
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! |
Now that we have the major version up, we can continue working on this. |
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! |
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
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)