Skip to content

Use manifest reading for contracts info #4

Description

@glihm

Let's try to use the Manifest type from dojo to read manifests content. This would be easier to avoid hardcoding addresses.

Manifest types:
https://github.com/dojoengine/dojo/blob/acb476a4eea607322c57d779b619aafd29a17d75/crates/dojo/world/src/diff/manifest.rs#L149

How to read form the file:
https://github.com/dojoengine/dojo/blob/acb476a4eea607322c57d779b619aafd29a17d75/crates/sozo/scarbext/src/workspace.rs#L157

we should't have to import the scarbext, only the dojo-world crate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions