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

fix: incorrect assumption about migration output #1790

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

lambda-0x
Copy link
Collaborator

@lambda-0x lambda-0x commented Apr 8, 2024

Previously we assumed that there is one to one mapping between contracts in local_manifest and migration_output but thats not the case because migration_output just contains contracts that got upgraded/deployed.

So now we find the manifest based on its name.

@glihm glihm added the sozo label Apr 8, 2024
@glihm
Copy link
Collaborator

glihm commented Apr 8, 2024

Good catch @lambda-0x, let me know when this is ready to rebase #1784. 👍

@lambda-0x lambda-0x marked this pull request as ready for review April 10, 2024 07:04
Copy link

codecov bot commented Apr 10, 2024

Codecov Report

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

Project coverage is 68.42%. Comparing base (5015ea1) to head (a5551c9).
Report is 9 commits behind head on main.

Files Patch % Lines
crates/sozo/ops/src/migration/mod.rs 17.64% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1790      +/-   ##
==========================================
+ Coverage   67.44%   68.42%   +0.97%     
==========================================
  Files         306      307       +1     
  Lines       33562    33844     +282     
==========================================
+ Hits        22637    23158     +521     
+ Misses      10925    10686     -239     

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

@lambda-0x lambda-0x merged commit f1cf597 into dojoengine:main Apr 11, 2024
11 of 12 checks passed
@lambda-0x lambda-0x deleted the fix-plan branch April 11, 2024 16:15
matzayonc pushed a commit that referenced this pull request Apr 12, 2024
* fix: incorrect assumption about migration output

* remove unnecessary import
matzayonc pushed a commit that referenced this pull request Apr 14, 2024
* fix: incorrect assumption about migration output

* remove unnecessary import
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