strangelove-ventures / wormhole

SL fork for wormhole dev work.
https://wormhole.com
Other
1 stars 0 forks source link

MINI_EPIC: `wormchain` should upgrade to new `Cosmos SDK` `v0.47.x` fork #51

Open joelsmith-2019 opened 2 months ago

joelsmith-2019 commented 2 months ago

Relies on the new fork: https://github.com/strangelove-ventures/wormhole/issues/30

Game plan:

### Tasks
- [x] Upgrade TM -> CometBFT
- [ ] https://github.com/strangelove-ventures/wormhole/issues/52
- [ ] https://github.com/strangelove-ventures/wormhole/issues/55
- [ ] https://github.com/strangelove-ventures/wormhole/issues/56
- [x] `Go` version to `1.22`
- [x] `IBC-GO` to `v7.x` https://github.com/strangelove-ventures/engineering-internal/issues/117
- [x] `Packet Forward Middleware` to `v7.x` https://github.com/cosmos/ibc-apps/blob/main/middleware/packet-forward-middleware/docs/integration.md
- [x] Research Wasmd Fork and plan logic migration to Wormchain (if feasible) https://github.com/strangelove-ventures/wormhole/issues/31
- [x] Implement Wasmd Fork Logic in Ante Handler
- [x] Upgrade Handler for Migration
- [x] Dockerize Ignite v0.27.2 w/ Go 1.22.5 & Generate Proto for Golang & TypeScript
- [x] Migrate Wormhole Governance Proposal Handlers -> Gov Msg Server
- [x] Setup Heighliner / Interchaintest & Pass Simple Chain Start Test
- [x] Upgrade `TokenFactory` Module to v0.47.x
- [ ] https://github.com/strangelove-ventures/wormhole/issues/12
- [ ] https://github.com/strangelove-ventures/wormhole/issues/64
joelsmith-2019 commented 2 months ago

Started work on this while I wait for Nikhil's response on how to test the new Cosmos SDK v0.47.x fork.

joelsmith-2019 commented 2 months ago

This issue will need to be finished before we can fully test the Cosmos SDK v0.47.12 fork.

joelsmith-2019 commented 2 months ago

The current branch is now passing go mod tidy. Now time to migrate away from deprecated code and implement all the latest API changes.

joelsmith-2019 commented 1 month ago

Draft PR for work: https://github.com/wormhole-foundation/wormhole/pull/4034

Repo is almost compiling & running unit tests. Just ironing out a few areas.

jonathanpberger commented 1 month ago

API changes have been made to 47, nearly compiliing. Looking into wasmd fork and gonna look at ante handlers to see if we can get off fork. Next: ICT tests. Almost done!

jtieri commented 1 month ago

@joelsmith-2019 is shipping!! gonna find some time to keep pushing on this as a group

jtieri commented 1 month ago

Protos need built with ignite-cli but we have to rebuild it with Go 1.21

joelsmith-2019 commented 1 month ago

I made the mistake of getting TokenFactory to parse with v0.47, but I never upgraded it to v0.47. Currently working on this upgrade which should get a majority of the finished ICTs passing again.