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

Chang2 builtins #1064

Merged
merged 14 commits into from
Dec 7, 2024
Merged

Chang2 builtins #1064

merged 14 commits into from
Dec 7, 2024

Conversation

MicroProofs
Copy link
Member

No description provided.

@MicroProofs MicroProofs marked this pull request as ready for review December 6, 2024 04:43
@MicroProofs MicroProofs requested a review from a team as a code owner December 6, 2024 04:43
@MicroProofs MicroProofs merged commit ddc58b9 into main Dec 7, 2024
13 checks passed
@MicroProofs MicroProofs deleted the chang2-builtins branch December 7, 2024 05:31

let bit_offset = usize::try_from(bit_offset).unwrap();

let flipped_index = bytes.len() - 1 - usize::try_from(byte_index).unwrap();
Copy link
Member

Choose a reason for hiding this comment

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

Confusing as hell, but it's in the CIP. I am not sure why it was settled on reading bits from the end. We have to document that properly in the Prelude.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ In Next Release
Development

Successfully merging this pull request may close these issues.

3 participants