-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage layout #1772
Storage layout #1772
Conversation
453bcb4
to
3f667ea
Compare
dfe5458
to
ce8ad9f
Compare
@@ -1,7 +1,8 @@ | |||
use starknet::{ContractAddress, get_caller_address}; | |||
|
|||
// TODO import all this when complex benchmarks are merged | |||
#[derive(Model, Copy, Drop, Serde)] | |||
#[derive(Introspect, Copy, Drop, Serde)] | |||
#[dojo::model] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my original PR I removed auto deriving Introspect for models but I think we should probably add it back. Since there I don't think there is a case where we want model without introspect. Not necessary to land in this PR though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I agree 👍
8f40214
to
d6e829e
Compare
62e2c25
to
822e3b4
Compare
As the |
Related to #1669.
[Work in progress]
from
namehash
branch rebased tomain
to have thedojo::model
attribute.