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

fix: reintroduce clang-tidy #1265

Merged
merged 8 commits into from
Jul 31, 2023
Merged

fix: reintroduce clang-tidy #1265

merged 8 commits into from
Jul 31, 2023

Conversation

ludamad
Copy link
Collaborator

@ludamad ludamad commented Jul 28, 2023

This brings back .clang-tidy in a more minimal form that takes 6 minutes. We will hopefully be able to improve build times along with these times with some thinking on barretenberg header API (probably caused by the single mega header right now).

@ludamad ludamad requested a review from dbanks12 July 28, 2023 22:59
@ludamad ludamad marked this pull request as ready for review July 28, 2023 22:59
@ludamad ludamad changed the title reintroduce clang-tidy fix: reintroduce clang-tidy Jul 28, 2023
@ludamad ludamad requested a review from spalladino July 28, 2023 23:07
Copy link
Collaborator

@spalladino spalladino left a comment

Choose a reason for hiding this comment

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

LGTM, but bear in mind I don't spend so much time on cpp land, so you may want to wait for David's approval

circuits/cpp/scripts/tidy.sh Show resolved Hide resolved
@ludamad
Copy link
Collaborator Author

ludamad commented Jul 31, 2023

Dismissing Santiago's review so David can approve this

@dbanks12 doesn't look like anything is going in that breaks this tidy so I'll hold off and I'll let you make the final call (I'm fine if you think we should just go back to the 15 minute full version too, that is not the biggest deal if CI is overall working). The only other thing about keeping non-error warnings is the file was massive, meaning the actual warnings in there were not that scrutable. I'm in favour of having things be errors or off entirely in CI personally

@ludamad ludamad requested a review from spalladino July 31, 2023 18:11
@dbanks12 dbanks12 self-requested a review July 31, 2023 18:49
Copy link
Contributor

@dbanks12 dbanks12 left a comment

Choose a reason for hiding this comment

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

LGTM

@dbanks12 dbanks12 merged commit f9c20ff into master Jul 31, 2023
@dbanks12 dbanks12 deleted the ad/tidy branch July 31, 2023 18:50
Maddiaa0 pushed a commit that referenced this pull request Aug 1, 2023
This brings back .clang-tidy in a more minimal form that takes 6
minutes. We will hopefully be able to improve build times along with
these times with some thinking on barretenberg header API (probably
caused by the single mega header right now).
codygunton pushed a commit that referenced this pull request Jan 23, 2024
* dynamic reference to redis cluster subnet group (#1594)

Co-authored-by: PhilWindle <[email protected]>

* Created generic swapping agent for both uniswap and lido-curve bridges (#1265)

* JB/Website changes (#1554)

* Bruno changes

* Grants changes

* Update grants page, edit team page

* Fix typos, change header, footer links; noir links

* Fix sliders

* Copy changes

* Adds two RFPs

* Add Michael to Careers, typos

* Fix titles of roles

* JB/Website changes (#1612)

* Bruno changes

* Grants changes

* Update grants page, edit team page

* Fix typos, change header, footer links; noir links

* Fix sliders

* Copy changes

* Adds two RFPs

* Add Michael to Careers, typos

* Fix titles of roles

* Fix lint, replace images

* Pass the uint context to the return value of uint::at  (#1593)

* Construct return value from current context in uint::at

Fixes AztecProtocol/aztec2-internal#1433

* Add uint test which asserts context inheritance

* Move to yarn 3 plug 'n play and workspaces, pure ESM modules. (#1599)

* Transferrables and webpack to build a worker.js until we have loader chaining...

* Prod/dev conf

* Update bb imports.

* bb tests passing.

* Integrate wasm back in bb.js. Passing tests. Reduce wasm memory footprint.

* Can run halloumi and falafel.

* Falafel tests pass.

* Sdk tests pass.

* e2e.test passes.

* webpack

* bb.js yarn 3.2.2

* fix mem align

* fix bitwise warning on newer clang

* Tweaks towards wasi 16 (more to figure out)

* yarn 3.2.2

* remove encoding headers from block source client

* bb.js updates

* Blockchain test transpile to cjs for hardhat.

* Fix blockchain.

* SDK alternates proving keys.

* Falafel/halloumi start_e2e scripts args.

* Shared linting, formatting for bb.js and blockchain.

* explorer import changes. build needs fixing.

* end-to-end, falafel, halloumi linting

* Hummus just a terminal. Linting. Version upgrades.

* Linting. Bootstrapping. Wallet.

* prettier config.

* Basic working wallet.

* Fix apollo server stuff in falafel...

* account-migrator. explorer.

* Cleanup JSON stuff.

* wasabi.

* Revert jest->mocha

* Merge fixes.

* Initial zk-money.

* - Reconnect bootstrap scripts
- set prettier as js default

* - es-module style imports
- upgrade typescript
- copy wasm

* zk-money builds.

* Linting

* Dockerfile and build stuff.

* Move yarn project into own folder.

* explorer build. min cci yml.

* Introduce a build manifest to compute rebuild patterns.

* Addition of a script for auto launching tmux and running a test.

* Streamline bootstrapping.

* Add bash to falafel image.

* build image

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* Attempt to fix deploy.

* When scanning for rollups, we only cache the last block number where … (#1611)

* When scanning for rollups, we only cache the last block number where we actually found a rollup

* Fixed bug

* fix typo in zk-money app obs intial -> initial (#1633)

* Adress comments about docs (#1500)

* Adress comments about docs

* Update schnorr.md

Co-authored-by: Michael Connor <[email protected]>

* Move genesis data from bb.js to falafel (#1640)

* moved init/genesis data from bb.js to falafel along with helper functions for reading the init data.

* data files no longer need to be moved as part of bb.js webpack

* obsolete comment in bb.js env

* Moved some init helper functions back to bb.js. Renamed helper class in falafel. Fixed missing 'any' type in falafel env init.ts

* copy init account data to dest in falafel

Co-authored-by: spypsy <[email protected]>
Co-authored-by: Jonathan Bursztyn <[email protected]>
Co-authored-by: Guido Vranken <[email protected]>
Co-authored-by: Charlie Lye <[email protected]>
Co-authored-by: Charlie Lye <[email protected]>
Co-authored-by: David Banks <[email protected]>
Co-authored-by: Adrian Hamelink <[email protected]>
Co-authored-by: Michael Connor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants