# Regen scope
## Context
Scope for upgrade Regen plan network to sdk50
Since there is no stable version of IBC-go and WASMD that supports sdk50 yet, we will release two versions: Regen with sdk47 initially, and once that is completed, we will upgrade Regen to the sdk50 version.
## Scope of work breakdown
1. SDK v47
- Upgrade the version to SDK47, including wasmd and IBC go. Additionally, make changes to the core module in Regen Network to ensure compatibility with SDK47.
- Adapt the handle logic for this upgrade.
- Adding e2e testing for this upgrade. Similar to the Osmosis e2e https://github.com/osmosis-labs/osmosis/blob/f82a6fcfe229df5f77807aa7afc2d5878c679f31/tests/e2e. This e2e testing also including wasm contract testing (store, instantiate, execute example contract in e2e environment)
2. SDK v50: Because ibc-go and wasmd don't support sdkv50 yet. We need to wait for them to release a stable version that support sdk 50 (ibc-v8 )
- Upgrade the version to SDK50, including wasmd and IBC go. Additionally, make changes to the core module in Regen Network to ensure compatibility with SDK50.
- Adapt the handle logic for this upgrade.
- Adding e2e testing for this upgrade same as above.
- We will do this in parallel with the SDK47 version. There is a "develop" branch in IBC-go that we can use for development branch of Regen upgrade.
Estimated Time for 2 version : 4 weeks.
3. Audit for this upgrade and process a upgrade in testnet
- Audit document for those two version.
- For sdk47:
- Submit goverment proposal and do a chain upgrade in testnet.
- Estimate time : 1 week
- For sdk50: We'll layout the details after IBC team relesae a stable version of sdk50. It'll take one more week, same with sdk47.
Estimated Time : 1 weeks.
4. Mainnet upgrade
- For sdk47:
- Submit goverment proposal and process a chain upgrade in mainnet.
- Estimate time : 1 week
- For sdk50 : We'll layout the details after IBC team relesae a stable version of sdk50 and the testnet is successfully upgraded to v50. It'll take 1 more week, same with sdk47.
## Pricing
1. Phase 1 : Complete the code for upgrade regen to sdk47 and sdk50. Estimate price : 25k USDC
2. Phase 2 : Audit documnents / testing for those version upgrade. Estimate price : 15k USDC
3. Phase 3 : Upgrade the testnet and mainnet to sdk47. Estimate price : 10k USDC
4. Phase 4 : Upgrade the testnet and mainnet to sdk50. Estimate price : 10k USDC
Total price : 60k USDC