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

feat: Implement compute_shuffled_index in plonky2x and add abstracted functions for plonky2x in the utils file #248

Merged
merged 39 commits into from
Nov 7, 2023

Conversation

NikolayKostadinov21
Copy link
Contributor

Rewrite compute_shuffled_index in plonky2x. Implement utils folder containing abstracted functions in plonky2x.

@NikolayKostadinov21 NikolayKostadinov21 changed the title Implement compute_shuffled_index in plonky2x and add abstracted functions for plonky2x in the utils file WIP: Implement compute_shuffled_index in plonky2x and add abstracted functions for plonky2x in the utils file Oct 16, 2023
NikolayKostadinov21 and others added 20 commits October 17, 2023 13:44
…te functions. Implement test case for 9999 input data for mainnet. Remove div_rem as builder.rem already exists
…rking computation in bytes_slice_to_variable
casper-finality-proofs/Cargo.toml Outdated Show resolved Hide resolved
casper-finality-proofs/src/compute_shuffled_index/mod.rs Outdated Show resolved Hide resolved
casper-finality-proofs/src/lib.rs Outdated Show resolved Hide resolved
casper-finality-proofs/src/test_engine/utils/setup.rs Outdated Show resolved Hide resolved
casper-finality-proofs/src/utils/variable.rs Outdated Show resolved Hide resolved
casper-finality-proofs/src/utils/variable.rs Outdated Show resolved Hide resolved
@Owliie
Copy link
Contributor

Owliie commented Oct 30, 2023

Run formatter for rust files

@NikolayKostadinov21 NikolayKostadinov21 changed the title WIP: Implement compute_shuffled_index in plonky2x and add abstracted functions for plonky2x in the utils file Implement compute_shuffled_index in plonky2x and add abstracted functions for plonky2x in the utils file Oct 31, 2023
@Dimo99 Dimo99 self-requested a review November 3, 2023 14:26
@Xearty
Copy link
Contributor

Xearty commented Nov 6, 2023

Think about moving utils.rs and variable.rs to plonky2x_extensions

@Xearty
Copy link
Contributor

Xearty commented Nov 6, 2023

Rename compute_shuffled_index.rs to circuit.rs

@Xearty
Copy link
Contributor

Xearty commented Nov 6, 2023

Export the circuit struct from the mod and make the circuit module private akin to weigh_justification_and_finalization

@NikolayKostadinov21 NikolayKostadinov21 enabled auto-merge (squash) November 7, 2023 09:18
@NikolayKostadinov21 NikolayKostadinov21 merged commit d8627f2 into main Nov 7, 2023
14 checks passed
@NikolayKostadinov21 NikolayKostadinov21 deleted the compute_shuffled_index branch November 7, 2023 09:23
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.

4 participants