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

Implement ModBuiltin #666

Merged
merged 34 commits into from
Sep 27, 2024
Merged

Implement ModBuiltin #666

merged 34 commits into from
Sep 27, 2024

Conversation

Sh0g0-1758
Copy link
Member

@Sh0g0-1758 Sh0g0-1758 marked this pull request as draft September 19, 2024 13:08
@Sh0g0-1758 Sh0g0-1758 marked this pull request as ready for review September 25, 2024 07:40
@Sh0g0-1758
Copy link
Member Author

@cicr99

@Sh0g0-1758 Sh0g0-1758 changed the title [WIP] : Implement ModBuiltin Implement ModBuiltin Sep 25, 2024
pkg/vm/builtins/modulo.go Outdated Show resolved Hide resolved
pkg/vm/builtins/modulo.go Outdated Show resolved Hide resolved
pkg/vm/builtins/modulo_test.go Outdated Show resolved Hide resolved
@cicr99
Copy link
Contributor

cicr99 commented Sep 26, 2024

There are conflicts after merging #662 that need to be fixed. This PR creates variables for the name of the builtins and replace all places in the code where the raw string is used with such variables. You'll have to do the same for the new builtin. Also there were some refactors done in the code that affect your branch

pkg/vm/builtins/modulo.go Show resolved Hide resolved
@Sh0g0-1758 Sh0g0-1758 merged commit f1f925d into main Sep 27, 2024
4 checks passed
@Sh0g0-1758 Sh0g0-1758 deleted the mod branch September 27, 2024 10:07
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.

MulMod Arena Builtin AddMod Builtin Cairo one Builtins
2 participants