forked from Sovereign-Labs/sovereign-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MockDa support for
demo-rollup
(Sovereign-Labs#1193)
* Add mock config * Update mock-da readme * Test mock-da in the CI * Fix readme * Rneame config * Update readme * Rename job * Update readme * Update table of contents * cleanup * Fox ci * Code review feedback * Fix readme * Add celestia info * Update examples/demo-rollup/README.md Co-authored-by: Cem Özer <[email protected]> * Update readme --------- Co-authored-by: Cem Özer <[email protected]>
- Loading branch information
Showing
21 changed files
with
522 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,14 +354,47 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- run: npm install -g doctoc | ||
- name: Update table of contents | ||
- name: Update table of contents for mock-da | ||
run: doctoc README.md --github --notitle | ||
working-directory: ./examples/demo-rollup | ||
- name: Update table of contents for celestia-da | ||
run: doctoc README_CELESTIA.md --github --notitle | ||
working-directory: ./examples/demo-rollup | ||
- name: Check table of contents | ||
# Exit status 0 means no changes were made, so the table of contents is | ||
# up to date. | ||
run: git diff --exit-code | ||
check-demo-rollup-bash-commands: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
needs: nextest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: rui314/setup-mold@v1 | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v2 | ||
with: | ||
version: "23.2" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Install cargo-risczero | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- name: Install risc0-zkvm toolchain # Use the risc0 cargo extension to install the risc0 std library for the current toolchain | ||
run: cargo risczero install | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Install Rust | ||
run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
cache-provider: "buildjet" | ||
save-if: ${{ github.ref == 'refs/heads/nightly' }} | ||
- name: Compile README.md to Bash | ||
run: cargo run --bin bashtestmd -- --input examples/demo-rollup/README_CELESTIA.md --output demo-rollup-readme.sh --tag test-ci | ||
- run: cat demo-rollup-readme.sh | ||
- run: chmod +x demo-rollup-readme.sh && ./demo-rollup-readme.sh | ||
check-demo-rollup-bash-commands-mock-da: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
needs: nextest | ||
timeout-minutes: 60 | ||
|
@@ -391,6 +424,7 @@ jobs: | |
run: cargo run --bin bashtestmd -- --input examples/demo-rollup/README.md --output demo-rollup-readme.sh --tag test-ci | ||
- run: cat demo-rollup-readme.sh | ||
- run: chmod +x demo-rollup-readme.sh && ./demo-rollup-readme.sh | ||
|
||
validate-packages-to-publish-yml: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.