-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 multisig account pubkeys migration #8788
Conversation
* v0.40.0 final changelog & release notes * Trigger Build
* fix reproducible builds (#8300) * fix library file path (#8301) Co-authored-by: SaReN <[email protected]> Co-authored-by: Alessio Treglia <[email protected]>
From: #8282 Co-authored-by: MD Aleem <[email protected]> Co-authored-by: SaReN <[email protected]>
) (#8373) From: #8273 Co-authored-by: Federico Kunze <[email protected]>
From #8282 Co-authored-by: Robert Zaremba <[email protected]> Co-authored-by: Alessio Treglia <[email protected]>
#8376) From #8291 Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/gogo/protobuf/releases) - [Commits](gogo/protobuf@v1.3.1...v1.3.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
From: #8287 Co-authored-by: Alessio Treglia <[email protected]> Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: SaReN <[email protected]>
From: #8385 Co-authored-by: Alessio Treglia <[email protected]>
From: #8385 Co-authored-by: Alessio Treglia <[email protected]>
* Update gogo proto deps with v1.3.2 security fixes * Regenerate proto files Co-authored-by: Aaron Craelius <[email protected]>
* fix-ibc-client * add changelog Co-authored-by: Segue <[email protected]>
* fix proto generation * merge grpc_gateway into gocosmos_out * change env variable names Co-authored-by: Marko <[email protected]>
* add missing UnpackInterfaces functions * fix build * add tests cc @fedekunze Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: colin axnér <[email protected]> Co-authored-by: Federico Kunze <[email protected]>
From: #8317 Co-authored-by: Amaury <[email protected]>
* Update changelog for 0.40.1 * add tendermint * Add release notes * add known issues * update * update release notes * fix a few things in CHANGELOG * Update RELEASE_NOTES.md Co-authored-by: Alessio Treglia <[email protected]>
* update to tendermint v0.34.3 * go.mod replace with grpc v1.33.2 Co-authored-by: Amaury Martiny <[email protected]> Co-authored-by: Alessio Treglia <[email protected]>
From: #8404 Thanks: @fedekunze @colin-axner
From: #8437 Closes: #8266 Thanks: @fedekunze
Co-authored-by: Alessio Treglia <[email protected]>
Release v0.41.0
From: #8436 Co-authored-by: Jonathan Gimeno <[email protected]>
From #8458 Co-authored-by: Ethan Frey <[email protected]>
From: #8481 Thanks: @michaelfig for the patch.
Still a problem with `cat` - a tmp_genesis file needs to be created and then moved to the old location Co-authored-by: Amaury <[email protected]> Co-authored-by: Cory <[email protected]>
Thanks @akhilkumarpilli for taking the time and making this PR! Did you test this, and if so how? |
Codecov Report
@@ Coverage Diff @@
## release/v0.41.x #8788 +/- ##
================================================
Coverage 61.95% 61.95%
================================================
Files 612 612
Lines 35417 35432 +15
================================================
+ Hits 21942 21953 +11
- Misses 11155 11156 +1
- Partials 2320 2323 +3
|
Yes, tested locally. I just ran akash local devnet with couple of multisig accounts and migrated it from v0.39 to v0.40. I tried to do multisig transaction but got some panic error from tx. I found issue is with empty public_keys array. Later, I tried with this fix by setting multisig account pub_key to null and it worked fine. |
Would be good to understand if this is an active issue on the hub |
It looks like an issue for which a known workaround is available. It still is an issue though I think. |
I have used hub multisigs after the migration and it worked fine. |
This seems like a good direction. the ways addresses work right now, it is always safe to set a pubkey to nil on export. If we implement key rotation and addresses become stateful, then export will be required for upgrades. |
@zmanian so you reckon this can be safely merged, yeah? |
|
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.
Thanks @akhilkumarpilli
I suggest to merge this asap and tag a release. Otherwise other chains might run into similar issues and non-recoverable cases |
@akhilkumarpilli this should go into master and then backported to Cc @clevinson |
@akhilkumarpilli Could you rebase? |
Actually, I raised PR with base from |
@akhilkumarpilli this PR has already 2 approvals, so I would suggest to |
I tried to resolve conflicts but there are lot of conflicts and too messy. So, I will raise a new PR. |
Closing this and opened new one #8794. Thank you. |
Description
ref: #8776 (comment)
When migrating genesis to v0.40, set
pub_key
to null if account is multisig as a quick fixBefore we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes