Skip to content

Commit ac7f042

Browse files
authored
v0.13.6 (#1647)
* init&finish * typo fix * codereview * updated builtin limits * Update version-notes.adoc
1 parent 017df09 commit ac7f042

File tree

2 files changed

+68
-17
lines changed

2 files changed

+68
-17
lines changed

components/Starknet/modules/resources/pages/chain-info.adoc

Lines changed: 49 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,24 @@ Starting from v0.13.0, blockifier-related constants and limits are defined for e
3131
Starting from v0.13.5, resources are denominated in units of L2 gas, L1 gas, and L1 data gas.
3232
====
3333

34-
[cols="1,2,1,1"]
34+
35+
[cols="1,2,1"]
3536
|===
36-
| Entity | Description | Sepolia | Mainnet
37+
| Entity | Description | Limit
3738

3839
| Block time
3940
| The maximum amount of time within which a pending block is closed, if no other limit is met
4041
| 30 seconds
41-
| 30 seconds
4242

4343
| Max L2 gas per block
4444
a| The maximum amount of L2 gas that a block can contain
4545
[NOTE]
4646
====
4747
This limit ensures block production times remains consistent and predictable.
4848
====
49-
| 5 * 10^9^
50-
| 5 * 10^9^
49+
| Mainnet: 5 * 10^9^
50+
51+
Sepolia: 4 * 10^9^ on
5152

5253
| Max L2 gas per transaction
5354
a| The maximum number of computational steps, measured in L2 gas, that a transaction can contain when processed on the Starknet network
@@ -56,7 +57,6 @@ a| The maximum number of computational steps, measured in L2 gas, that a transac
5657
This limit is important for ensuring the efficient execution of transactions and preventing potential congestion.
5758
====
5859
| 10^9^
59-
| 10^9^
6060

6161
| Max state updates per transaction
6262
a| The maximum number of storage updates that a single transaction can generate
@@ -65,32 +65,26 @@ a| The maximum number of storage updates that a single transaction can generate
6565
This limit helps maintain network stability and predictable performance.
6666
====
6767
| 2,000
68-
| 2,000
6968

7069
| Max number of events per transaction
7170
| The maximum number of events that a transaction can emit during its execution
7271
| 1,000
73-
| 1,000
7472

7573
| Max number of data felts per event
7674
| The maximum number of felts that an event can contain in its `data` array
7775
| 300
78-
| 300
7976

8077
| Max number of key felts per event
8178
| The maximum number of felts that an event can contain in its `keys` array
8279
| 50
83-
| 50
8480

8581
| Max L2 gas for `validate`
8682
| The maximum number of computational steps, measured in Cairo steps, for a `validate` function
8783
| 10^8^
88-
| 10^8^
8984

9085
| Max contract bytecode size
9186
| The maximum size of the bytecode or program that a smart contract can have on Starknet
9287
| 81,920 felts
93-
| 81,920 felts
9488

9589
| Max contract class size
9690
a| The maximum size for the Sierra file of a contract class within Starknet
@@ -99,24 +93,63 @@ a| The maximum size for the Sierra file of a contract class within Starknet
9993
This limit is important for ensuring the network's scalability and security.
10094
====
10195
| 4,089,446 bytes
102-
| 4,089,446 bytes
10396

10497
| IP address limits
10598
| The amount of contract reads and writes that a single IP address can make (in order to reduce network spam)
10699
| 200 per min per IP address
107-
| 200 per min per IP address
108100

109101
| Signature length
110102
| The maximum length of a signature
111103
| 4,000 felts
112-
| 4,000 felts
113104

114105
| Calldata length
115106
| The maximum length of a transaction calldata
116107
| 5,000 felts
117-
| 5,000 felts
118108
|===
119109

110+
=== Block builtin limits
111+
112+
[IMPORTANT]
113+
====
114+
Currently, block builtin limits apply only for Sepolia.
115+
116+
For more information, see xref:version-notes.adoc#starknet_v0_13_6_8_jul_25[the release notes for Starknet version 0.13.6].
117+
====
118+
119+
[%autowidth]
120+
|===
121+
| Builtin | Limit
122+
123+
| Range Check
124+
| 57,142,857
125+
126+
| ECDSA
127+
| 3,000
128+
129+
| Poseidon
130+
| 479,961
131+
132+
| Pedersen
133+
| 493,827
134+
135+
| Bitwise
136+
| 6,861,063
137+
138+
| EC OP
139+
| 6,994
140+
141+
| Keccak
142+
| 9,790
143+
144+
| Range Check 96
145+
| 71,428,571
146+
147+
| Add Mod
148+
| 16,000,000
149+
150+
| Mul Mod
151+
| 6,622,516
152+
|===
120153

121154
== Deprecated features
122155

components/Starknet/modules/resources/pages/version-notes.adoc

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,29 @@
55
You can get the latest updates delivered to your inbox by subscribing to the https://www.starknet.io/starknet-devs-newsletter/[Starknet Devs Newsletter^].
66
====
77

8+
== Starknet v0.13.6 (8 Jul, '25)
9+
10+
Starknet v0.13.6 is live on Testnet and scheduled be live on Mainnet on July 8th.
11+
12+
Starknet v0.13.6 is a configuration change done to support integration by the https://docs.starknet.io/stwo-book/[S-Two prover^], including:
13+
14+
* Introducing builtin tracking and temporarily disabling Cairo Native: The xref:architecture:os.adoc[Starknet OS] now tracks individual builtins usages, xref:chain-info.adoc#block_builtin_limits[capping the number of builtins that may fit inside each block]. Since https://github.com/lambdaclass/cairo_native[Cairo Native^] does currently not support this kind of tracking, its usage is temporarily disabled and will be enabled again once this capability is supported.
15+
+
16+
[NOTE]
17+
====
18+
Cairo Native hasn't yet been enabled on Mainnet, and disabling it only affects Sepolia.
19+
====
20+
* Reducing maximum block size: The amount of L2 gas that a block can contain is xref:chain-info.adoc#current_limits[decreased from 5B to 4B L2 gas].
21+
22+
.Additional resources
23+
* https://community.starknet.io/t/sn-v0-13-6-pre-release-notes/115680[_SN v0.13.6 pre-release notes_ on Starknet's community forum]
24+
* https://community.starknet.io/t/introducing-sn-0-13-6/115678[_Introducing SN 0.13.6_ on Starknet's community forum]
25+
826
== Starknet v0.13.4 and v0.13.5 (Mar 24, '25)
927
1028
Starknet v0.13.4 and v0.13.5 are live on Mainnet. All the big improvements came in v0.13.4, and the v0.13.5 upgrade rolled out immediately after, bringing minor adjustments to help the ecosystem gear up for Starknet's next upgrade.
1129
12-
Starknet 0.13.4 includes the following changes:
30+
Starknet v0.13.4 includes the following changes:
1331
1432
* *Cairo Native Execution*: Contracts compiled with Sierra ≥ 1.7.0 can run faster by being executed natively (without the Cairo VM)
1533

0 commit comments

Comments
 (0)