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

feat: upgrade-send-coin #110

Closed
wants to merge 16 commits into from
Closed

feat: upgrade-send-coin #110

wants to merge 16 commits into from

Conversation

Senna46
Copy link
Contributor

@Senna46 Senna46 commented Aug 19, 2024

Overview

  • Add Upgrade Handler & Upgrade Store Loader in app.go
  • Separate keeper.go to solve import cycle problem
  • Add Upgrade handler v0.1.5-test

TODO

  • test in private-testnet
  • Add validators address
  • create binary
  • submit upgrade-proposal

Note

It would be a problem with capability module init genesis codebase itself.
panic: SetIndex requires index to not be set
Skip capability db InitGenesis() in upgrade to avoid this problem. a3b520e
issue: cosmos/cosmos-sdk#8503

This solution does not work for on-chain upgrade.
BlitChain/blitchain@c4c5f26#diff-ef25d41c9af76a92d23ba24961af4a2870d6799c9695f9c3f51074be42ca022eR25
An error in IBC (channel open)

gRPC call `send_tx_simulate` failed with status: status: Unknown, message: "recovered: kv store with key KVStoreKey{0xc001a7d2a0, capability} has not been registered in stores

Capability module use to be available from long ago but the code seems moved from one repo to another. (cosmos-sdk to ibc-go)

@Senna46
Copy link
Contributor Author

Senna46 commented Aug 20, 2024

Upgrade Command updated for sdk v0.50.x

sunrised tx upgrade software-upgrade v0_1_5_test \
--title "upgrade v0.1.5-test" \
--metadata "The public testnet upgrade to v0.1.5-test" \
--summary "The public testnet upgrade to v0.1.5-test" \
--upgrade-info "{\"binaries\":{\"linux/amd64\":\"https://github.com/Senna46/share-sunrised/releases/download/v0.1.5-rc7/sunrised?checksum=md5:d1214e91e145afc4bfd942c960cda0fe\"}}" \
--deposit 2000000000urise,1000000000uvrise \
--upgrade-height 12 \
--from user1 \
--keyring-backend test \
--yes \
--gas "auto" \
--fees="10000urise" \
--chain-id=sunrise-private-4

@Senna46 Senna46 closed this Aug 28, 2024
@kimurayu45z kimurayu45z deleted the feat/upgrade-send-coin branch January 5, 2025 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant