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

feat: api improvements #5

Merged
merged 41 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5c68b4f
cleanup
yuwen01 Oct 3, 2024
8c2e7f0
Working E2E example
yuwen01 Oct 4, 2024
1dfb248
merge main
yuwen01 Oct 7, 2024
80ff894
change tests to use fixture
yuwen01 Oct 7, 2024
5649bea
refactor serialization logic to library crate
yuwen01 Oct 7, 2024
6e9d7c7
readme and cleanup
yuwen01 Oct 7, 2024
cc80e84
add load and save helpers
yuwen01 Oct 7, 2024
4093f9c
add another test
yuwen01 Oct 7, 2024
90e3b1c
more fixes and comments
yuwen01 Oct 7, 2024
b8e6b8f
revert verifier cargo toml
yuwen01 Oct 8, 2024
cf85743
update readme with install instructions
yuwen01 Oct 8, 2024
2826af5
add comments, rename test file
yuwen01 Oct 8, 2024
c1cdaf3
remove redundant readme
yuwen01 Oct 8, 2024
18c907a
simplify script and program, use pnpm wherever possible
yuwen01 Oct 8, 2024
83dd138
clean script more
yuwen01 Oct 8, 2024
84c23d4
add docs, reorganize workspace
yuwen01 Oct 9, 2024
d8df4fe
add some helper methods
yuwen01 Oct 9, 2024
aaadf24
refactor tests to library + new convenience methods
yuwen01 Oct 9, 2024
3648030
fewer dependencies
yuwen01 Oct 9, 2024
e97276b
add groth16 vkey checking
yuwen01 Oct 9, 2024
b8fa325
make verify_proof_raw public
yuwen01 Oct 9, 2024
8aef677
remove unused dependencies
yuwen01 Oct 9, 2024
62f7fbc
WIP: issue importing solana-client or solana-test-validator or any of…
yuwen01 Oct 10, 2024
8ef66cd
add checking vkey example
yuwen01 Oct 10, 2024
0bf08ba
merge master
yuwen01 Oct 11, 2024
dc7b4de
finished migration
yuwen01 Oct 11, 2024
092c876
add tests
yuwen01 Oct 11, 2024
0119dd9
merge unify rust
yuwen01 Oct 11, 2024
a7739c7
added hashing the public values
yuwen01 Oct 11, 2024
8136a7f
deserialized the public values
yuwen01 Oct 11, 2024
8cca0a9
Merge branch 'master' into yuwen/example-improvement
yuwen01 Oct 11, 2024
027f4f6
first round fixes
yuwen01 Oct 11, 2024
0a20301
readme fixes
yuwen01 Oct 11, 2024
68b2a4a
nits
yuwen01 Oct 11, 2024
f7ef66d
add snippets to readme
yuwen01 Oct 11, 2024
f5604fa
refactor
yuwen01 Oct 15, 2024
ebf0958
add deployment instructions
yuwen01 Oct 15, 2024
46a175d
nits 1
yuwen01 Oct 15, 2024
67c6ea1
refactor
yuwen01 Oct 15, 2024
f2cec4d
another refactor
yuwen01 Oct 15, 2024
2c6d62d
nits
yuwen01 Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 2 additions & 30 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,7 @@ jobs:
- name: Run tests
run: |
cd verifier
cargo test --package sp1-solana:0.1.0 --lib --features sp1-serialize

solana-test:
name: Solana Test
runs-on: [runs-on, runner=8cpu-linux-x64, "run-id=${{ github.run_id }}"]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Solana CLI tools
run: |
sh -c "$(curl -sSfL https://release.anza.xyz/edge/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: 9

- name: Install dependencies
run: |
cd example/solana
pnpm install

- name: Run build-and-test script
run: |
cd example/solana
yarn build-and-test
cargo test --package sp1-solana --lib -- test --show-output

lock-files:
name: "Check lock files"
Expand All @@ -61,8 +34,7 @@ jobs:
- name: "Update lock files"
run: |
cargo tree
(cd ./example/solana/program && cargo tree)
(cd ./example/script && cargo tree)
(cd ./example/sp1-program && cargo tree)

- name: "Assert no changes"
run: |
Expand Down
Loading