metacraft-labs / DendrETH

A smart contract implementation of the Ethereum light client sync protocol
GNU General Public License v3.0
45 stars 9 forks source link

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

Closed NikolayKostadinov21 closed 11 months ago

NikolayKostadinov21 commented 1 year ago

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

Owliie commented 11 months ago

Run formatter for rust files

Xearty commented 11 months ago

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

Xearty commented 11 months ago

Rename compute_shuffled_index.rs to circuit.rs

Xearty commented 11 months ago

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