- Sonic V2.2 doubles the maximum deployed contract size from 24 KiB to 48 KiB and initialization code from 48 KiB to 96 KiB.
- The upgrade introduces the Simple Format Virtual Machine (SFVM), which removes previous size restrictions without performance tradeoffs.
- Larger contracts incur no additional fee penalties beyond existing charges for code and data size.
Sonic has launched V2.2, doubling the maximum size of smart contracts and their initialization code to give developers more room for complex applications. The upgrade increases deployed contract limits from 24 KiB to 48 KiB and initialization code from 48 KiB to 96 KiB.
Developers building sophisticated applications on Sonic often hit the previous size cap, forcing them to remove features or split code across multiple contracts. Sonic recognized this constraint and redesigned its virtual machine to handle larger contracts without introducing new fee penalties.
The new Simple Format Virtual Machine (SFVM) keeps contract instructions in their original format and creates a compact map of valid jump destinations. This approach eliminated the 64 KiB code reference limitation that previously capped initialization code size.
Sonic tested SFVM against the first 25 million blocks of mainnet activity and found negligible performance differences across all evaluated designs. Consequently, the network adopted the simpler architecture without sacrificing normal operating efficiency.
Users will notice no changes to their transaction flow or fee structure. Existing contracts remain fully functional and require no rewrites.
The higher limits do not create a new pricing tier for contracts exceeding the old 24 KiB threshold. Developers gain additional capacity without needing to account for a separate fee system.
Not every application should use larger contracts, as smaller codebases remain easier to review and maintain. The change simply removes a constraint when additional capacity is genuinely useful.
✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.
