Skip to content

chore: fixing linter issues + cleanup#674

Merged
Maddiaa0 merged 7 commits into
masterfrom
lh/593-fixing-linter-issues
May 23, 2023
Merged

chore: fixing linter issues + cleanup#674
Maddiaa0 merged 7 commits into
masterfrom
lh/593-fixing-linter-issues

Conversation

@LHerskind

Copy link
Copy Markdown
Contributor

Description

Checklist:

  • I have reviewed my diff in github, line by line.
  • Every change is related to the PR description.
  • I have linked this pull request to the issue(s) that it resolves.
  • There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
  • The branch has been merged or rebased against the head of its merge target.
  • I'm happy for the PR to be merged at the reviewer's next convenience.

@Maddiaa0 Maddiaa0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, lets add to the dockerfile.

Base automatically changed from lh/593-linter to master May 23, 2023 15:06
@LHerskind LHerskind force-pushed the lh/593-fixing-linter-issues branch from c632e82 to 7e124fd Compare May 23, 2023 15:19
Comment thread l1-contracts/Dockerfile Outdated
@LHerskind LHerskind marked this pull request as ready for review May 23, 2023 15:59
@LHerskind LHerskind requested a review from Maddiaa0 May 23, 2023 16:01
@LHerskind LHerskind force-pushed the lh/593-fixing-linter-issues branch from b23e2e8 to 066bbd7 Compare May 23, 2023 16:06
@Maddiaa0 Maddiaa0 merged commit ea5d863 into master May 23, 2023
@Maddiaa0 Maddiaa0 deleted the lh/593-fixing-linter-issues branch May 23, 2023 16:37
nishatkoti added a commit that referenced this pull request Feb 27, 2026
Cleanup and minor changes in the polynomial module. 

Changes:
- Delete unused methods in `univariate_coefficient_basis.hpp`
    -  `is_zero`
    - `random_element`
    - `to_buffer`
    - `serialize_from_buffer`
    - `size`
    - `get_random`
 - Delete unused methods in `polynomial.hpp/cpp`
    - `clear()`
    - `right_shifted()`
    - `debug_hash()`
    - `compute_barycentric_evaluation()`
    -  `in_place_operation_viable`
    -  overload of evaluate `evaluate(const Fr& z, size_t target_size)`
  - Delete unused methods in `polynomial_arithmetic.hpp/cpp`
    - `compute_multiplicative_subgroup`
    - `compute_barycentric_evaluation `
- `fft`, `coset_fft`, unused overloads of `fft_inner_parallel` and
`ifft`
- Delete unused `compute_generator_table` and `four_inverse` in
`evaluation_domain.hpp`
- Fixed `_allocate_aligned_memory` call to pass element count (`n_l`)
instead of byte size.
- Add new tests in `barycentric.test.cpp` covering the `stdlib` runtime
path
- Deduplicate compile-time and runtime `BarycentricData` logic via a
shared base class (resolves TODO
[#674](AztecProtocol/barretenberg#674))
johnathan79717 pushed a commit that referenced this pull request Mar 4, 2026
Cleanup and minor changes in the polynomial module. 

Changes:
- Delete unused methods in `univariate_coefficient_basis.hpp`
    -  `is_zero`
    - `random_element`
    - `to_buffer`
    - `serialize_from_buffer`
    - `size`
    - `get_random`
 - Delete unused methods in `polynomial.hpp/cpp`
    - `clear()`
    - `right_shifted()`
    - `debug_hash()`
    - `compute_barycentric_evaluation()`
    -  `in_place_operation_viable`
    -  overload of evaluate `evaluate(const Fr& z, size_t target_size)`
  - Delete unused methods in `polynomial_arithmetic.hpp/cpp`
    - `compute_multiplicative_subgroup`
    - `compute_barycentric_evaluation `
- `fft`, `coset_fft`, unused overloads of `fft_inner_parallel` and
`ifft`
- Delete unused `compute_generator_table` and `four_inverse` in
`evaluation_domain.hpp`
- Fixed `_allocate_aligned_memory` call to pass element count (`n_l`)
instead of byte size.
- Add new tests in `barycentric.test.cpp` covering the `stdlib` runtime
path
- Deduplicate compile-time and runtime `BarycentricData` logic via a
shared base class (resolves TODO
[#674](AztecProtocol/barretenberg#674))
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.

2 participants