Skip to content

Commit

Permalink
feat: SP1 1.3.0-rc4 (#115)
Browse files Browse the repository at this point in the history
* feat: use 1.3.0-rc2

* add

* dont request span proof where l2Start gte l2End

* add proofs

* block number

* add

* feat: Add `useCachedDB` flag (#117)

* update elf

* use cached db

* rm

* add

* add

* fix: useCachedDb wasn't working, fixed now

* use port 8089, less freq used

* fix: usecacheddb

* clean up

* switch to stable tags

* chore: update runnersA

* switch ci
  • Loading branch information
ratankaliani authored Sep 12, 2024
1 parent 7c6486f commit 0166eb1
Show file tree
Hide file tree
Showing 28 changed files with 402 additions and 340 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ L2_CHAIN_ID=
MAX_CONCURRENT_PROOF_REQUESTS=
MAX_BLOCK_RANGE_PER_SPAN_PROOF=30
OP_SUCCINCT_SERVER_URL=http://op-succinct-server:3000
USE_CACHED_DB=false

# SP1 Configuration for the Server
PROVER_NETWORK_RPC=
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build_native_programs:
runs-on:
- runs-on
- runner=16cpu-linux-x64
- runner=16cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- name: Checkout code
Expand All @@ -26,7 +26,7 @@ jobs:
build_zkvm_programs:
runs-on:
- runs-on
- runner=64cpu-linux-x64
- runner=64cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build the Docker Compose setup
runs-on:
- runs-on
- runner=64cpu-linux-x64
- runner=64cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/op_proposer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
test_op_proposer_go:
runs-on:
- runs-on
- runner=16cpu-linux-x64
- runner=16cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- name: Checkout code
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,26 @@ concurrency:
jobs:
lint:
name: Formatting & Clippy
runs-on: [runs-on, runner=8cpu-linux-x64, "run-id=${{ github.run_id }}"]
runs-on: [runs-on, runner=32cpu-linux-arm64 , "run-id=${{ github.run_id }}"]
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup CI
uses: ./.github/actions/setup

- name: Run cargo fmt
uses: actions-rs/cargo@v1
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
command: fmt
args: --all -- --check
profile: minimal
toolchain: stable
components: rustfmt

- name: Run rustfmt
run: cargo fmt --all -- --check
env:
CARGO_INCREMENTAL: 1

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- -D warnings -A incomplete-features
run: cargo clippy --all-features --all-targets -- -D warnings -A incomplete-features
env:
CARGO_INCREMENTAL: 1
2 changes: 1 addition & 1 deletion .github/workflows/pr_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Title
runs-on:
- runs-on
- runner=2cpu-linux-x64
- runner=2cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- uses: amannn/action-semantic-pull-request@v5
Expand Down
Loading

0 comments on commit 0166eb1

Please sign in to comment.