Skip to content

Update doc commit with last mainnet update (#1309) #4978

Update doc commit with last mainnet update (#1309)

Update doc commit with last mainnet update (#1309) #4978

Workflow file for this run

name: Checks
on:
pull_request:
types:
- labeled
- opened
- synchronize
push:
branches:
- main
tags:
- "[0-9]*.[0-9]*.[0-9]*"
jobs:
read-github-context-object:
runs-on: ubuntu-latest
steps:
# I know this is not pretty (debug information) but it's useful to have this
- name: Read github context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "GITHUB_SHA=${GITHUB_SHA}"
echo "INFO: github context object content below"
echo "${GITHUB_CONTEXT}"
build:
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
- os: macos-15
arch: arm64
runs-on: macos-15
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Cargo Check in nix environment
run: |
nix develop --command bash -c "cargo check --all-targets"
unit-tests:
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
- os: macos-15
arch: arm64
runs-on: macos-15
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run unit tests in nix environment
run: |
nix develop --command bash <<EOF
cargo test \
-p maptos-opt-executor \
-p memseq \
-p move-rocks \
-p movement-types \
-p movement-config \
-p movement-da-util \
-p movement-signer-test
movement-full-node-local:
if: >
github.event.label.name == 'cicd:movement-full-node'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test -t=false"
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test -t=false"
movement-full-node-malicious:
if: >
github.event.label.name == 'cicd:movement-full-node-malicious'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node Gas DoS Test
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.gas-dos -t=false"
movement-multi-node-local:
if: >
github.event.label.name == 'cicd:movement-multi-node-local'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-followers -t=false"
movement-indexer-local:
if: >
github.event.label.name == 'cicd:movement-full-node'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node + indexer Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.celestia-local.indexer.hasura.indexer-test -t=false"
movement-full-node-remote:
if: false
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node Tests Against Holesky and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
MCR_DEPLOYMENT_ACCOUNT_PRIVATE_KEY: ${{ secrets.MCR_DEPLOYMENT_ACCOUNT_PRIVATE_KEY }}
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-holesky.celestia-local.test -t=false"
nix develop --command bash -c "just movement-full-node native build.setup.eth-holesky.celestia-local.test -t=false"
# Gas Dos
gas-dos:
if: >
github.event.label.name == 'cicd:gas-dos'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node Gas DoS Test
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.gas-dos -t=false"
movement-celestia-da-light-node:
if: false # this is effectively tested by the above
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement DA Light Node tests in nix environment
# adjust the log level while debugging
run: CELESTIA_LOG_LEVEL=FATAL nix develop --command bash -c "just movement-celestia-da-light-node native build.setup.test.local -t=false"
governed-gas-pool:
if: >
github.event.label.name == 'cicd:governed-gas-pool'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node + indexer Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-ggp-gas-fee -t=false"
core-resource-signer:
if: >
github.event.label.name == 'cicd:core-resource-signer'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Movement Full Node + indexer Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-ggp-gas-fee -t=false"
mcr:
if: >
github.event.label.name == 'cicd:mcr'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run MCR Client Tests
run: nix develop --command bash -c "just mcr-client native build.local.test -t=false"
cargo-fmt-check:
name: Cargo Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run cargo fmt
run: |
cargo fmt --all -- --check
# Elsa to Biarritz RC1 Checks
bring-up-elsa-to-biarritz-rc1:
if: >
github.event.label.name == 'cicd:bring-up-elsa-to-biarritz-rc1'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Elsa to Biarritz RC1 Bring Up Test
env:
CELESTIA_LOG_LEVEL: FATAL
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-bring-up-elsa-to-biarritz-rc1 -t=false"
migrate-elsa-to-biarritz-rc1:
if: >
github.event.label.name == 'cicd:migrate-elsa-to-biarritz-rc1'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Elsa to Biarritz RC1 Migrate Test
env:
CELESTIA_LOG_LEVEL: FATAL
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-migrate-elsa-to-biarritz-rc1 -t=false"
# Biarritz RC1 to Pre-L1 Merge Checks
bring-up-biarritz-rc1-to-pre-l1-merge:
if: >
github.event.label.name == 'cicd:bring-up-biarritz-rc1-to-pre-l1-merge'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Biarritz RC1 to Pre-L1 Merge Bring Up Test
env:
CELESTIA_LOG_LEVEL: FATAL
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-bring-up-biarritz-rc1-to-pre-l1-merge -t=false"
migrate-biarritz-rc1-to-pre-l1-merge:
if: >
github.event.label.name == 'cicd:migrate-biarritz-rc1-to-pre-l1-merge'
|| github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Biarritz RC1 to Pre-L1 Merge Migrate Test
env:
CELESTIA_LOG_LEVEL: FATAL
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-migrate-biarritz-rc1-to-pre-l1-merge -t=false"
# Indexer:
# strategy:
# matrix:
# include:
# - os: ubuntu-22.04
# arch: x86_64
# runs-on: buildjet-16vcpu-ubuntu-2204
#
# runs-on: ${{ matrix.runs-on }}
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
#
# - name: Install Nix
# uses: DeterminateSystems/nix-installer-action@main
#
# - name: Run Indexer tests in nix environment
# # adjust the log level while debugging
# run: CELESTIA_LOG_LEVEL=FATAL nix develop --command bash -c "just movement-full-node native build.celestia-local.indexer.hasura.indexer-test -t=false"