The SIP-039 upgrade introduces native Passkey support for smoother wallet onboarding and Originator Mode to improve security for DeFi transactions. For node operators, the removal of the at-block function enables Chain State Pruning, which reduces required storage from approximately 1TB to just a few gigabytes. Developers will have more flexibility with a doubled stack depth of 128, allowing for the execution of more complex smart contract calls. Collectively, these technical adjustments focus on lowering hardware barriers and improving the efficiency of the Clarity execution engine.
Here's a quick breakdown of what each individual SIP proposes. Note that these features are not exhaustive; please see Github links below for the complete SIPs.
SIP-039: Clarity 5 & Epoch 3.4 ActivationThe primary trigger for the upgrade, focusing on refinements to the Clarity execution engine.
- Passkey Compatibility: Fixes cryptographic bugs to enable native WebAuthn support for password-less onboarding.
- Increased DeFi Scale: Doubles maximum "stack depth" (64 to 128) to allow for more complex, multi-step contract calls.
- Execution Reliability: Introduces "Rejectable Transactions" to prevent nonces from getting stuck.
[Rider] SIP-040: Improved Post-ConditionsA security layer designed to solve the "all-or-nothing" trade-off for asset transfers.
- Originator Mode: Protects signer assets while allowing the internal contract movements required for complex DeFi apps.
- NFT “May-Send”: Allows users to authorize NFT transfers only if specific, pre-defined conditions are met during execution.
[Rider] SIP-042: Removal of at-blockEnables Chain State Pruning by deprecating the function that allows contracts to read state from any point in history.
- The Problem: Nodes currently store ~1TB of data to support historical state reads back to genesis.
- The Solution: Removing this requirement allows nodes to move to a pruned model that only stores recent state.
- The Impact: Lowers the hardware barrier for operators by shifting storage requirements from ~1TB to a few gigabytes.