From e3a5df6a9cd55c53b36465c844294abc75ce63a5 Mon Sep 17 00:00:00 2001 From: Uday Patil Date: Tue, 11 Jul 2023 13:32:34 -0500 Subject: [PATCH 1/4] update sei config in chains.yaml (#146) * update sei config in chains.yaml * simplify sei docker image config --- chains.yaml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/chains.yaml b/chains.yaml index fab59ae..c821601 100644 --- a/chains.yaml +++ b/chains.yaml @@ -44,7 +44,7 @@ # Build agd go build -v -mod=readonly -tags "$BUILD_TAGS" -ldflags "$COMMON_LDFLAGS" -o ../../bin/agd ./cmd/agd - + # Build nodejs swingset kernel npm install node-addon-api --legacy-peer-deps export CC_host=gcc CXX_host=g++ @@ -130,7 +130,7 @@ github-organization: ava-labs github-repo: avalanchego dockerfile: avalanche - build-target: + build-target: bash scripts/build.sh binaries: - build/avalanchego @@ -148,7 +148,7 @@ git clone -b v4.3.0 --single-branch https://github.com/axelarnetwork/axelar-cgp-solidity.git cd axelar-cgp-solidity # The npm commands will complain about nodejs versions but will proceed. - # See issue: https://github.com/strangelove-ventures/heighliner/issues/92 + # See issue: https://github.com/strangelove-ventures/heighliner/issues/92 npm ci npm run build npm run flatten @@ -220,7 +220,7 @@ - /go/bin/cyber build-env: - BUILD_TAGS=muslc - + # Carbon - name: carbon github-organization: Switcheo @@ -868,26 +868,13 @@ - name: sei github-organization: sei-protocol github-repo: sei-chain - dockerfile: cargo + dockerfile: cosmos build-target: | - set -eux - - # Build nitro - cd nitro-replayer - cargo build --release - cp target/${ARCH}-unknown-linux-gnu/release/libnitro_replayer.so ../x/nitro/replay/libnitro_replayer.${ARCH}.so - cd .. - - # Build seid - export GOOS=linux GOARCH=${TARGETARCH} make install binaries: - - /root/go/bin/seid - libraries: - - /build/sei-chain/x/nitro/replay/libnitro_replayer.${ARCH}.so - - /root/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v*/api/libwasmvm.${ARCH}.so - platforms: - - linux/amd64 + - /go/bin/seid + build-env: + - BUILD_TAGS=muslc # Sentinel - name: sentinel @@ -987,7 +974,7 @@ binaries: - /go/bin/terpd build-env: - - BUILD_TAGS=muslc + - BUILD_TAGS=muslc # Terra - name: terra From caf8ddc886bb8fd5665547d94af4284d86533c80 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Wed, 12 Jul 2023 15:42:34 -0700 Subject: [PATCH 2/4] add celestia (#149) * add celestia * Add build tags and we have a working build --- chains.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/chains.yaml b/chains.yaml index c821601..ed74c98 100644 --- a/chains.yaml +++ b/chains.yaml @@ -256,6 +256,17 @@ binaries: - /usr/local/bin/carbond +# Celestia +- name: celestia + github-organization: celestiaorg + github-repo: celestia-core + dockerfile: cosmos + build-target: make install + build-env: + - BUILD_TAGS=muslc,cometbft + binaries: + - /go/bin/cometbft + # Cerberus - name: cerberus github-organization: cerberus-zone From bac8dd2540b4085bcd859c6dacf190ebc1a17364 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 12 Jul 2023 17:34:49 -0600 Subject: [PATCH 3/4] update to celestia app (#150) --- chains.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chains.yaml b/chains.yaml index ed74c98..3b9f4b9 100644 --- a/chains.yaml +++ b/chains.yaml @@ -259,13 +259,11 @@ # Celestia - name: celestia github-organization: celestiaorg - github-repo: celestia-core + github-repo: celestia-app dockerfile: cosmos build-target: make install - build-env: - - BUILD_TAGS=muslc,cometbft binaries: - - /go/bin/cometbft + - /go/bin/celestia-appd # Cerberus - name: cerberus From 943bdae8943373ffa7d11dbf30efdaf6ec0a18f9 Mon Sep 17 00:00:00 2001 From: danb Date: Thu, 13 Jul 2023 18:17:21 -0400 Subject: [PATCH 4/4] yaml lint (#151) * yaml lint * removed go actions --- .github/workflows/pre-commit.yaml | 20 ++++++++++++++++++++ .pre-commit-config.yaml | 5 +++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/pre-commit.yaml create mode 100644 .pre-commit-config.yaml diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 0000000..9738f3a --- /dev/null +++ b/.github/workflows/pre-commit.yaml @@ -0,0 +1,20 @@ +name: pre-commit checks +on: + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + push: + branches: + - main +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pre-commit/action@v3.0.0 + - uses: pre-commit-ci/lite-action@v1.0.1 + # This will tell git to always run the pre-commit hook, even if the commit is a fast-forward + if: always() diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..2a906f3 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-yaml