Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d278ec4
BM-554: Fix cycle count in order generator (#328)
willpote Feb 20, 2025
e4e1270
BM-568: run CI on release branches, enable zeth compile check (#338)
austinabell Feb 21, 2025
c9d1bd9
BM-305: Integrate SetInclusionReceipt (#228)
capossele Feb 25, 2025
138993a
BM-574: fix CI minor version restriction (#345)
austinabell Feb 25, 2025
52f464f
BM-591: Adjust wording on stated hardware requirements (#358)
nategraf Mar 5, 2025
69c1cda
docs: Update gpu agent name (#311)
derrix060 Mar 6, 2025
77546cd
docs: Update documentation on how to get job status (#310)
derrix060 Mar 6, 2025
98e2ae6
fix: Fixed missing argument check for JOB variable in the script (#356)
hexcow Mar 6, 2025
c78caee
BM-621: Add configurable warnings and error logs for stake balance (#…
willemolding Mar 12, 2025
af7922a
BM-626: Fix bento crash with zero keccak input request (#396)
austinabell Mar 12, 2025
c8a71ed
BM-625: docs: rename indexer with explorer (#395)
nahoc Mar 12, 2025
1337df8
BM-491: feat: redirect if user has seen homepage already (#281)
nahoc Mar 13, 2025
7ce3beb
BM-595: Bump risc0-ethereum to v1.4 and alloy to 0.11 (#367)
capossele Mar 13, 2025
22ec5c5
BM-628: Update CODEOWNERS (#398)
willpote Mar 13, 2025
c17d130
BM-531: Bento CI (#309)
mothran Mar 14, 2025
67bcee5
BM-616: TaskDB Optimizations (#400)
rlukata Mar 14, 2025
3b5b83c
BM-620: Refactor env vars and build scripts (#389)
austinabell Mar 14, 2025
d780282
BM-634: fix bento CI for new broker env template (#405)
austinabell Mar 14, 2025
17b1a9b
BM-619: Switch to Gnark (#399)
rlukata Mar 14, 2025
606f3fa
BM-632: docs: remake homepage (#403)
nahoc Mar 17, 2025
cd61540
BM-534: Add configurable warning and error logs for broker balance (#…
willemolding Mar 17, 2025
dc0438f
BM-658: Add proper error handling for eth value string parsing failur…
willemolding Mar 18, 2025
35e82d2
BM-661: Add license and description so that we can publish balance-al…
nategraf Mar 18, 2025
9eb3427
BM-633: Add Keccak to Planner (#404)
rlukata Mar 18, 2025
cb211da
BM-662: Bump risc0-ethereum to v1.4.2 (#420)
capossele Mar 19, 2025
c1bed7b
BM-583: Add note on using event filter rpc urls in broker (#412)
willpote Mar 19, 2025
ee43507
BM-657: Add retries for calls to Bonsai (#415)
willpote Mar 20, 2025
4c58760
BM-665: Fix running tests on CI (#423)
capossele Mar 20, 2025
baad457
BM-598: Limit concurrent locked orders (#413)
austinabell Mar 20, 2025
caa79c3
BM-629: Add retry policy to Eth RPC client in order stream (#401)
nategraf Mar 20, 2025
07ddc3e
BM-668: Bump `risc0-ethereum` to 1.4.3 (#426)
capossele Mar 20, 2025
15b3a8e
BM-669: implementation of estimating capacity given prover KHz (#417)
austinabell Mar 20, 2025
01c4d06
BM-615 - Add caching for assessor and set builder images (#393)
willemolding Mar 20, 2025
f58d8a6
Fix up the Zeth order generator from missed changes in merge
nategraf Mar 21, 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
22 changes: 0 additions & 22 deletions .env

This file was deleted.

15 changes: 9 additions & 6 deletions .env-compose → .env.broker-template
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ MINIO_BUCKET=workflow

GRAFANA_IMG=grafana/grafana:11.0.0

PRIVATE_KEY=0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba
SEGMENT_SIZE=21
RISC0_KECCAK_PO2=17

BOUNDLESS_MARKET_ADDR=0xCE3478A9E0167a6Bc5716DC39DbbbfAc38F27623
SET_VERIFIER_ADDR=0x261D8c5e9742e6f7f1076Fa1F560894524e19cad
PRIVATE_KEY=

SEGMENT_SIZE=20
RISC0_KECCAK_PO2=17
BOUNDLESS_MARKET_ADDRESS=
SET_VERIFIER_ADDRESS=

RPC_URL="http://localhost:8545"
# Note you must use an RPC URL that supports event filters. Many free RPC providers
# do not support them.
RPC_URL=
ORDER_STREAM_URL=
15 changes: 15 additions & 0 deletions .env.localnet-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Default anvil node and order stream endpoint
RPC_URL="http://localhost:8545"
ORDER_STREAM_URL="http://localhost:8585"

### Contracts ###
# This will be copied to .env.localnet and filled with `just localnet`

SET_VERIFIER_ADDRESS=
BOUNDLESS_MARKET_ADDRESS=

### Wallets private keys ###
# Note: This is a funded address by default with anvil test configuration (index 3).

PRIVATE_KEY="0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6"
ADDRESS="0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
6 changes: 6 additions & 0 deletions .env.testnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Sepolia contract addresses
BOUNDLESS_MARKET_ADDRESS=0x69c7943DA0D7e45D44Bd0cE7a2412DCdAe423788
SET_VERIFIER_ADDRESS=0xEf0A93B2310d52358F1eCA0C946aD7D25596e7dd

# Public order stream URL
ORDER_STREAM_URL="https://order-stream.beboundless.xyz/"
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# Note: Order is important; the last matching pattern takes the most
# precedence.

* @boundless-xyz/maintainers @capossele @Wollac @zeroecco @austinabell @willemolding
/docs/ @boundless-xyz/maintainers @capossele @Wollac @zeroecco @austinabell @willemolding
* @boundless-xyz/maintainers @capossele @Wollac @zeroecco @austinabell @willemolding @rlukata
/docs/ @boundless-xyz/maintainers @capossele @Wollac @zeroecco @austinabell @willemolding @rlukata
72 changes: 65 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- rust-pkg-check
- docs-rs
- bento
- bento_run

runs-on: ubuntu-latest
steps:
Expand All @@ -44,6 +45,13 @@ jobs:

rust:
runs-on: [self-hosted, Linux, X64, prod, cpu]
services:
postgres:
image: postgres:latest
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: password
steps:
- name: checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -111,8 +119,9 @@ jobs:
run: git diff --exit-code -- crates/boundless-market/src/contracts/artifacts

- name: cargo test
run: cargo test --locked --workspace --all-targets -- ignored
run: cargo test --locked --workspace --all-targets -- --include-ignored
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
RISC0_DEV_MODE: true

- name: sccache stats
Expand Down Expand Up @@ -179,14 +188,59 @@ jobs:
run: sqlx migrate run --source ./crates/taskdb/migrations/

- name: cargo test
run: cargo test --locked --workspace --all-targets -- ignored
run: cargo test --locked --workspace --all-targets -- --ignored
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
RISC0_DEV_MODE: true

- name: sccache stats
run: sccache --show-stats


bento_run:
runs-on: [self-hosted, Linux, X64, prod, cuda, g6.4xlarge]
needs: files-changed
if: needs.files-changed.outputs.bento == 'true'
steps:
- name: checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: install rust
uses: risc0/risc0/.github/actions/[email protected]
with:
toolchain: '1.81'

- name: Fetch CI AWS Creds
id: aws-creds
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: 'us-west-2'
role-to-assume: 'arn:aws:iam::083632199359:role/gha_oidc_risc0_cache_shared_access'
output-credentials: true

- name: create ci creds file
run: |
echo "[default]" > ./dockerfiles/ci-cache-creds.txt
echo "aws_access_key_id=${{ steps.aws-creds.outputs.aws-access-key-id }}" >> ./dockerfiles/ci-cache-creds.txt && \
echo "aws_secret_access_key=${{ steps.aws-creds.outputs.aws-secret-access-key }}" >> ./dockerfiles/ci-cache-creds.txt && \
echo "aws_session_token=${{ steps.aws-creds.outputs.aws-session-token }}" >> ./dockerfiles/ci-cache-creds.txt

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Start bento cluster
run: docker compose --env-file ./.env.broker-template -f compose.yml -f ./dockerfiles/compose.ci.yml up -d

- name: setup sccache + s3
uses: ./.github/actions/sccache

- name: Run a sample proof through
# TODO: snark, multi-segments, bigint, keccak, composition guest to express all functionality
working-directory: bento
run: RUST_LOG=info cargo run --bin bento_cli -- -c 32 -s

rust-pkg-check:
runs-on: [self-hosted, Linux, X64, prod, cpu]
steps:
Expand All @@ -209,7 +263,7 @@ jobs:
- name: install cargo risczero
uses: ./.github/actions/bininstall-risc0
with:
risczero-version: '1.2.0'
risczero-version: '~1.2.0'
toolchain-version: 'r0.1.81.0'

- name: check order-stream
Expand Down Expand Up @@ -403,6 +457,8 @@ jobs:
runs-on: ubuntu-latest
outputs:
docker: ${{ steps.changes.outputs.docker }}
bento: ${{ steps.changes.outputs.bento }}

steps:
- name: checkout code
uses: actions/checkout@v4
Expand All @@ -411,10 +467,12 @@ jobs:
id: changes
with:
filters: |
src:
docker:
- 'dockerfiles/**'
- 'compose.yml'
- '.env-compose'
- '.env.broker-template'
bento:
- 'bento/**'

docker:
runs-on: [self-hosted, Linux, X64, prod, cpu]
Expand All @@ -427,7 +485,7 @@ jobs:
submodules: recursive

- name: docker-compose lint
run: docker compose --profile broker --env-file ./.env-compose config
run: docker compose --profile broker --env-file ./.env.broker-template config

- name: Fetch CI AWS Creds
id: aws-creds
Expand All @@ -448,4 +506,4 @@ jobs:
run: docker buildx create --driver docker-container --use

- name: docker compose build
run: docker compose --profile broker --env-file ./.env-compose -f compose.yml -f ./dockerfiles/compose.ci.yml build
run: docker compose --profile broker --env-file ./.env.broker-template -f compose.yml -f ./dockerfiles/compose.ci.yml build
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ deployment_secrets.toml
# Devnet logs
/logs

# Dotenv file
# .env
# Ignore all env files
.env*
# Except for the templates and running network env files
!.env.broker-template
!.env.localnet-template
!.env.testnet

# Cargo
target/
Expand Down
Loading
Loading