Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
59 changes: 27 additions & 32 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,41 @@
name: Cargo Tests
name: Espresso Cargo Tests

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Install SP1 toolchain
run: |
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
source ~/.bashrc

- name: Install just
uses: extractions/setup-just@v3
- name: Install just
uses: extractions/setup-just@v3

- name: Test
run: just tests
env:
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }} # TODO: set proper RPCs in secret to run the tests
L1_RPC: ${{ secrets.L1_RPC }}
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }}
L2_RPC: ${{ secrets.L2_RPC }}
REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POST_TO_GITHUB: ${{ github.event_name == 'pull_request' }}
- name: Test
run: just tests
env:
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }} # TODO: set proper RPCs in secret to run the tests
L1_RPC: ${{ secrets.L1_RPC }}
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }}
L2_RPC: ${{ secrets.L2_RPC }}
REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POST_TO_GITHUB: ${{ github.event_name == 'pull_request' }}
60 changes: 30 additions & 30 deletions Cargo.lock

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

26 changes: 13 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -236,19 +236,19 @@ p256 = { git = "https://github.com/sp1-patches/elliptic-curves", tag = "patch-p2
k256 = { git = "https://github.com/sp1-patches/elliptic-curves", tag = "patch-k256-13.4-sp1-5.0.0" }

[patch."https://github.com/op-rs/kona"]
kona-mpt = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-derive = { git = "https://github.com/celo-org/kona", rev = "b0ea596", default-features = false }
kona-driver = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-preimage = { git = "https://github.com/celo-org/kona", rev = "b0ea596", features = [
kona-mpt = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-derive = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f", default-features = false }
kona-driver = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-preimage = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f", features = [
"rkyv",
"serde",
] }
kona-executor = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-proof = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-client = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-host = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-providers-alloy = { git = "https://github.com/celo-org/kona", rev = "b0ea596" }
kona-rpc = { git = "https://github.com/celo-org/kona", rev = "b0ea596", default-features = false }
kona-protocol = { git = "https://github.com/celo-org/kona", rev = "b0ea596", default-features = false }
kona-registry = { git = "https://github.com/celo-org/kona", rev = "b0ea596", default-features = false }
kona-genesis = { git = "https://github.com/celo-org/kona", rev = "b0ea596", default-features = false }
kona-executor = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-proof = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-client = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-host = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-providers-alloy = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f" }
kona-rpc = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f", default-features = false }
kona-protocol = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f", default-features = false }
kona-registry = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f", default-features = false }
kona-genesis = { git = "https://github.com/EspressoSystems/kona", rev = "ee5865f", default-features = false }