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

Bump dojo starter to V1.0.0 rc.1 #90

Merged
merged 4 commits into from
Nov 4, 2024
Merged

Bump dojo starter to V1.0.0 rc.1 #90

merged 4 commits into from
Nov 4, 2024

Conversation

gianalarcon
Copy link
Collaborator

  • Bump dojo starter to V1.0.0 rc.1
  • Add minor changes

Copy link
Contributor

@glihm glihm left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @gianalarcon!
Minor comments.

scripts/move.sh Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we remove the world address extraction from the manifest? sozo execute is able to actually recompute it from the world and the config found in dojo_dev.toml. 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

(in all scripts, to give also users the good practice to use sozo execute)

Copy link
Contributor

Choose a reason for hiding this comment

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

We could actually move those scripts to the README at some point? But may be handy to use for users by simply executing them I guess.

Comment on lines 91 to 95
impl InternalImpl of InternalTrait {
fn world_default(self: @ContractState) -> dojo::world::WorldStorage {
self.world(@"dojo_starter")
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Good to have put this down here, could we add a comment on why this is interesting practice to have? Since the namespace is the same in this example, it's a good way for the users to not hardcode it. 👍

@glihm
Copy link
Contributor

glihm commented Nov 4, 2024

Thanks @gianalarcon!

@glihm glihm merged commit 0f50b6e into main Nov 4, 2024
1 check passed
@glihm glihm deleted the v1.0.0-rc.1 branch November 4, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants