You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Smart contract storage page is still using outdated cairo syntax and decorators.
(Not sure if it can be considered as a bug or a feature, I do apologize if bug is not appropriate).
Quick question also, with components, is the address still computed the same way? And we do need to take care about not having several components with the same variables names in the storage?
I'm diving in the compiler code to check about this, any insights would be very helpful. Thank you!
I think that the page was updated since the time of the issue. In any case, with v0 components, you cannot have the same storage var name in two different components, and compilation will fail. The vision there is to have the storage/events of each component lie in their own space (e.g. via an offset determined at the contract), or, more generally, give the contract some convenient way of determining the layout of the different components in storage.
Describe the bug
Smart contract storage page is still using outdated cairo syntax and decorators.
(Not sure if it can be considered as a bug or a feature, I do apologize if bug is not appropriate).
To Reproduce
Expected behavior
Updated content for the new syntax.
Desktop (please complete the following information):
Any version.
Additional context
I would love to try submitting a PR to edit this content if you agree.
The text was updated successfully, but these errors were encountered: