Description
Soroban contracts have a maximum WASM size limit. There is no CI check to catch size regressions before deployment. A bloated contract will fail to deploy silently.
Tasks
Acceptance Criteria
- CI fails with a clear message when the WASM exceeds the size limit
- CI passes for the current optimized WASM
- The size threshold is configurable via a workflow input
Description
Soroban contracts have a maximum WASM size limit. There is no CI check to catch size regressions before deployment. A bloated contract will fail to deploy silently.
Tasks
.github/workflows/ci.ymlthat builds the optimized WASMAcceptance Criteria