From acaafb51b80e669277dc0baff3289d09b5622db7 Mon Sep 17 00:00:00 2001 From: bap2pecs Date: Wed, 11 Dec 2024 15:10:13 +0800 Subject: [PATCH 1/4] fix: ChainType choices --- finality-provider/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finality-provider/config/config.go b/finality-provider/config/config.go index 6cdd267e..a54ce9d8 100644 --- a/finality-provider/config/config.go +++ b/finality-provider/config/config.go @@ -56,7 +56,7 @@ var ( type Config struct { LogLevel string `long:"loglevel" description:"Logging level for all subsystems" choice:"trace" choice:"debug" choice:"info" choice:"warn" choice:"error" choice:"fatal"` // ChainType and ChainID (if any) of the chain config identify a consumer chain - ChainType string `long:"chaintype" description:"the type of the consumer chain" choice:"babylon"` + ChainType string `long:"chaintype" description:"the type of the consumer chain" choice:"babylon" choice:"OPStackL2" choice:"wasm"` NumPubRand uint32 `long:"numPubRand" description:"The number of Schnorr public randomness for each commitment"` NumPubRandMax uint32 `long:"numpubrandmax" description:"The upper bound of the number of Schnorr public randomness for each commitment"` MinRandHeightGap uint32 `long:"minrandheightgap" description:"The minimum gap between the last committed rand height and the current Babylon block height"` From 910c1ef3914da7f9ee0017f53c5fc4d3874e8805 Mon Sep 17 00:00:00 2001 From: bap2pecs Date: Wed, 11 Dec 2024 15:14:06 +0800 Subject: [PATCH 2/4] trigger CI publish --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b9c7eea..60fb0d7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,4 +63,4 @@ jobs: uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0 secrets: inherit with: - publish: false + publish: true From 4300e1a9241dfcc2d118d8c41347437fa7646fb6 Mon Sep 17 00:00:00 2001 From: bap2pecs Date: Wed, 11 Dec 2024 15:15:02 +0800 Subject: [PATCH 3/4] skip all other CI --- .github/workflows/ci.yml | 96 ++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60fb0d7b..912fae7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,58 +6,58 @@ on: - '**' jobs: - lint_test: - uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0 - secrets: inherit - with: - go-version: '1.23' - go-lint-version: 'v1.60.2' - run-unit-tests: true - run-lint: true + # lint_test: + # uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0 + # secrets: inherit + # with: + # go-version: '1.23' + # go-lint-version: 'v1.60.2' + # run-unit-tests: true + # run-lint: true - e2e_babylon: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - name: Run e2e Babylon tests - run: make test-e2e-babylon + # e2e_babylon: + # runs-on: ubuntu-22.04 + # steps: + # - uses: actions/checkout@v3 + # - name: Set up Go + # uses: actions/setup-go@v4 + # with: + # go-version: '1.23' + # - name: Run e2e Babylon tests + # run: make test-e2e-babylon - e2e_wasmd: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - name: Run e2e Wasmd tests - run: make test-e2e-wasmd + # e2e_wasmd: + # runs-on: ubuntu-22.04 + # steps: + # - uses: actions/checkout@v3 + # - name: Set up Go + # uses: actions/setup-go@v4 + # with: + # go-version: '1.23' + # - name: Run e2e Wasmd tests + # run: make test-e2e-wasmd - e2e_bcd: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - name: Run e2e BCD tests - run: make test-e2e-bcd + # e2e_bcd: + # runs-on: ubuntu-22.04 + # steps: + # - uses: actions/checkout@v3 + # - name: Set up Go + # uses: actions/setup-go@v4 + # with: + # go-version: '1.23' + # - name: Run e2e BCD tests + # run: make test-e2e-bcd - e2e_op: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - name: Run e2e OP tests - run: make test-e2e-op + # e2e_op: + # runs-on: ubuntu-22.04 + # steps: + # - uses: actions/checkout@v3 + # - name: Set up Go + # uses: actions/setup-go@v4 + # with: + # go-version: '1.23' + # - name: Run e2e OP tests + # run: make test-e2e-op docker_pipeline: uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0 From 84ebfaa60bd4e32fc6d18135b79c2406efed65bb Mon Sep 17 00:00:00 2001 From: bap2pecs Date: Wed, 11 Dec 2024 15:28:49 +0800 Subject: [PATCH 4/4] revert CI changes --- .github/workflows/ci.yml | 98 ++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 912fae7b..8b9c7eea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,61 +6,61 @@ on: - '**' jobs: - # lint_test: - # uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0 - # secrets: inherit - # with: - # go-version: '1.23' - # go-lint-version: 'v1.60.2' - # run-unit-tests: true - # run-lint: true + lint_test: + uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.7.0 + secrets: inherit + with: + go-version: '1.23' + go-lint-version: 'v1.60.2' + run-unit-tests: true + run-lint: true - # e2e_babylon: - # runs-on: ubuntu-22.04 - # steps: - # - uses: actions/checkout@v3 - # - name: Set up Go - # uses: actions/setup-go@v4 - # with: - # go-version: '1.23' - # - name: Run e2e Babylon tests - # run: make test-e2e-babylon + e2e_babylon: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + - name: Run e2e Babylon tests + run: make test-e2e-babylon - # e2e_wasmd: - # runs-on: ubuntu-22.04 - # steps: - # - uses: actions/checkout@v3 - # - name: Set up Go - # uses: actions/setup-go@v4 - # with: - # go-version: '1.23' - # - name: Run e2e Wasmd tests - # run: make test-e2e-wasmd + e2e_wasmd: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + - name: Run e2e Wasmd tests + run: make test-e2e-wasmd - # e2e_bcd: - # runs-on: ubuntu-22.04 - # steps: - # - uses: actions/checkout@v3 - # - name: Set up Go - # uses: actions/setup-go@v4 - # with: - # go-version: '1.23' - # - name: Run e2e BCD tests - # run: make test-e2e-bcd + e2e_bcd: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + - name: Run e2e BCD tests + run: make test-e2e-bcd - # e2e_op: - # runs-on: ubuntu-22.04 - # steps: - # - uses: actions/checkout@v3 - # - name: Set up Go - # uses: actions/setup-go@v4 - # with: - # go-version: '1.23' - # - name: Run e2e OP tests - # run: make test-e2e-op + e2e_op: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + - name: Run e2e OP tests + run: make test-e2e-op docker_pipeline: uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0 secrets: inherit with: - publish: true + publish: false