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

feat: add metadata section to the world contract manifest #1781

Merged
merged 5 commits into from
Apr 11, 2024

Conversation

glihm
Copy link
Collaborator

@glihm glihm commented Apr 5, 2024

Binding generation could be done by almost only the manifest as input.
As a request, here is a modification that adds some metadata to the manifest to obtain more context on what was done during deployment.

Doing so, the client can behaves differently based on the profile used + the RPC URL already embedded.

@glihm
Copy link
Collaborator Author

glihm commented Apr 5, 2024

@lambda-0x and @RareSecond any approval/confirmation welcome.

Copy link

codecov bot commented Apr 5, 2024

Codecov Report

Attention: Patch coverage is 16.66667% with 45 lines in your changes are missing coverage. Please review.

Project coverage is 68.56%. Comparing base (11e0881) to head (9262b99).

Files Patch % Lines
crates/sozo/ops/src/migration/mod.rs 0.00% 23 Missing ⚠️
bin/sozo/src/commands/migrate.rs 0.00% 19 Missing ⚠️
crates/dojo-world/src/manifest/types.rs 0.00% 2 Missing ⚠️
bin/sozo/src/commands/dev.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1781      +/-   ##
==========================================
+ Coverage   68.42%   68.56%   +0.13%     
==========================================
  Files         307      307              
  Lines       33834    33853      +19     
==========================================
+ Hits        23152    23210      +58     
+ Misses      10682    10643      -39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@glihm glihm added the sozo label Apr 5, 2024
@lambda-0x lambda-0x merged commit 39ee46b into dojoengine:main Apr 11, 2024
11 of 12 checks passed
matzayonc pushed a commit that referenced this pull request Apr 12, 2024
* feat: add metadata section to the world contract manifest

* fix: fmt

* fix: remove ignore on a manifest test

* fix formatting

---------

Co-authored-by: lambda-0x <[email protected]>
matzayonc pushed a commit that referenced this pull request Apr 14, 2024
* feat: add metadata section to the world contract manifest

* fix: fmt

* fix: remove ignore on a manifest test

* fix formatting

---------

Co-authored-by: lambda-0x <[email protected]>
@glihm glihm deleted the feat/manifest-metadata branch June 14, 2024 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants