By the time you’re reading this, Starknet will already be on v0.13.5—but all the big improvements came in v0.13.4. The v0.13.5 upgrade rolled out immediately after v0.13.4, bringing minor adjustments to help the ecosystem gear up for the next big upgrade. So, to keep things simple (and avoid confusion), let’s just call it v0.13.5, cool?
The v0.13.5 Starknet upgrade is now live on mainnet, significantly improving transaction costs and developer experience (DevX). This upgrade ensures that Starknet remains cost-efficient, even as demand for Ethereum blobs increases—by optimizing blob usage through state diff compression. Additionally, this version lays the groundwork for the future fee market by introducing a new concept: L2 gas.
Let’s dive into what’s new and why it matters.
Shelter from the blobstorm
With demand for Ethereum blobs steadily rising and costs becoming a growing concern, Starknet is staying ahead of the curve. The v0.13.5 upgrade continues Starknet’s commitment to low fees by significantly improving how data is submitted to Ethereum. By optimizing blob usage, it reduces the impact of rising blob costs and makes transactions more cost-efficient.
The foundation for this was laid in v0.13.3, which introduced stateless compression. This allowed blobs to be submitted to L1 in a compressed form, reducing the overall size of data Starknet sends to Ethereum. Now, v0.13.5 builds on this with stateful compression, an upgrade that optimizes how storage keys are encoded over time, minimizing redundancy and making state updates far more efficient.
How does stateful compression work?
Rather than treating every transaction’s data independently, stateful compression tracks and optimizes how storage keys appear over multiple state updates. This means that instead of repeatedly writing the full storage key in the state diff, Starknet can now reference it using an “alias” (a small integer)—packing more diffs into each Ethereum blob and further driving down L1 costs.
With this upgrade, Starknet transactions remain as cost-efficient as possible, even in the face of rising Ethereum data costs, reinforcing Starknet’s position as a cost-efficient scaling solution built to last.
Future-proofing Starknet: Introducing L2 gas
Optimizing blob compression is just one piece of making Starknet more cost-efficient for the long run. The next step? Redesigning how fees are structured altogether.
This upgrade lays the foundation for what comes next. Enter Layer 2 gas-a new resource model introduced in v0.13.5 that will serve as the backbone of Starknet’s future fee market, planned for v0.14.0. This shift will make fees more predictable, scalable, and sustainable, reducing volatility over time and setting the stage for a more efficient fee market.
What does each type of gas pay for?
Until now, Starknet transaction fees were closely tied to Ethereum’s gas mechanics. That’s slowly changing. With L2 gas, each transaction now specifies three separate gas resources and bids, each covering different aspects of execution and data availability:
- L2 gas covers all L2-native resources.
- L1 gas covers L2→L1 messages sent by the transaction.
- L1 data gas (aka blob gas) covers the cost incurred by the sequencer for submitting state diffs as blobs on L1.
By separating L2 execution costs from L1 gas, Starknet is preparing the ground for a more predictable and scalable fee structure. This is a key step toward long-term cost stability and performance improvements. Over time, this will allow Starknet to fine-tune its own fee model-ensuring efficient pricing without being directly impacted by Ethereum’s fluctuating gas costs.
Don’t panic: Error handling for a better DevX
Beyond fee reductions, v0.13.5 also gives developers a major improvement in contract execution: error handling. Smart contracts can now catch errors instead of aborting execution immediately.
Allowing contracts to catch and handle execution failures translates to a more robust developer experience. With this change, developers gain greater control over execution flows and can now write more resilient applications that respond to unexpected conditions instead of just reverting.
This is part of a broader shift towards making Starknet easier and more intuitive for developers. Alongside error handling, v0.13.5 introduces a new Wallet-Dapp API, streamlining how wallets and applications interact. It removes rigid dependencies on specific versions of Starknet.js, ensuring the ecosystem can rely on an agreed standard, while also leading to easier integrations between dApps and wallets.
Thinking about building on Starknet? Now’s the time. With lower fees, better DevX, and a growing ecosystem, there’s never been a better moment to build on Starknet.
Laying the groundwork for what’s next
While v0.13.5 brings improvements today, it’s also setting the stage for even bigger things ahead. One of the most intriguing additions is Cairo-native execution, a performance boost that allows contracts to run as native machine code instead of being interpreted by the Cairo VM. This optimization is undergoing extensive testing and isn’t being activated on mainnet just yet, but it signals the direction Starknet is heading: toward higher throughput, faster execution, and a network that can scale effortlessly.
And that’s just the beginning. v0.14.0 is coming, bringing 2-second blocks, fee market, and even more efficiency improvements. Every upgrade moves Starknet closer to its goal: becoming a blockchain network that’s scalable, cost-efficient, developer-friendly, and built to last.
Want to see what’s coming next? Explore upcoming features, release timelines, and how the network keeps evolving in the Starknet roadmap.
Final Thoughts
With cheaper transactions, an improved execution model, and a clear path toward scalability, Starknet v0.13.5 is setting the stage for the future of blockchain applications. Whether you’re a developer, a builder, or an everyday user, this upgrade ensures that Starknet remains the best place to build and transact affordably.
For a deeper dive into the technical intricacies of this upgrade, check out the Starknet v0.13.4 Pre-release Notes. And yeah, we’re calling it v0.13.5 here-get with the game.




