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

Few small changes #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Few small changes #31

wants to merge 1 commit into from

Conversation

lovesh
Copy link

@lovesh lovesh commented Aug 23, 2022

  • Some formatting and typo fixes in r1cs_bin_format.md
  • Some code comments in r1cs parser
  • Fixing function name in Readme

- Some formatting and typo fixes in r1cs_bin_format.md
- Some code comments in r1cs parser
- Fixing function name in Readme
@@ -506,9 +506,9 @@ Variable size for field elements allows to shrink the size of the file and allow

Version allows to update the format.

Have a very good comprasion ratio for sparse r1cs as it's the normal case.
Have a very good comparison ratio for sparse r1cs as it's the normal case.
Copy link

Choose a reason for hiding this comment

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

Suggested change
Have a very good comparison ratio for sparse r1cs as it's the normal case.
Have a very good compression ratio for sparse r1cs as it's the normal case.

@@ -146,7 +146,7 @@ Section Type: 0x01
┃ 4 │ 20 00 00 00 ┃ Field Size in bytes (fs)
┗━━━━┻━━━━━━━━━━━━━━━━━┛
┏━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ fs │ 010000f0 93f5e143 9170b979 48e83328 5d588181 b64550b8 29a031e1 724e6430 ┃ Prime size
┃ fs │ 010000f0 93f5e143 9170b979 48e83328 5d588181 b64550b8 29a031e1 724e6430 ┃ Prime
┗━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━━━━┳━━━━━━━━━━━━━━━━━┓
┃ 32 │ 01 00 00 00 ┃ nWires
Copy link

@mratsim mratsim Dec 28, 2023

Choose a reason for hiding this comment

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

Another issue is that the field size field uses bytes as unit, while nWires and the rest use bits in the diagram.

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