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

Some improvements on primitives #48

Merged
merged 8 commits into from
Apr 29, 2024

Conversation

tcoratger
Copy link
Contributor

  • Some functions are a bit refactored in primitive components.
  • The isFelt and isRelocatable utils are used whenever possible.
  • These two utils are integrated into a namespace around MaybeRelocatable, which seems more logical to me because we want to know if a MaybeRelocatable is a Felt or a Relocatable.

src/primitives/felt.ts Outdated Show resolved Hide resolved
src/primitives/felt.ts Outdated Show resolved Hide resolved
src/primitives/felt.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@zmalatrax zmalatrax left a comment

Choose a reason for hiding this comment

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

lgtm

@ClementWalter ClementWalter merged commit 22afcb1 into kkrt-labs:main Apr 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants