Starknet Contract Storage Limit

This doc says that contract storage Is limited to 2251 slots.

What does this mean? is it storage cells in total or individual @storage_var that can contain unlimited items (i.e map).

If the answer is the total cell then how can someone implement an ERC20 token contracts for example? does that mean it can only hold the balances for 2k owners? I hope thatโ€™s not the case :sweat_smile:

9 Likes

It should be 2^{251}, will fix

11 Likes