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: failed deserialization when accessible_scopes is missing #534

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

xJonathanLEI
Copy link
Owner

Fixes #533.

Some legacy contract classes are missing this field. Thankfully, this patch does not affect class hash calculation, as accessible_scopes is skipped when empty in the first place.

Some legacy contract classes are missing this field. Thankfully, this
patch does not affect class hash calculation, as `accessible_scopes` is
skipped when empty in the first place.
@xJonathanLEI xJonathanLEI merged commit c974e5c into master Dec 26, 2023
24 checks passed
@xJonathanLEI xJonathanLEI deleted the fix/missing_accessible_scopes branch December 26, 2023 22:51
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.

Fails to calculate Cairo 0 class hash when program.attributes is missing accessible_scopes
1 participant