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

Create new contracts package and hashing logic #376

Closed
rianhughes opened this issue Oct 3, 2023 · 0 comments · Fixed by #377
Closed

Create new contracts package and hashing logic #376

rianhughes opened this issue Oct 3, 2023 · 0 comments · Fixed by #377

Comments

@rianhughes
Copy link
Contributor

rianhughes commented Oct 3, 2023

Users will need to compute things like the class_hash for both casm contracts and sierra contracts. To do this new casm types will need to be defined, which I've put in a new contracts package. The old contracts package has been deleted (the few methods defined there will be move over into the accounts package). We also need to implement new hashing functions to compute the class_hash's for both these contract types. I've created a new hash package to store these types (later the hashing logic from the starknet.go file should probably be moved into the hash package).

@cicr99 cicr99 changed the title Create new contracts pacakge and hashing logic Create new contracts package and hashing logic Oct 3, 2023
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 a pull request may close this issue.

1 participant