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

refactor/rename UInt #240

Merged
merged 1 commit into from
Sep 18, 2024
Merged

refactor/rename UInt #240

merged 1 commit into from
Sep 18, 2024

Conversation

KimiWu123
Copy link
Contributor

@KimiWu123 KimiWu123 commented Sep 18, 2024

A quick PR, just rename the following 3 structues

  • UInt --> UIntLimbs
  • RegUInt --> UInt
  • UIntValue --> Value

RegUInt is designed for constraint system and I think UInt is enough to represent it. UIntValue is designed for witness assignment and looks similiar with RegUInt. To avoid being confused for new comers, rename to Vaule (follow zkEVM's naming). After RegUInt being renamed, the original UInt conflicts with it so renaming the original UInt to UIntLimbs.

cc @hero78119 and @kunxian-xia

Copy link
Collaborator

@hero78119 hero78119 left a comment

Choose a reason for hiding this comment

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

👍 New naming LGTM!

@KimiWu123 KimiWu123 merged commit 3d647c9 into master Sep 18, 2024
6 checks passed
@KimiWu123 KimiWu123 deleted the refactor/reanme-UInt branch September 18, 2024 08:10
hero78119 pushed a commit that referenced this pull request Sep 30, 2024
A quick PR, just rename the following 3 structues
- UInt --> UIntLimbs
- RegUInt --> UInt
- UIntValue --> Value

`RegUInt` is designed for constraint system and I think `UInt` is enough
to represent it. `UIntValue` is designed for witness assignment and
looks similiar with `RegUInt`. To avoid being confused for new comers,
rename to `Vaule` (follow zkEVM's naming). After `RegUInt` being
renamed, the original `UInt` conflicts with it so renaming the original
`UInt` to `UIntLimbs`.

cc @hero78119 and @kunxian-xia
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