forked from Plonky3/Plonky3
-
Notifications
You must be signed in to change notification settings - Fork 1
address issues #32
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
Closed
Closed
address issues #32
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
45c9c4f
challenger: add `observe_base_as_algebra_element ` to `FieldChallenge…
tcoratger fc1c39e
Add Preprocessed trace setup and VKs (#1150)
sai-deng 77d4f38
monty31: const assert in dot product (#1154)
tcoratger a677ca6
Add preprocessed column support in batch-STARK (#1151)
sai-deng b1f8c02
Make generate_trace_rows_for_perm public (#1159)
4l0n50 dab374b
challenger: add unit tests for `observe_base_as_algebra_element` (#1155)
tcoratger 3c7c004
refactor: deduplicate field JSON serialization tests (#1162)
andrewshab3 dbb5c7d
Update lookup traits and add folders with lookups (#1160)
LindaGuiga ad3f6aa
ExtensionBuilder for SymbolicAirBuilder (#1161)
LindaGuiga eb871f9
Derive Clone for PreprocessedInstanceMeta (#1166)
LindaGuiga c9d8c3e
matrix: make `HorizontallyTruncated` more generic (#1170)
tcoratger 25d7554
uni-stark: add unit tests for SymbolicExpression (#1169)
tcoratger dd2f840
build(deps): update criterion requirement from 0.7 to 0.8 (#1173)
dependabot[bot] 7cbdbbf
uni stark: small touchups (#1163)
tcoratger 02cae28
Clarify quotient degree vs quotient chunks naming (#1156)
sai-deng 94bc0a7
core: add error messages to error enums via thiserror (#1168)
tcoratger 6e85b7a
feat: add `SubAirBuilder` module (#1172)
Nashtare cdfc24a
doc: add intra-doc links (#1174)
Nashtare 8970106
Allow users to impl either permute or permute_mut (#1175)
SyxtonPrime 2c6bb78
Integrate lookups to prover and verifier (#1165)
LindaGuiga 01e5b79
Automated releases with `release-plz` (#909)
BGluth 72ceb6e
challenger: add `observe_algebra_elements` method (#1176)
tcoratger 39ff9cb
core: small touchups (#1186)
tcoratger 84b8bf6
challenger: use `observe_algebra_slice` when possible (#1187)
tcoratger 1be8ac3
revert changes in uni-stark
zhenfeizhang 32731f2
:Merge remote-tracking branch 'p3/main' into zz/merge-remote
zhenfeizhang 7757708
fix compiling errors
zhenfeizhang 23f67f3
address issues
zhenfeizhang 6eb595e
fix ci
zhenfeizhang d7e18cc
CI
zhenfeizhang 7bb999b
fmt
zhenfeizhang cfe7f29
remove unneccessay option for aux trace
zhenfeizhang bf1ff1f
Merge branch 'main' into zz/merge-remote
zhenfeizhang 11876c7
Add thiserror dependency to Cargo.toml
zhenfeizhang 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: Release-plz | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [closed] | ||
| branches: | ||
| - main | ||
| # Allow manual re-runs if publish fails (e.g., crates.io outage) | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| release-plz-release: | ||
| name: Release-plz release | ||
| runs-on: ubuntu-latest | ||
| if: >- | ||
| ${{ | ||
| github.repository_owner == 'Plonky3' && | ||
| ( | ||
| github.event_name == 'workflow_dispatch' || | ||
| (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')) | ||
| ) | ||
| }} | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.RELEASE_PLZ_TOKEN }} | ||
| - name: Install Rust toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
| - name: Run release-plz | ||
| uses: release-plz/action@v0.5 | ||
| with: | ||
| command: release | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} | ||
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
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,50 @@ | ||
| # Releasing Plonky3 | ||
|
|
||
| This document describes how to create a new release of Plonky3. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - Install [release-plz](https://release-plz.dev/docs/installation) | ||
| - Set the `GIT_TOKEN` environment variable with a GitHub token that has permission to create PRs | ||
|
|
||
| ## Creating a Release | ||
|
|
||
| 1. Ensure your local `main` branch is up-to-date with the remote: | ||
| ```bash | ||
| git checkout main | ||
| git pull origin main | ||
| ``` | ||
|
|
||
| 2. Run the release script: | ||
| ```bash | ||
| ./create_release.sh | ||
| ``` | ||
|
|
||
| 3. This creates a PR with: | ||
| - Version bumps for all crates (in lock-step) | ||
| - Updated changelogs based on conventional commits | ||
|
|
||
| 4. Review and merge the PR. Once merged, CI automatically publishes all crates to crates.io. | ||
|
|
||
| ## How It Works | ||
|
|
||
| - **Version grouping**: All crates share the same version via `version_group = "plonky3"` in `release-plz.toml` | ||
| - **Changelog generation**: Uses [git-cliff](https://git-cliff.org/) configured in `cliff.toml` | ||
| - **Version bump detection**: `release-plz` uses [cargo-semver-checks](https://github.com/obi1kenobi/cargo-semver-checks) to automatically detect the appropriate version bump: | ||
| - Breaking API changes (removed/changed public items) → major bump | ||
| - New public API additions → minor bump | ||
| - Bug fixes, internal changes, docs → patch bump | ||
| - **Conventional commits** (optional): If used, commit prefixes like `feat!:` can also signal breaking changes | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### CI publish failed | ||
|
|
||
| If the publish step fails (e.g., crates.io outage), you can manually re-run the workflow: | ||
|
|
||
| 1. Go to Actions → Release-plz | ||
| 2. Click "Run workflow" on the main branch | ||
|
|
||
| ### release-plz says "no changes to release" | ||
|
|
||
| This means there are no conventional commits since the last release tag. Ensure your commits follow the [conventional commits](https://www.conventionalcommits.org/) format. |
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.