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: ancient class hash calculation #478

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Conversation

xJonathanLEI
Copy link
Owner

Contract artifacts produced by Cairo compiler prior to v0.10.0 uses a different format for cairo_type. It's been a known issue and is finally resolved here.

The implementation is very inefficient but deemed acceptable here since it only affects very old contract classes.

Contract artifacts produced by Cairo compiler prior to v0.10.0 uses
a different format for `cairo_type`. It's been a known issue and is
finally resolved here.
@xJonathanLEI xJonathanLEI force-pushed the fix/legacy_class_hash branch from 85124c6 to 58bd255 Compare October 9, 2023 02:34
@xJonathanLEI xJonathanLEI merged commit 230a489 into master Oct 9, 2023
23 checks passed
@xJonathanLEI xJonathanLEI deleted the fix/legacy_class_hash branch October 9, 2023 02:57
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