Skip to content

Commit

Permalink
feat(celestia-adapter): update to celestia-node v0.11 and celestia ap…
Browse files Browse the repository at this point in the history
…p v1.0 (Sovereign-Labs#997)

* chore: create a new docker compose setup with local celestia network

* feat: refactor celestia-adapter to use celestia-types

* feature guard celestia-rpc crate

* revert celestia-address changes from: Initialize genesis state form genesis files. (Sovereign-Labs#972)

* switch to address from celestia-types

* cleanup, satisfy the clippy

* switch to celestia_types commitment generation

* Remove shares parsing

* don't try to translate EDS to shares

* treat extended data square as plain binary blobs, not shares

* Simplify dah validation

* Use namespaced shares for completeness proof

* rebase fixes

* Update test header.json

* Update celestia-node and celestia-tendermint

* Update test data for celestia adapter

* fix existing tests

* remove hex-literal dependency

* Add tests for txs verification

* fix linting

* Add protoc to the test workflow

* Allow Zlib licenses in dependencies

* Add protoc to the jobs where it was missing

* Update demo-rollup readme with the changes to local setup

* handle the case where amount of blobs is different than amount of proofs

* fix long running make start on the CI

* align prover benchmarks

* remove fuzzing namespace group creation from base64

* Update lockfiles

* Fix import

* Add protoc to doc tests

---------

Co-authored-by: Blazej Kolad <blazejkolad@gmail.com>
Co-authored-by: Preston Evans <preston.b.evans@gmail.com>
  • Loading branch information
3 people authored Oct 10, 2023
1 parent 714bb96 commit 41a3408
Show file tree
Hide file tree
Showing 60 changed files with 3,220 additions and 3,248 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show && rustup install nightly && rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu # Nightly is needed for our configuration of cargo fmt
- name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code
Expand Down Expand Up @@ -103,6 +107,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show
- name: cargo install cargo-hack
Expand All @@ -125,6 +133,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show
- name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code
Expand All @@ -145,6 +157,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show
- name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code
Expand All @@ -168,6 +184,10 @@ jobs:
with:
submodules: true
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show
- name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code
Expand Down Expand Up @@ -211,6 +231,10 @@ jobs:
# `check` job does and their caches are shared, so it's best to keep
# things as similar as possible.
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -271,6 +295,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rui314/setup-mold@v1
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
- name: Install Rust
run: rustup show
- name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ fuzz/Cargo.lock

demo_data/
/.vscode/*

/docker/credentials/*
!/docker/credentials/bridge-0.addr
!/docker/credentials/bridge-0.key
Loading

0 comments on commit 41a3408

Please sign in to comment.