Skip to content

Commit 2987e41

Browse files
authored
init&finish (#1483)
1 parent fca367f commit 2987e41

File tree

7 files changed

+229
-220
lines changed

7 files changed

+229
-220
lines changed

.htaccess

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,3 +903,11 @@ RewriteRule ^documentation/tools/CLI/starknet\-compiler\-options/$ /cli/starknet
903903
RewriteRule ^tools/starknet\-book/$ https://docs.starknet.io/? [R=301,L]
904904

905905
RewriteRule ^documentation/architecture_and_concepts/Smart_Contracts/system-calls/$ /architecture-and-concepts/smart-contracts/system-calls-cairo1/? [R=301,L]
906+
907+
RewriteRule ^documentation/tools/limits_and_triggers/$ /tools/limits-and-triggers/? [R=301,L]
908+
909+
RewriteRule ^tools/limits-and-triggers/$ /chain-info/? [R=301,L]
910+
911+
RewriteRule ^tools/important-addresses/$ /chain-info/? [R=301,L]
912+
913+
RewriteRule ^starknet-versions/deprecated/$ /chain-info/? [R=301,L]
Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
1-
* StarkGate guide
2-
** xref:starkgate:overview.adoc[Overview]
3-
** xref:starkgate:architecture.adoc[Architecture]
4-
** Procedures
5-
*** xref:starkgate:depositing.adoc[Depositing funds]
6-
*** xref:starkgate:withdrawing.adoc[Withdrawing funds]
7-
*** xref:starkgate:automated-actions-with-bridging.adoc[Performing a Smart Deposit]
8-
*** xref:starkgate:adding-a-token.adoc[Adding a token]
9-
*** xref:starkgate:cancelling-a-deposit.adoc[Cancelling a deposit]
10-
*** xref:starkgate:estimating-fees.adoc[Estimating StarkGate fees]
11-
*** xref:tools:dai-token-migration.adoc[Migrating DAI v0 to DAI]
12-
** xref:starkgate:function-reference.adoc[Function and event reference]
13-
* Staking guide
14-
** xref:staking:overview.adoc[Overview]
15-
** xref:staking:architecture.adoc[Architecture]
16-
** Procedures
17-
*** xref:staking:entering-staking.adoc[Becoming a validator]
18-
*** xref:staking:increasing-staking.adoc[Increasing stake]
19-
*** xref:staking:claiming-rewards.adoc[Claiming rewards]
20-
*** xref:staking:delegating-stake.adoc[Delegating stake]
21-
*** xref:staking:switching-delegation-pools.adoc[Switching delegation pools]
22-
*** xref:staking:exiting-staking.adoc[Exiting the staking protocol]
23-
*** xref:staking:managing-staking-and-delegation-operations.adoc[Managing staking and delegation operations]
24-
*** xref:staking:staking-events-and-read-functions.adoc[Using staking events and read functions]
1+
* Guides
2+
** Staking
3+
*** xref:staking:overview.adoc[Overview]
4+
*** xref:staking:architecture.adoc[Architecture]
5+
*** Procedures
6+
**** xref:staking:entering-staking.adoc[Becoming a validator]
7+
**** xref:staking:increasing-staking.adoc[Increasing stake]
8+
**** xref:staking:claiming-rewards.adoc[Claiming rewards]
9+
**** xref:staking:delegating-stake.adoc[Delegating stake]
10+
**** xref:staking:switching-delegation-pools.adoc[Switching delegation pools]
11+
**** xref:staking:exiting-staking.adoc[Exiting the staking protocol]
12+
**** xref:staking:managing-staking-and-delegation-operations.adoc[Managing staking and delegation operations]
13+
**** xref:staking:staking-events-and-read-functions.adoc[Using staking events and read functions]
14+
** StarkGate
15+
*** xref:starkgate:overview.adoc[Overview]
16+
*** xref:starkgate:architecture.adoc[Architecture]
17+
*** Procedures
18+
**** xref:starkgate:depositing.adoc[Depositing funds]
19+
**** xref:starkgate:withdrawing.adoc[Withdrawing funds]
20+
**** xref:starkgate:automated-actions-with-bridging.adoc[Performing a Smart Deposit]
21+
**** xref:starkgate:adding-a-token.adoc[Adding a token]
22+
**** xref:starkgate:cancelling-a-deposit.adoc[Cancelling a deposit]
23+
**** xref:starkgate:estimating-fees.adoc[Estimating StarkGate fees]
24+
**** xref:tools:dai-token-migration.adoc[Migrating DAI v0 to DAI]
2525
* Resources
26-
** Chain information
27-
*** xref:tools:limits-and-triggers.adoc[Current versions and limits]
28-
*** xref:starknet-versions:deprecated.adoc[Deprecated, unsupported, and removed features]
29-
*** xref:tools:important-addresses.adoc[Important addresses]
30-
** xref:starknet-versions:version-notes.adoc[Release notes]
3126
** xref:glossary.adoc[]
27+
** xref:chain-info.adoc[Chain info]
28+
** xref:starknet-versions:version-notes.adoc[Release notes]
Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
[id="chain-info"]
2+
3+
= Chain information
4+
5+
[TIP]
6+
====
7+
You can get the latest updates delivered to your inbox by subscribing to the link:https://www.starknet.io/starknet-devs-newsletter/[Starknet Devs Newsletter].
8+
====
9+
10+
[id="important_addresses"]
11+
== Important addresses
12+
13+
[discrete]
14+
=== Core contract
15+
16+
[horizontal, labelwidth="15"]
17+
Mainnet:: 0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4
18+
Sepolia:: 0xE2Bb56ee936fd6433DC0F6e7e3b8365C906AA057
19+
20+
[discrete]
21+
=== SHARP Verifier
22+
23+
[horizontal, labelwidth="15"]
24+
Mainnet:: 0x47312450B3Ac8b5b8e247a6bB6d523e7605bDb60
25+
Sepolia:: 0x07ec0D28e50322Eb0C159B9090ecF3aeA8346DFe
26+
27+
[discrete]
28+
=== Fee tokens
29+
30+
[horizontal, labelwidth="15"]
31+
STRK:: 0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d
32+
ETH:: 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
33+
34+
[discrete]
35+
=== Voting token
36+
37+
[NOTE]
38+
====
39+
For information on The Starknet voting token, see link:https://governance.starknet.io/learn/vstrk_overview[_vSTRK overview_] on the Starknet Governance Hub.
40+
====
41+
42+
[horizontal, labelwidth="15"]
43+
Mainnet:: 0x0782f0ddca11d9950bc3220e35ac82cf868778edb67a5e58b39838544bc4cd0f
44+
Sepolia:: 0x035c332b8de00874e702b4831c84b22281fb3246f714475496d74e644f35d492
45+
46+
[discrete]
47+
=== Sequencer base URL
48+
[horizontal, labelwidth="15"]
49+
Mainnet:: \https://alpha-mainnet.starknet.io
50+
Sepolia:: \https://alpha-sepolia.starknet.io
51+
52+
== Current versions
53+
54+
[%autowidth.stretch]
55+
|===
56+
|Environment |Starknet version|Sierra version|Cairo version
57+
58+
|Mainnet|0.13.3|1.6.0|2.0.0 - 2.8.2
59+
|Sepolia Testnet|0.13.3|1.6.0|2.0.0 - 2.8.2
60+
|===
61+
62+
== Current limits
63+
64+
[IMPORTANT]
65+
====
66+
The following limits are subject to revisions and change on a regular basis
67+
====
68+
69+
[NOTE]
70+
====
71+
Starting from v0.13.0, blockifier-related constants and limits are defined for each Starknet version in a JSON file called `versioned_constants` in the link:https://github.com/starkware-libs/sequencer/tree/main/crates/blockifier/resources[blockifier's resources directory^].
72+
====
73+
74+
[%autowidth.stretch]
75+
|===
76+
|Entity | Description | Sepolia | Mainnet
77+
78+
|Block time | The maximum amount of time within which a pending block is closed, if no other limit is met. | 30 seconds | 30 seconds
79+
|Block limit (Cairo steps)| The maximum number of Cairo steps that can be completed
80+
within each block to ensure block production times remain consistent and predictable. | 40,000,000 | 40,000,000
81+
|Block limit (gas)| Certain Starknet operations, such as sending messages between L1 and L2, consume Ethereum gas. The current L1 state update
82+
mechanism involves an Ethereum transaction for each Starknet block.
83+
84+
The gas limit for Starknet blocks is therefore inherited from the gas limit for Ethereum blocks.
85+
|5,000,000 | 5,000,000
86+
87+
|Max transaction size (Cairo steps)|The maximum number of computational steps, measured in Cairo steps, that a transaction can contain when processed on the Starknet network.
88+
This limit is important for ensuring the efficient execution of transactions and preventing potential congestion.
89+
| 10,000,000 | 10,000,000
90+
91+
|Max number of events per transaction|The maximum number of events that a transaction can emit during its execution.
92+
| 1,000 | 1,000
93+
94+
|Max number of data felts per event|The maximum number of felts that an event can contain in its `data` array.
95+
| 300 | 300
96+
97+
|Max number of key felts per event|The maximum number of felts that an event can contain in its `keys` array.
98+
| 50 | 50
99+
100+
|Max Cairo steps for `validate`| The maximum number of computational steps, measured in Cairo steps, for a `validate` function. | 1,000,000 | 1,000,000
101+
102+
|Max contract bytecode size (Number of felts in the program)| The maximum size of the bytecode or program that a smart contract can have on Starknet.
103+
104+
Bytecode is the low-level code that comprises smart contracts. Limiting this size helps manage the complexity of contracts and the overall efficiency of the network.
105+
| 81,290 | 81,290
106+
|Max contract class size|The maximum size for a contract class within Starknet.
107+
108+
Contract classes are a fundamental building block for smart contracts, and limiting their size can have implications for the network's scalability and security.
109+
| 4,089,446 bytes
110+
| 4,089,446 bytes
111+
112+
|IP address limits (read/write)| In order to reduce network spam, Starknet limits the amount of contract reads and writes that a single IP
113+
address can make. | 200 per min per IP address| 200 per min per IP address
114+
| Signature length (felts) | | 4,000 | 4,000
115+
| Calldata length (felts) | | 4,000 | 4,000
116+
|===
117+
118+
119+
== Deprecated features
120+
121+
[NOTE]
122+
====
123+
A deprecated feature is a feature that is still supported, but support will be removed in a future release of Starknet.
124+
====
125+
126+
[cols="1,3",]
127+
|===
128+
|Name|Description
129+
130+
|Starknet CLI | Support for the Starknet CLI has been removed. Instead use xref:cli:starkli.adoc[Starkli].
131+
132+
Support for Starknet CLI is removed in Starknet v0.13.0.
133+
|Cairo 0 | xref:starknet-versions:version-notes.adoc#version0.11.0[Starknet v0.11.0] introduces Cairo 1.0 smart contracts.
134+
|===
135+
136+
== Unsupported and removed features
137+
138+
[NOTE]
139+
====
140+
An unsupported feature is a feature that is no longer supported.
141+
142+
A removed feature is a feature that has been entirely removed.
143+
====
144+
145+
[cols="1,3"]
146+
|===
147+
|Name|Description
148+
149+
| Goerli testnet
150+
a| Goerli testnet support was removed April 2, 2024. Sepolia testnet replaces Goerli testnet.
151+
152+
Starknet started migrating to Sepolia testnet on November 15th, 2023. For more information on the Goerli deprecation, see https://ethereum.org/nb/developers/docs/networks/#ethereum-testnets[the deprecation announcement on Ethereum's site].
153+
154+
Full nodes, API services, SDKs, and other Starknet developer tools have migrated to Sepolia as well.
155+
156+
[NOTE]
157+
====
158+
Sepolia's state and history are relatively small. Sepolia xref:starknet-versions:version-notes.adoc[supports declaring classes of CairoZero and Cairo v2.0.0 and higher].
159+
====
160+
161+
| Starknet feeder gateway a| The Starknet feeder gateway, a temporary solution for querying the sequencer’s state, is being replaced by Starknet full nodes (Pathfinder, Juno, Deoxys, Papyrus) and RPC services. For more information, see xref:tools:api-services.adoc[Full nodes and API services].
162+
163+
Support for the feeder gateway queries that are not required for full nodes to synchronize on the state of Starknet will stop according to the following schedule:
164+
165+
[%autowidth.stretch]
166+
!===
167+
!Environment !Date
168+
169+
!Integration
170+
!1 November 2023
171+
!Testnet
172+
!15 November 2023
173+
!Mainnet
174+
!19 December 2023
175+
!===
176+
177+
Queries that are required for full nodes to synchronize on the state of Starknet are still supported.
178+
179+
For more information, see the Community Forum post link:https://community.starknet.io/t/feeder-gateway-deprecation/100233[_Feeder Gateway Deprecation_].
180+
// | Goerli testnet 2 | Goerli testnet 2 is removed. Use Goerli testnet.
181+
|Free L1-> L2 messaging |Previously, sending a message from L1 to L2 had an optional fee associated.
182+
183+
From xref:starknet-versions:version-notes.adoc#version0.11.0[Starknet v0.11.0], the fee mechanism is enforced and the ability to send L1->L2 messages without the corresponding L2 fee has been removed.
184+
185+
See xref:architecture-and-concepts:network-architecture/messaging-mechanism.adoc#l1-l2-message-fees[here] for more details.
186+
187+
|`invoke` transaction v0 |`invoke` transaction v0 has been removed since xref:starknet-versions:version-notes.adoc#version0.11.0[Starknet v0.11.0].
188+
|`declare` transaction v0 |`declare` transaction v0 has been removed since xref:starknet-versions:version-notes.adoc#version0.11.0[Starknet v0.11.0].
189+
190+
|`deploy` transaction|The `deploy` transaction has been removed since xref:starknet-versions:version-notes.adoc#version0.10.3[Starknet v0.10.3].
191+
192+
To deploy new contract instances, you can use the xref:architecture-and-concepts:smart-contracts/system-calls-cairo1.adoc#deploy[`deploy` system call].
193+
|===
194+

components/Starknet/modules/starknet-versions/pages/deprecated.adoc

Lines changed: 0 additions & 76 deletions
This file was deleted.

components/Starknet/modules/starknet-versions/pages/version-notes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[TIP]
55
====
6-
You can get the latest version updates delivered to your inbox by subscribing to the link:https://www.starknet.io/starknet-devs-newsletter/[Starknet Devs Newsletter].
6+
You can get the latest updates delivered to your inbox by subscribing to the link:https://www.starknet.io/starknet-devs-newsletter/[Starknet Devs Newsletter].
77
====
88

99
[id="version0.13.4"]

components/Starknet/modules/tools/pages/important-addresses.adoc

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)