Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

refactor: change compute hinted_class_hash on ContractClass init #775

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

SantiagoPittella
Copy link
Collaborator

Description

Updates the ContractClass, removing the program_json field and adding a hinted_class_hash field.
Now is being calculated on init of the struct.

Thanks to @kkovaacs for letting us know where the issue was and how to improve it.

Closes #770

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.

@fmoletta fmoletta added this pull request to the merge queue Jul 5, 2023
Merged via the queue into main with commit 57ed54d Jul 5, 2023
@juanbono juanbono deleted the performance-remove-json-from-program branch July 31, 2023 23:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

starknet_in_rust performance
4 participants