forked from Consensys/linea-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 2
Add rln-prover code (from VAC repository) #54
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
72bb633
Add rln-prover code (from VAC repository)
sydhds d361320
Add Dockerfile
sydhds 75b976d
Add rln-prover github workflow
sydhds a23aa6e
Fix dependency between lint & unused-deps jobs in rln-prover CI workflow
sydhds c670b8e
Remove commit tag env var in rln-prover CI workflow
sydhds 25346c5
Remove commit tag env var in rln-prover CI workflow (attemp 2)
sydhds 61b2299
Remove commit tag declatation in rln-prover CI workflow (attemp 3)
sydhds d21249e
Remove commit tag declatation in rln-prover CI workflow (attemp 4)
sydhds dfb1ec7
Restore commit tag in CI workflow
sydhds e794177
Remove usage of commit_tag in rln-prover-tests.yml
sydhds cf74d2f
commit tag optional
nadeemb53 ea1948e
Merge branch 'feat/import-rln-prover' of github.com:status-im/status-…
nadeemb53 7f2d986
fix: rln prover and karma service flag updates in compose file
nadeemb53 54a4ba1
fix: CI fixes
nadeemb53 e72bf20
fix: rln prover CI failing due to tests and clippy
nadeemb53 1f93f3e
Remove unwanted unit test file: e2e.rs
sydhds a3764d6
Update code
sydhds 624f1bc
Cargo fmt
sydhds 69c4013
Disable anvil tests
sydhds f946ce6
fix: contract deployment issues fixed caused by missing deps and mism…
nadeemb53 69bdb38
Merge branch 'feat/import-rln-prover' of github.com:status-im/status-…
nadeemb53 07ed097
fix: test flakiness for rln prover test
nadeemb53 355fddf
chore: panic state change from aport to unwind
nadeemb53 4cbae65
feat: publish to docker registry and access images from there
nadeemb53 3c9e564
Run rln prover unit tests with verbose flag
sydhds ec52733
Temp disable optim
sydhds 9d6484c
RUST_BACKTRACE set to full
sydhds 1c1b742
fix: graph.bin fix, race condition turning test flaky fixed, nodejs v…
nadeemb53 29ac281
fix: rust code formating
nadeemb53 718bed6
fix: rust code formating
nadeemb53 eef4aaa
fix: update graph.bin to rln 0.9.0 compatible version and mark as binary
nadeemb53 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| name: RLN prover tests | ||
|
|
||
| permissions: | ||
| contents: read | ||
| actions: read | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| env: | ||
| PROTOC_VERSION: "3.25.3" | ||
| RUST_LOG: "debug" | ||
| RUST_BACKTRACE: "full" | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| name: Run RLN prover tests | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
| - name: Install stable toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| components: rustfmt, clippy | ||
| - name: Install protoc | ||
| uses: taiki-e/install-action@v2 | ||
|
||
| with: | ||
| tool: protoc@${{ env.PROTOC_VERSION }} | ||
| - uses: Swatinem/rust-cache@v2 | ||
|
||
| with: | ||
| shared-key: "stable" | ||
| workspaces: "rln-prover" | ||
| - name: Check formatting | ||
| if: success() || failure() | ||
| working-directory: rln-prover | ||
| run: cargo fmt --all -- --check | ||
| - name: Check clippy | ||
| if: success() || failure() | ||
| working-directory: rln-prover | ||
| run: cargo clippy --all-targets --release -- -D warnings | ||
|
|
||
| test: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 60 | ||
| name: Test | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
| - name: Install stable toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
||
| - name: Install protoc | ||
| uses: taiki-e/install-action@v2 | ||
|
||
| with: | ||
| tool: protoc@${{ env.PROTOC_VERSION }} | ||
| - uses: Swatinem/rust-cache@v2 | ||
|
||
| with: | ||
| shared-key: "stable" | ||
| workspaces: "rln-prover" | ||
| - name: Install foundry | ||
| uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
| - name: Test | ||
| working-directory: rln-prover | ||
| run: cargo test -v --release -- --nocapture | ||
|
|
||
| unused-deps: | ||
| needs: [lint, test] | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 60 | ||
| name: Unused Dependencies | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
| - name: Install nightly toolchain | ||
| uses: dtolnay/rust-toolchain@nightly | ||
|
||
| - name: Install protoc | ||
| uses: taiki-e/install-action@v2 | ||
|
||
| with: | ||
| tool: protoc@${{ env.PROTOC_VERSION }} | ||
| - uses: Swatinem/rust-cache@v2 | ||
|
||
| with: | ||
| shared-key: "nightly" | ||
| workspaces: "rln-prover" | ||
| - name: Install cargo-udeps | ||
| uses: taiki-e/install-action@v2 | ||
|
||
| with: | ||
| tool: cargo-udeps | ||
| - name: Check unused dependencies | ||
| working-directory: rln-prover | ||
| run: cargo +nightly udeps --all-targets --all-features | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.