medibloc / panacea-core

MediBloc Blockchain Core
https://medibloc.com
Other
60 stars 19 forks source link

feat: remove cosmwasm #640

Closed audtlr24 closed 1 year ago

audtlr24 commented 1 year ago

Background

We decided it would be better to remove cosmwasm from the chain. There are three reasons for this

  1. Hardship in removing CosmWasm once somebody starts using it; currently, nobody is using CosmWasm on Panacea yet
  2. Possibility that anybody can deploy a contract that does not fit the purpose of Panacea
  3. Replacable through Cosmos SDK v0.46.x that now includes x/nft module later
audtlr24 commented 1 year ago

I haven't tested the upgrade handler yet. I will open the pr after testing is complete.

audtlr24 commented 1 year ago

Upgrading directly from v2.0.5 had issues with the VersionMap part, so I tested the upgrade in branch v2.0.5/add-set-version-map.

gyuguen commented 1 year ago

I think you can remove to wasm config in Dockerfile

https://github.com/medibloc/panacea-core/blob/main/Dockerfile

gyuguen commented 1 year ago

And you can remove this part. https://github.com/medibloc/panacea-core/blob/ft/na/remove-cosmwasm/.gitbook/overview/tech-stack.md?plain=1#L45 https://github.com/medibloc/panacea-core/blob/ft/na/remove-cosmwasm/README.md?plain=1#L15