In February, we shared a tentative roadmap for 2024 – a plan of intent.
Over the past months, we have collected extensive feedback from builders to guide and evolve our roadmap.
- By all accounts, the two original goals of fee reduction and performance are sufficiently fulfilled since v0.13.1: transaction fees are extremely low, and Starknet can already sustain over 100 erc-20 transfers a second – more than enough to satisfy current demand.
- In light of the above, it’s time for a new Sheriff in town: UX & devX! Instead of diving into the meta of defining what exactly this means, let’s move to some examples with the beloved table, and elaborate afterward.
Wen mainnet | Must-have content | Effect | |
---|---|---|---|
v0.13.2 | August | Parallel execution, SNAR & block-packing aiming at 2 sec confirmation time and reduced block time, execute limit will be increased to ≥10M steps |
Performance, UX & devX |
v0.13.3 | October/November | Cairo-native (Sierra → MLIR) & L2 gas; additional feature candidates: nonce channels, try/catch for function call failures | Performance, UX & devX |
v0.14.0 | January/February | Candidates: Volition, zkThreads, mempool, protocol-level paymaster | TBD |
Now some more words.
v0.13.2
You send a transaction. You wait for confirmation. You are sad. You don’t want to wait.
Alrighty then! Thanks to applicative recursion on the SHARP front and its complementary Starknet feature – block-packing – v0.13.2 will see reduced block times without increased L1 costs. We aim to reduce block-times until the confirmation time of most transactions averages at around 2 seconds. We expect a block time or somewhere between 20-60 secs. This isn’t a hard commitment yet, but it’s definitely the goal: the leap is delicate from the engineering PoV and we want to test everything is stable before taking blood oaths.
“Ah, but wait”, you say, “Wasn’t this a candidate feature for v0.14.0? How could this be?”
Well…
The effort to improve confirmation time via reduction of block time will further be complemented by parallel execution! Increased throughput means execution will be even faster, driving down confirmation times.
Before moving on to v0.13.3, we should also mention some great work behind the scenes on key aspects of the network, including improvements to streamline work on P2P, and major optimizations to the committer – the service that computes a commitment to the state. These may not sound like chad features, but they contribute a lot to Starknet’s eternally sharpening jawline.
v0.13.3
Currently, the only must-have content is Cairo-native. To copy from the first 2024 roadmap post:
Starknet v0.13.3 will feature a joint effort with Nethermind to integrate the state-of-the-art Cairo-native project by LambdaClass into the sequencer. This is some
next level @#$%truly state-of-the-art technology. Here’s the story. Currently, the sequencer executes transactions using the Cairo VM (efficiently implemented in Rust by LambdaClass too). The VM effectively emulates another machine, which begs the question: can we circumvent any emulation to improve performance? Turns out the answer is “very very yes” if you’re blessed with a disturbing amount of brainpower. Enter Cairo-native, which lets the sequencer completely bypass the VM and execute native CPU opcodes. Dark magic, you say? Correct! Behind the scenes, Cairo-native is a Sierra→MLIR compiler; the sequencer will use it to compile declared Cairo classes to native bytecode, and run the latter during transaction execution.
The only addition to make now about Cairo-native is to emphasize that faster execution will further improve confirmation times. Alongside it, we mention some more feature ideas that are on the cards for v0.13.3 but yet to be decided.
v0.14.0
Everything here is TBD. It’s too early to decide now.
Summary
Huge improvements to confirmation times are coming in v0.13.2, and more improvements to UX and devX are on the menu. Stay tuned and contribute! Got questions? Ask! Got ideas? Suggest! We would love feature ideas from you folks! It can be a cool use-case, a concrete feature, or a vague fantasy. SNIPs are especially welcome!
Cheerio!