-
Notifications
You must be signed in to change notification settings - Fork 35
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: add old supply offset functions #629
Conversation
This comment has been minimized.
This comment has been minimized.
|
||
// SupplyOffKeyOld is a Osmosis specific key that handles supply offsets pre v0.50 | ||
// TODO: Remove in the v28 upgrade | ||
SupplyOffsetKeyOld = []byte{0x88} |
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.
I just want to verify that you checked NewPrefix 88 does not collide with []byte{0x88}
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.
Yeah I did, this is the bug
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.
Ah, just understood, thanks
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.
ACK, we might want to add this to Osmosis specific changes on changelog
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.
LGTM
Co-authored-by: Matt, Park <[email protected]>
Description
Exposing functions to allow Osmosis to access the old supply offsets
Osmosis PR => osmosis-labs/osmosis#8751