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

Mantainance #202

Merged
merged 6 commits into from
Dec 1, 2023
Merged

Conversation

let mut max_balance = max_value.clone();

// Perform the summation for each level up the Merkle Root
for _ in 0..n_levels {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be replaced by a product

@@ -103,6 +103,32 @@ struct TestCircuit<const N_BYTES: usize> {
pub b: Fp,
}

impl<const N_BYTES: usize> TestCircuit<N_BYTES> {
Copy link
Contributor

Choose a reason for hiding this comment

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

My fault, haven't noticed this while reviewing the previous PR. Since there's actually some common code shared between different circuits, it can stay in CircuitBase 😄

@enricobottazzi enricobottazzi merged commit c2a3ee2 into v1-improvements-and-consolidation Dec 1, 2023
6 checks passed
alxkzmn pushed a commit to alxkzmn/summa-solvency that referenced this pull request Dec 5, 2023
alxkzmn pushed a commit to alxkzmn/summa-solvency that referenced this pull request Dec 5, 2023
@enricobottazzi enricobottazzi deleted the repo-minor-fixes branch December 5, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants