Skip to content

chore: bump cairo to v2.11.4 #622

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

Merged
merged 116 commits into from
Apr 23, 2025
Merged

chore: bump cairo to v2.11.4 #622

merged 116 commits into from
Apr 23, 2025

Conversation

tserg
Copy link
Collaborator

@tserg tserg commented Apr 11, 2025

This PR bumps the Cairo version to v2.11.4.

outdated contracts and scripts have been removed for ease of maintainability. To facilitate tracing, versioning has been added to the README for both the core contracts and the scripts directory.

Additional points

  • Implemented suggestions by scarb lint e.g. using for loops when iterating over spans and while loops for conditional loops. While making this change, I observed that the test_partial_absorb_with_redistribution_entire_trove_debt test did not iterate fully over each nested loop. This required some assertions in the tests to be relaxed because the edge cases were not actually executed previously.
  • Replace the use of hash with generate_arg to generate price feed for yangs. This introduces some randomness to the tests, and may require some tests that previously passed to be relaxed e.g. a wider error margin.

@tserg tserg changed the title chore: bump cairo to v2.11.0 chore: bump cairo to v2.11.4 Apr 21, 2025
@tserg tserg merged commit e8eb67e into lindy-labs:main Apr 23, 2025
1 check passed
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.

1 participant