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

Fixed panic on VariantNotFound #1487

Merged
merged 4 commits into from
Jan 30, 2024
Merged

Conversation

fishseabowl
Copy link
Contributor

@fishseabowl fishseabowl commented Jan 29, 2024

If VariantNotFound, this PR propagates the error:ParseError::InvalidSchema
Closes #1484

@tarrencev
Copy link
Contributor

thank you @fishseabowl! would you mind adding a test case for this?

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (374f2bf) 70.06% compared to head (772aa80) 70.14%.
Report is 6 commits behind head on main.

Files Patch % Lines
bin/sozo/src/ops/migration/mod.rs 30.30% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1487      +/-   ##
==========================================
+ Coverage   70.06%   70.14%   +0.08%     
==========================================
  Files         236      242       +6     
  Lines       22531    23589    +1058     
==========================================
+ Hits        15786    16547     +761     
- Misses       6745     7042     +297     

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

@fishseabowl
Copy link
Contributor Author

thank you @fishseabowl! would you mind adding a test case for this?

Sure. I have added test cases. Thanks

@tarrencev tarrencev merged commit f57b78c into dojoengine:main Jan 30, 2024
12 checks passed
@fishseabowl fishseabowl deleted the 1484_torii_panic branch February 10, 2024 06:49
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.

[torii] VariantNotFound cause panic
2 participants