-
Notifications
You must be signed in to change notification settings - Fork 34
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 supply offsets to genesis #253
Conversation
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.
Good catch! LGTM
Just added a fix on updating comments
Ah we need to fix migration est before merging(has hard coded genesis field) |
|
||
supplyOffsets := []types.GenesisSupplyOffset{} | ||
for ; iterator.Valid(); iterator.Next() { | ||
supplyOffset := types.GenesisSupplyOffset{ |
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.
nit: can we add a constructor for GenesisSupplyOffset
?
…-labs/cosmos-sdk into dev/add_supply_offset_to_genesis
* Add supply offsets to genesis * Fix comments * Fix migration test * Fix test Co-authored-by: mattverse <mattpark1028@gmail.com> (cherry picked from commit 46bb624) # Conflicts: # proto/cosmos/gov/v1beta1/gov.proto
* Add supply offsets to genesis * Fix comments * Fix migration test * Fix test Co-authored-by: mattverse <mattpark1028@gmail.com> (cherry picked from commit 46bb624) # Conflicts: # proto/cosmos/gov/v1beta1/gov.proto Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
Description
Bug that came up in epoch testing, we didn't add supply offsets to genesis.
(Also we should get supply offsets upstreamed to the SDK)
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...
!
to the type prefix if API or client breaking changeCHANGELOG.md
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...
!
in the type prefix if API or client breaking change