Skip to content
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

Closed
wants to merge 11 commits into from
Closed

Storage layout #1772

wants to merge 11 commits into from

Conversation

remybar
Copy link
Contributor

@remybar remybar commented Apr 5, 2024

Related to #1669.

[Work in progress]
from namehash branch rebased to main to have the dojo::model attribute.

@remybar remybar force-pushed the storage-layout branch 3 times, most recently from 453bcb4 to 3f667ea Compare April 9, 2024 11:54
@remybar remybar force-pushed the storage-layout branch 3 times, most recently from dfe5458 to ce8ad9f Compare April 14, 2024 08:20
crates/dojo-core/src/resource_metadata.cairo Outdated Show resolved Hide resolved
crates/dojo-core/src/model.cairo Outdated Show resolved Hide resolved
@@ -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]
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree 👍

@remybar remybar force-pushed the storage-layout branch 7 times, most recently from 62e2c25 to 822e3b4 Compare May 2, 2024 06:25
@remybar
Copy link
Contributor Author

remybar commented May 15, 2024

As the storage-layout branch on Dojo repo contains what has been done in this PR, I close it.

@remybar remybar closed this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants