Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

feat: allow customization of trusting_period #63

feat: allow customization of trusting_period

feat: allow customization of trusting_period #63

Workflow file for this run

name: programs
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
update-client:
strategy:
fail-fast: true
name: Build update-client
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-04-17
override: true
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
- name: Build SP1 program
run: |
cd programs/update-client
~/.sp1/bin/cargo-prove prove build
membership:
strategy:
fail-fast: true
name: Build membership
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-04-17
override: true
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
- name: Build SP1 program
run: |
cd programs/membership
~/.sp1/bin/cargo-prove prove build
uc-and-membership:
strategy:
fail-fast: true
name: Build uc-and-membership
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-04-17
override: true
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
- name: Build SP1 program
run: |
cd programs/uc-and-membership
~/.sp1/bin/cargo-prove prove build