Skip to content

Commit 6265a9d

Browse files
authored
Merge branch 'main' into sasha/simplify-flow
2 parents 725e921 + 432bcbc commit 6265a9d

16 files changed

Lines changed: 1921 additions & 418 deletions

File tree

.env

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Environment variables read by the example app.
22
# Set to target the Sepolia deployment, from https://docs.beboundless.xyz/deployments
33
RPC_URL="https://ethereum-sepolia-rpc.publicnode.com"
4-
ORDER_STREAM_URL="https://order-stream.beboundless.xyz"
5-
SET_VERIFIER_ADDRESS="0xEf0A93B2310d52358F1eCA0C946aD7D25596e7dd"
6-
VERIFIER_ROUTER_ADDRESS="0x925d8331ddc0a1F0d96E68CF073DFE1d92b69187"
7-
BOUNDLESS_MARKET_ADDRESS="0x69c7943DA0D7e45D44Bd0cE7a2412DCdAe423788"
8-
EVEN_NUMBER_ADDRESS="0x29340e3f2264d3dAB1c89328b1AbbcE756e2aD5B"
4+
5+
ORDER_STREAM_URL="https://eth-sepolia.beboundless.xyz/"
6+
EVEN_NUMBER_ADDRESS="0x29340e3f2264d3dAB1c89328b1AbbcE756e2aD5B"
7+
SET_VERIFIER_ADDRESS="0xad2c6335191EA71Ffe2045A8d54b93A851ceca77"
8+
VERIFIER_ADDRESS="0x925d8331ddc0a1F0d96E68CF073DFE1d92b69187"
9+
BOUNDLESS_MARKET_ADDRESS="0x006b92674E2A8d397884e293969f8eCD9f615f4C"
10+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: risczero toolchain install
2+
description: Install risczero toolchain
3+
4+
inputs:
5+
risczero-version:
6+
description: 'Version of the RISC Zero zkvm to install'
7+
required: false
8+
default: '2.0.1'
9+
type: string
10+
11+
toolchain-version:
12+
description: 'Version of the RISC Zero toolchains to install'
13+
required: false
14+
default: '1.85.0'
15+
type: string
16+
17+
runs:
18+
using: composite
19+
steps:
20+
- name: install rust
21+
uses: risc0/risc0/.github/actions/[email protected]
22+
with:
23+
toolchain: ${{ inputs.toolchain-version }}
24+
25+
- name: install rzup
26+
run: |
27+
curl -L https://risczero.com/install | bash
28+
echo "$HOME/.risc0/bin" >> $GITHUB_PATH
29+
shell: bash
30+
31+
- name: install rzup components
32+
run: |
33+
rzup install --verbose --force cargo-risczero ${{ inputs.risczero-version }}
34+
rzup install --verbose --force r0vm ${{ inputs.risczero-version }}
35+
rzup install --verbose --force rust ${{ inputs.toolchain-version }}
36+
rzup install --verbose --force cpp
37+
shell: bash
38+
39+
- name: test r0vm
40+
shell: bash
41+
run: r0vm --version
42+
43+
- name: test risczero
44+
shell: bash
45+
run: cargo risczero --version

.github/workflows/main.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,14 @@ jobs:
4343

4444
- name: install foundry
4545
uses: foundry-rs/foundry-toolchain@v1
46-
47-
- name: install rust
48-
uses: risc0/risc0/.github/actions/[email protected]
49-
with:
50-
toolchain: '1.81'
5146

52-
- name: install cargo-binstall
53-
uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3
47+
- name: install cargo risczero
48+
uses: ./.github/actions/bininstall-risc0
5449
with:
55-
crate: cargo-binstall
56-
version: '=1.10.8'
57-
locked: true
58-
59-
- name: install cargo-risczero
60-
run: cargo binstall -y --force [email protected]
61-
62-
- name: install risc0 toolchain
63-
run: cargo risczero install --version r0.1.81.0
50+
risczero-version: '2.0.1'
51+
toolchain-version: '1.85.0'
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6454

6555
- name: cargo build
6656
run: cargo build
@@ -88,9 +78,9 @@ jobs:
8878
uses: foundry-rs/foundry-toolchain@v1
8979

9080
- name: install rust
91-
uses: risc0/risc0/.github/actions/rustup@release-1.2
81+
uses: risc0/risc0/.github/actions/rustup@release-2.0
9282
with:
93-
toolchain: '1.81'
83+
toolchain: '1.85'
9484

9585
- name: install cargo-sort
9686
uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3
@@ -99,13 +89,6 @@ jobs:
9989
version: "=1.0.9"
10090
locked: true
10191

102-
- name: install cargo-binstall
103-
uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3
104-
with:
105-
crate: cargo-binstall
106-
version: '=1.10.8'
107-
locked: true
108-
10992
- name: cargo Sort
11093
run: cargo sort --workspace --check
11194

.gitmodules

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
[submodule "lib/forge-std"]
2-
path = lib/forge-std
3-
url = https://github.com/foundry-rs/forge-std
41
[submodule "lib/risc0-ethereum"]
52
path = lib/risc0-ethereum
6-
url = https://github.com/risc0/risc0-ethereum
7-
[submodule "lib/openzeppelin-contracts"]
8-
path = lib/openzeppelin-contracts
9-
url = https://github.com/OpenZeppelin/openzeppelin-contracts
3+
url = https://github.com/risc0/risc0-ethereum

0 commit comments

Comments
 (0)