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: sindri tokio #53

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
c463b39
feat: add `GetVkResponse` (#16)
0xmountaintop Sep 27, 2024
9db7279
implement sindri client
0xmountaintop Sep 29, 2024
55404a9
compile
lispc Sep 29, 2024
e3fe8bc
fix url join
lispc Sep 29, 2024
1e7a475
improve
lispc Sep 29, 2024
a73fa37
hardcode version
lispc Sep 29, 2024
04318dc
fix vk codec
lispc Sep 29, 2024
3eb6af7
handle reformat_vk error
lispc Sep 29, 2024
0b2a46d
merge
lispc Sep 30, 2024
41ffe50
hardcode versio
lispc Sep 30, 2024
516bd48
fix prover_height
lispc Sep 30, 2024
a21cd3d
improve error
lispc Sep 30, 2024
cc388d3
fix status
lispc Sep 30, 2024
d873eb3
fix SindriTaskStatusResponse
lispc Sep 30, 2024
442669b
improve logging
lispc Sep 30, 2024
d08020f
skip compute_time_sec
lispc Sep 30, 2024
8ae991b
deal with chunk_proof for now
lispc Sep 30, 2024
3096a7c
add tretry
lispc Sep 30, 2024
2907e41
Revert "Revert "refactor: use tokio async pattern (#15)" (#17)"
0xmountaintop Oct 4, 2024
b65870e
fix
lispc Oct 4, 2024
f7af941
merge
lispc Oct 4, 2024
c179c95
fix
lispc Oct 4, 2024
f0b2473
merge
lispc Oct 4, 2024
825ab86
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 4, 2024
5667bb4
fix task_type
lispc Oct 8, 2024
7db58b1
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
0xmountaintop Oct 8, 2024
e97a9b5
refactor (#22)
0xmountaintop Oct 8, 2024
f5b246f
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
0xmountaintop Oct 8, 2024
2791edc
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
0xmountaintop Oct 9, 2024
0523a71
support general proofs (#25)
0xmountaintop Oct 10, 2024
5ced57e
fix prover_type in login
0xmountaintop Oct 13, 2024
dcc26bc
update
lispc Oct 16, 2024
f502ae3
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 16, 2024
c13a0cc
clean up
lispc Oct 16, 2024
bc5533a
refactor
lispc Oct 16, 2024
0643b29
update types
lispc Oct 16, 2024
30def05
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 16, 2024
24894e8
update comments
lispc Oct 16, 2024
76d5973
add comments
lispc Oct 17, 2024
bf53e0c
merge
lispc Oct 17, 2024
e6e60a6
add helm chart (#30)
sbaizet-ledger Oct 21, 2024
5d38425
Helm charts (#32)
sbaizet-ledger Oct 22, 2024
3f6d84b
Helm charts (#34)
sbaizet-ledger Oct 22, 2024
6f21a8c
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
0xmountaintop Oct 24, 2024
d717a1f
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 24, 2024
4d0ebd1
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 24, 2024
e3a8d5d
Update docker image (#39)
sbaizet-ledger Oct 24, 2024
45f2ce6
fix helm chart github action (#40)
sbaizet-ledger Oct 24, 2024
7e11e62
fix dependencies
lispc Oct 29, 2024
c78fc2b
Merge branch 'haoyu/sindri_tokio' of github.com:scroll-tech/scroll-pr…
lispc Oct 29, 2024
b1114c8
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 29, 2024
18aeeda
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Oct 29, 2024
6727f86
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
0xmountaintop Nov 1, 2024
853c7c9
read circuit_type from env
0xmountaintop Nov 5, 2024
ab2bdf4
add more
lispc Nov 5, 2024
27f2a9a
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
lispc Nov 5, 2024
6d68040
feat: add task cache (#47)
0xmountaintop Nov 8, 2024
9b93e6f
Merge remote-tracking branch 'origin/main' into haoyu/sindri_tokio
0xmountaintop Nov 8, 2024
54f8fb1
improve logging
lispc Nov 9, 2024
76c73d9
fix json recursion limit
lispc Nov 9, 2024
93b045c
add env
lispc Nov 9, 2024
a8c0f39
Merge branch 'main' into haoyu/sindri_tokio
yiweichi Jan 7, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/publish-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint, test and publish charts

on:
push:
branches: [ release/* ]
branches: [ haoyu/sindri_tokio ]
paths:
- 'charts/**'

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ db/
# Helm chart related
*.lock
*.tgz

.vscode/
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ log = "0.4"
env_logger = "0.11.3"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.116"
serde_stacker = "0.1"
futures = "0.3.30"
ethers-core = { git = "https://github.com/scroll-tech/ethers-rs.git", branch = "v2.0.7" }
ethers-providers = { git = "https://github.com/scroll-tech/ethers-rs.git", branch = "v2.0.7" }
Expand Down
2 changes: 1 addition & 1 deletion charts/scroll-proving-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Kubernetes: `>=1.22.0-0`
| global.nameOverride | string | `"scroll-proving-sdk"` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"scrolltech/sdk-cloud-prover"` | |
| image.tag | string | `"v0.0.2"` | |
| image.tag | string | `"sindri-v0.0.2"` | |
| persistence.config.enabled | bool | `true` | |
| persistence.config.mountPath | string | `"/sdk_prover/"` | |
| persistence.config.name | string | `"scroll-proving-sdk-config"` | |
Expand Down
6 changes: 3 additions & 3 deletions charts/scroll-proving-sdk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ global:
image:
repository: scrolltech/sdk-cloud-prover
pullPolicy: Always
tag: v0.0.2
tag: sindri-v0.0.2

command:
- "/bin/sh"
Expand Down Expand Up @@ -62,7 +62,7 @@ probes:
scrollConfig: |
{}
# {
# "prover_name_prefix": "cloud_prover_",
# "prover_name_prefix": "sindri_",
# "keys_dir": "keys",
# "coordinator": {
# "base_url": "https://coordinator-api.scrollsdk",
Expand All @@ -78,7 +78,7 @@ scrollConfig: |
# "circuit_version": "v0.13.1",
# "n_workers": 1,
# "cloud": {
# "base_url": <CLOUD_PROVING_SERVICE_BASE_URL>,
# "base_url": "https://sindri.app/api/v1/",
# "api_key": <API_KEY>,
# "retry_count": 3,
# "retry_wait_time_sec": 5,
Expand Down
4 changes: 2 additions & 2 deletions charts/scroll-proving-sdk/values/production.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
scrollConfig: |
{
"prover_name_prefix": "cloud_prover_",
"prover_name_prefix": "sindri_",
"keys_dir": "keys",
"coordinator": {
"base_url": "https://coordinator-api.scrollsdk",
Expand All @@ -16,7 +16,7 @@ scrollConfig: |
"circuit_version": "v0.13.1",
"n_workers": 1,
"cloud": {
"base_url": <CLOUD_PROVING_SERVICE_BASE_URL>,
"base_url": "https://sindri.app/api/v1/",
"api_key": <API_KEY>,
"retry_count": 3,
"retry_wait_time_sec": 5,
Expand Down
Loading
Loading