In order to release storage space for unused contracts a prune proposal makes sense.
When executed wasm codes without an instantiation would be removed from CodeInfo and wasmvm.
The proposal may include a relative height (or fix one in the past?) as a threshold to not delete new uploads.
1455 was closed after doing some benchmarks because of poor performance. Most likely a different approach is needed e.g. a migration script. Since this task is going to take more time than expected, it is descoped from v0.41 milestone.
In order to release storage space for unused contracts a prune proposal makes sense. When executed wasm codes without an instantiation would be removed from CodeInfo and wasmvm. The proposal may include a relative height (or fix one in the past?) as a threshold to not delete new uploads.
Follow up on: https://github.com/CosmWasm/wasmd/issues/840#issuecomment-1118525916