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

Introduce internal components #634

Merged
merged 14 commits into from
Oct 21, 2024
Merged

Introduce internal components #634

merged 14 commits into from
Oct 21, 2024

Conversation

pscott
Copy link
Contributor

@pscott pscott commented Oct 4, 2024

Closes https://github.com/snapshot-labs/workflow/issues/162

In this PR we remove all the unsafe_new_contract_state() by making use of cairo components.

This is mostly just syntax modifications, but it does indeed touch to the precious .cairo files.

To make it easy to review, every component was introduced in a different commit.

@pscott pscott changed the title Introduce internal components [WIP] Introduce internal components Oct 4, 2024
@pscott pscott self-assigned this Oct 4, 2024
@pscott pscott marked this pull request as draft October 4, 2024 14:43
@pscott pscott changed the title [WIP] Introduce internal components Introduce internal components Oct 4, 2024
@pscott pscott marked this pull request as ready for review October 9, 2024 13:49
@pscott
Copy link
Contributor Author

pscott commented Oct 16, 2024

missing: use prefix for storage variables of components to avoid namespace clashing

@pscott
Copy link
Contributor Author

pscott commented Oct 16, 2024

missing: use prefix for storage variables of components to avoid namespace clashing

done

Copy link
Member

@bonustrack bonustrack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@pscott pscott merged commit af131eb into develop Oct 21, 2024
2 checks passed
@pscott pscott deleted the use_internal_components branch October 21, 2024 11:33
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.

2 participants