-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add whir as a crate in ceno via git subtree (#841)
re-open of #840 due to the base branch change integrate whir as git subtree. ### why subtree - This enable us to plug `whir` as a crate in ceno, thus it can share most of libraries with ceno - review everything just in one ceno PR - retain approach sync back to upstream via command `git subtree push --prefix=whir https://github.com/scroll-tech/whir <feature branch>`. The timing to do that is decouple with our development in Ceno. We only need that when going to sync back to upstream With this PR, we can start to do refactor on whir, e.g. - migrate field to plonky3 - unify transcript - share MLE + sumcheck from Ceno - ... --------- Co-authored-by: Yuncong Zhang <[email protected]>
- Loading branch information
1 parent
59e74dc
commit 6d764ca
Showing
62 changed files
with
13,272 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
|
@@ -12,6 +12,7 @@ members = [ | |
"poseidon", | ||
"sumcheck", | ||
"transcript", | ||
"whir", | ||
] | ||
resolver = "2" | ||
|
||
|
This file contains 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 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,24 @@ | ||
name: Rust | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Switch toolchain | ||
run: rustup update nightly && rustup default nightly | ||
- name: Build | ||
run: cargo build --release --verbose | ||
- name: Run tests | ||
run: cargo test --release --verbose |
This file contains 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,12 @@ | ||
/target | ||
scripts/temp/ | ||
bench_utils/target | ||
*_proof | ||
artifacts | ||
outputs/temp/ | ||
scripts/__pycache__/ | ||
.DS_Store | ||
outputs/ | ||
.idea | ||
.vscode |
Oops, something went wrong.