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

Upgrade cosmos-sdk v0.50 get error "no concrete type registered for type URL /cosmwasm/wasm/v1beta1/UpdateAdminProposal" #16

Open
ledanghuy1811 opened this issue Oct 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ledanghuy1811
Copy link

ledanghuy1811 commented Oct 16, 2024

Context

Before we run upgrade to cosmos-sdk v0.50 in our mainnet, we fork current mainnet to a testnet with fully data of our mainnet. The purpose of this is that we want to upgrade in our fork-mainnet (testnet) first to see if we got error.

We run e2e-upgrade script first to check if there is error or not and it work without errors but when we try to upgrade to cosmos-sdk v0.50 in our testnet, the error is show up:

image

To Reproduce

Steps to reproduce the behavior:

  1. Need to fork mainnet and run node
  2. Clone our old repo and build oraid binary
  3. Try to make proposal to upgrade fork-mainnet
  4. Clone this repo and checkout to this commit
  5. Build new binary and re run node to see error

Expected behavior

The upgrade process pass and node start to commit block.

@ledanghuy1811 ledanghuy1811 changed the title Upgrade cosmos-sdk v0.50 get error "no concrete type registered for type URL /cosmwasm/v1beta1/UpdateAdminProposal" Upgrade cosmos-sdk v0.50 get error "no concrete type registered for type URL /cosmwasm/wasm/v1beta1/UpdateAdminProposal" Oct 16, 2024
@ledanghuy1811
Copy link
Author

The error show up because our old orai version we support wasm v1bete1 but in new cosmos-sdk v0.50 version, wasm support v1 not v1beta1. Then when we try to run upgrade, the error will show up.

@ledanghuy1811
Copy link
Author

To fix this error, we try to add logic support wasm/v1beta1 and it work.

Fixed in here

@ducphamle2
Copy link
Collaborator

New commit after merging: fe53dbf

@ducphamle2 ducphamle2 added this to the Upgrade Oraichain to 0.50 milestone Oct 30, 2024
@ducphamle2 ducphamle2 added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants