Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

zhenfeizhang
Copy link

Description

[PR description]

Issue Link

[link issue here]

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Contents

  • [item]

Rationale

[design decisions and extended information]

How Has This Been Tested?

[explanation]


How to fill a PR description

Please give a concise description of your PR.

The target readers could be future developers, reviewers, and auditors. By reading your description, they should easily understand the changes proposed in this pull request.

MUST: Reference the issue to resolve

Single responsability

Is RECOMMENDED to create single responsibility commits, but not mandatory.

Anyway, you MUST enumerate the changes in a unitary way, e.g.

This PR contains:
- Cleanup of xxxx, yyyy
- Changed xxxx to yyyy in order to bla bla
- Added xxxx function to ...
- Refactored ....

Design choices

RECOMMENDED to:

  • What types of design choices did you face?
  • What decisions you have made?
  • Any valuable information that could help reviewers to think critically

@lispc lispc mentioned this pull request Apr 26, 2024
4 tasks
@lispc lispc requested a review from roynalnaruto April 26, 2024 03:33
@@ -130,6 +130,7 @@ impl RlcConfig {
}

#[inline]
#[allow(dead_code)]

Choose a reason for hiding this comment

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

I will make a separate PR that just removes all the dead code outright.

Choose a reason for hiding this comment

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

@z2trillion z2trillion changed the title Dyn agg refactor Make aggregation circuit generic over number of snarks May 9, 2024
@z2trillion z2trillion requested a review from lispc May 9, 2024 18:00
@roynalnaruto roynalnaruto added the da-compression Support compression of L2 data made available on L1 label May 11, 2024
@lispc
Copy link

lispc commented May 13, 2024

i feel it may not be necessary to use constant generic. Anyway not bad. Since it is already written, we can use it.

// oh useful for testing?

num_advice: vec![75],
num_lookup_advice: vec![10],
num_advice: vec![100],
num_lookup_advice: vec![13],
Copy link

Choose a reason for hiding this comment

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

if we still use chunk num = 15, we don't need to increase nums here?

Choose a reason for hiding this comment

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

I am looking into what changes caused the increased column usage. The params were set to their previous values here: increased edb0ae7

@z2trillion
Copy link

i feel it may not be necessary to use constant generic. Anyway not bad. Since it is already written, we can use it.

// oh useful for testing?

Yes, it is mainly for testing. The other option I considered was to use feature flags to vary MAX_AGG_SNARKS, but I thought that that would be harder to maintain.

@lispc
Copy link

lispc commented May 13, 2024

Seems you have to increase columns a bit. Try increase as small as possible

@z2trillion
Copy link

Seems you have to increase columns a bit. Try increase as small as possible

The existing change by zhenfei is the minimum necessary.

@z2trillion z2trillion requested a review from lispc May 16, 2024 02:01
@lispc lispc merged commit 352b3ec into develop May 21, 2024
@lispc lispc deleted the dyn-agg-refactor branch May 21, 2024 11:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crate-prover da-compression Support compression of L2 data made available on L1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants